Lines Matching defs:setifflags

139 static int	setifflags(char *arg, int64_t param);
245 { "up", IFF_UP, setifflags, 0, AF_ANY },
246 { "down", -IFF_UP, setifflags, 0, AF_ANY },
247 { "trailers", -IFF_NOTRAILERS, setifflags, 0, AF_ANY },
248 { "-trailers", IFF_NOTRAILERS, setifflags, 0, AF_ANY },
249 { "arp", -IFF_NOARP, setifflags, 0, AF_INET },
250 { "-arp", IFF_NOARP, setifflags, 0, AF_INET },
251 { "router", IFF_ROUTER, setifflags, 0, AF_ANY },
252 { "-router", -IFF_ROUTER, setifflags, 0, AF_ANY },
253 { "private", IFF_PRIVATE, setifflags, 0, AF_ANY },
254 { "-private", -IFF_PRIVATE, setifflags, 0, AF_ANY },
255 { "xmit", -IFF_NOXMIT, setifflags, 0, AF_ANY },
256 { "-xmit", IFF_NOXMIT, setifflags, 0, AF_ANY },
257 { "-nud", IFF_NONUD, setifflags, 0, AF_INET6 },
258 { "nud", -IFF_NONUD, setifflags, 0, AF_INET6 },
259 { "anycast", IFF_ANYCAST, setifflags, 0, AF_ANY },
260 { "-anycast", -IFF_ANYCAST, setifflags, 0, AF_ANY },
261 { "local", -IFF_NOLOCAL, setifflags, 0, AF_ANY },
262 { "-local", IFF_NOLOCAL, setifflags, 0, AF_ANY },
263 { "deprecated", IFF_DEPRECATED, setifflags, 0, AF_ANY },
264 { "-deprecated", -IFF_DEPRECATED, setifflags, 0, AF_ANY },
265 { "preferred", IFF_PREFERRED, setifflags, 0, AF_INET6 },
266 { "-preferred", -IFF_PREFERRED, setifflags, 0, AF_INET6 },
290 { "failover", -IFF_NOFAILOVER, setifflags, 1, AF_ANY },
291 { "-failover", IFF_NOFAILOVER, setifflags, 1, AF_ANY },
292 { "standby", IFF_STANDBY, setifflags, 1, AF_ANY },
293 { "-standby", -IFF_STANDBY, setifflags, 1, AF_ANY },
294 { "failed", IFF_FAILED, setifflags, 1, AF_ANY },
295 { "-failed", -IFF_FAILED, setifflags, 1, AF_ANY },
1487 setifflags(char *val, int64_t value)
1494 Perror0_exit("setifflags: SIOCGLIFFLAGS");
1550 Perror0_exit("setifflags: SIOCGLIFGROUPINFO");
1554 Perror0_exit("setifflags: SIOCGLIFFLAGS");
1558 Perror0_exit("setifflags: SIOCSLIFFLAGS");
1564 Perror0_exit("setifflags: SIOCSLIFFLAGS");
1569 Perror0_exit("setifflags: SIOCSLIFFLAGS IFF_UP");