Home | History | Annotate | Download | only in ip

Lines Matching refs:arg

55 int nud_state_a2n(unsigned *state, char *arg)
57 if (matches(arg, "permanent") == 0)
59 else if (matches(arg, "reachable") == 0)
61 else if (strcmp(arg, "noarp") == 0)
63 else if (strcmp(arg, "none") == 0)
65 else if (strcmp(arg, "stale") == 0)
67 else if (strcmp(arg, "incomplete") == 0)
69 else if (strcmp(arg, "delay") == 0)
71 else if (strcmp(arg, "probe") == 0)
73 else if (matches(arg, "failed") == 0)
76 if (get_unsigned(state, arg, 0))
184 int print_neigh(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
186 FILE *fp = (FILE*)arg;