Searched refs:ifan (Results 1 - 7 of 7) sorted by relevance

/netbsd-current/usr.sbin/rtadvd/
H A Dif.c338 const struct if_announcemsghdr *ifan = buf; local
340 return ifan->ifan_index;
346 const struct if_announcemsghdr *ifan = buf; local
348 return (int)ifan->ifan_what;
/netbsd-current/usr.sbin/ifwatchd/
H A Difwatchd.c69 static void check_announce(const struct if_announcemsghdr *ifan);
522 check_announce(const struct if_announcemsghdr *ifan) argument
525 const char *ifname = ifan->ifan_name;
531 do_announce(p, ifan->ifan_what, ifan->ifan_index);
/netbsd-current/external/bsd/wpa/dist/src/drivers/
H A Ddriver_bsd.c726 struct if_announcemsghdr *ifan; local
756 ifan = (struct if_announcemsghdr *) rtm;
757 drv = bsd_get_drvindex(global, ifan->ifan_index);
760 switch (ifan->ifan_what) {
779 leave = (struct ieee80211_leave_event *) &ifan[1];
786 join = (struct ieee80211_join_event *) &ifan[1];
793 mic = (struct ieee80211_michael_event *) &ifan[1];
808 ifan = (struct if_announcemsghdr *) rtm;
809 switch (ifan->ifan_what) {
811 drv = bsd_get_drvindex(global, ifan
[all...]
/netbsd-current/sbin/route/
H A Droute.c1346 struct if_announcemsghdr *ifan; local
1403 ifan = (struct if_announcemsghdr *)rtm;
1404 (void)printf("if# %d, what: ", ifan->ifan_index);
1405 switch (ifan->ifan_what) {
1436 printf("#%d", ifan->ifan_what);
1439 if (sizeof(*ifan) + evlen > ifan->ifan_msglen) {
1443 (void)memcpy(&ev, (ifan + 1), evlen);
1444 switch (ifan->ifan_what) {
1458 if (ifan
[all...]
/netbsd-current/sys/net/
H A Drtsock_shared.c1593 struct if_xannouncemsghdr ifan; local
1596 memset(&ifan, 0, sizeof(ifan));
1597 ifan.ifan_index = ifp->if_index;
1598 strlcpy(ifan.ifan_name, ifp->if_xname, sizeof(ifan.ifan_name));
1599 ifan.ifan_what = what;
1600 return COMPATNAME(rt_msg1)(type, info, &ifan, sizeof(ifan));
/netbsd-current/external/bsd/dhcpcd/dist/src/
H A Dif-bsd.c1226 if_announce(struct dhcpcd_ctx *ctx, const struct if_announcemsghdr *ifan) argument
1229 if (ifan->ifan_msglen < sizeof(*ifan)) {
1234 switch(ifan->ifan_what) {
1236 return dhcpcd_handleinterface(ctx, 1, ifan->ifan_name);
1238 return dhcpcd_handleinterface(ctx, -1, ifan->ifan_name);
/netbsd-current/sbin/ifconfig/
H A Dieee80211.c750 struct if_announcemsghdr *ifan; local
761 ifan = (struct if_announcemsghdr *) rtm;
763 ifan->ifan_what != RTM_IEEE80211_SCAN);

Completed in 123 milliseconds