Lines Matching refs:arg
417 int action_a2n(char *arg, int *result)
421 if (matches(arg, "continue") == 0)
423 else if (matches(arg, "drop") == 0)
425 else if (matches(arg, "shot") == 0)
427 else if (matches(arg, "pass") == 0)
429 else if (strcmp(arg, "ok") == 0)
431 else if (matches(arg, "reclassify") == 0)
435 if (sscanf(arg, "%d%c", &res, &dummy) != 1)
442 int get_linklayer(unsigned *val, const char *arg)
446 if (matches(arg, "ethernet") == 0)
448 else if (matches(arg, "atm") == 0)
450 else if (matches(arg, "adsl") == 0)