Home
last modified time | relevance | path

Searched refs:interface_status (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/wpa/src/drivers/
H A Ddriver_bsd.c703 event.interface_status.ievent = EVENT_INTERFACE_ADDED; in bsd_route_overflow()
704 os_strlcpy(event.interface_status.ifname, ifa->ifa_name, in bsd_route_overflow()
705 sizeof(event.interface_status.ifname)); in bsd_route_overflow()
716 event.interface_status.ievent = EVENT_INTERFACE_REMOVED; in bsd_route_overflow()
717 os_strlcpy(event.interface_status.ifname, drv->ifname, in bsd_route_overflow()
718 sizeof(event.interface_status.ifname)); in bsd_route_overflow()
739 event.interface_status.ievent = EVENT_INTERFACE_REMOVED; in bsd_route_overflow()
740 os_strlcpy(event.interface_status.ifname, drv->ifname, in bsd_route_overflow()
741 sizeof(event.interface_status.ifname)); in bsd_route_overflow()
862 event.interface_status.ievent = EVENT_INTERFACE_REMOVED; in bsd_wireless_event_receive()
[all …]
H A Ddriver_privsep.c451 len - sizeof(int) > sizeof(data.interface_status.ifname)) in wpa_driver_privsep_event_interface_status()
457 data.interface_status.ievent = ievent; in wpa_driver_privsep_event_interface_status()
458 os_memcpy(data.interface_status.ifname, buf + sizeof(int), in wpa_driver_privsep_event_interface_status()
H A Ddriver_wext.c540 if (len > sizeof(event.interface_status.ifname)) in wpa_driver_wext_event_link()
541 len = sizeof(event.interface_status.ifname) - 1; in wpa_driver_wext_event_link()
542 os_memcpy(event.interface_status.ifname, buf, len); in wpa_driver_wext_event_link()
543 event.interface_status.ievent = del ? EVENT_INTERFACE_REMOVED : in wpa_driver_wext_event_link()
548 event.interface_status.ifname, in wpa_driver_wext_event_link()
551 if (os_strcmp(drv->ifname, event.interface_status.ifname) == 0) { in wpa_driver_wext_event_link()
H A Ddriver_ndis.c1669 os_strlcpy(event.interface_status.ifname, drv->ifname, in wpa_driver_ndis_event_adapter_arrival()
1670 sizeof(event.interface_status.ifname)); in wpa_driver_ndis_event_adapter_arrival()
1671 event.interface_status.ievent = EVENT_INTERFACE_ADDED; in wpa_driver_ndis_event_adapter_arrival()
1683 os_strlcpy(event.interface_status.ifname, drv->ifname, in wpa_driver_ndis_event_adapter_removal()
1684 sizeof(event.interface_status.ifname)); in wpa_driver_ndis_event_adapter_removal()
1685 event.interface_status.ievent = EVENT_INTERFACE_REMOVED; in wpa_driver_ndis_event_adapter_removal()
H A Ddriver.h6185 struct interface_status { struct
6191 } interface_status; member
H A Ddriver_nl80211.c1137 event.interface_status.ifindex = ifindex; in wpa_driver_nl80211_event_newlink()
1138 os_strlcpy(event.interface_status.ifname, ifname, in wpa_driver_nl80211_event_newlink()
1139 sizeof(event.interface_status.ifname)); in wpa_driver_nl80211_event_newlink()
1140 event.interface_status.ievent = EVENT_INTERFACE_ADDED; in wpa_driver_nl80211_event_newlink()
1170 event.interface_status.ifindex = ifindex; in wpa_driver_nl80211_event_dellink()
1171 os_strlcpy(event.interface_status.ifname, ifname, in wpa_driver_nl80211_event_dellink()
1172 sizeof(event.interface_status.ifname)); in wpa_driver_nl80211_event_dellink()
1173 event.interface_status.ievent = EVENT_INTERFACE_REMOVED; in wpa_driver_nl80211_event_dellink()
/freebsd/sbin/dhclient/
H A Ddispatch.c70 static int interface_status(struct interface_info *ifinfo);
278 if ((!interface_status(ip)) || in got_one()
304 interface_status(struct interface_info *ifinfo) in interface_status() function
/freebsd/contrib/wpa/wpa_supplicant/
H A Dwpa_priv.c996 ievent = data->interface_status.ievent; in wpa_priv_send_interface_status()
997 maxlen = sizeof(data->interface_status.ifname); in wpa_priv_send_interface_status()
998 ifname = data->interface_status.ifname; in wpa_priv_send_interface_status()
1119 if (os_strcmp(iface->ifname, data->interface_status.ifname) == in wpa_supplicant_event_global()
1127 if (ifindex != data->interface_status.ifindex) { in wpa_supplicant_event_global()
1131 data->interface_status.ifindex); in wpa_supplicant_event_global()
H A Devents.c4784 if (os_strcmp(wpa_s->ifname, data->interface_status.ifname) != 0) in wpa_supplicant_event_interface_status()
4787 switch (data->interface_status.ievent) { in wpa_supplicant_event_interface_status()
6943 wpa_s = wpa_supplicant_get_iface(ctx, data->interface_status.ifname); in wpa_supplicant_event_global()
6948 if (ifindex != data->interface_status.ifindex) { in wpa_supplicant_event_global()
6951 ifindex, data->interface_status.ifindex); in wpa_supplicant_event_global()
6956 else if (data->interface_status.ievent == EVENT_INTERFACE_ADDED) { in wpa_supplicant_event_global()
6960 ctx, data->interface_status.ifname); in wpa_supplicant_event_global()
/freebsd/usr.sbin/rtsold/
H A Drtsold.h177 extern int interface_status(struct ifinfo *);
H A Dif.c188 interface_status(struct ifinfo *ifinfo) in interface_status() function
H A Drtsold.c457 ifi->active = interface_status(ifi); in ifconfig()
598 ifi->active = interface_status(ifi); in rtsol_check_timer()
/freebsd/contrib/wpa/src/ap/
H A Ddrv_callbacks.c2781 hapd = hostapd_get_iface(interfaces, data->interface_status.ifname); in wpa_supplicant_event_global()
2787 if (ifindex != data->interface_status.ifindex) { in wpa_supplicant_event_global()
2790 ifindex, data->interface_status.ifindex); in wpa_supplicant_event_global()