Home
last modified time | relevance | path

Searched refs:ifm (Results 1 – 10 of 10) sorted by relevance

/external/qemu/slirp/
Dif.c16 #define ifs_init(ifm) ((ifm)->ifs_next = (ifm)->ifs_prev = (ifm)) argument
19 ifs_insque(struct mbuf *ifm, struct mbuf *ifmhead) in ifs_insque() argument
21 ifm->ifs_next = ifmhead->ifs_next; in ifs_insque()
22 ifmhead->ifs_next = ifm; in ifs_insque()
23 ifm->ifs_prev = ifmhead; in ifs_insque()
24 ifm->ifs_next->ifs_prev = ifm; in ifs_insque()
28 ifs_remque(struct mbuf *ifm) in ifs_remque() argument
30 ifm->ifs_prev->ifs_next = ifm->ifs_next; in ifs_remque()
31 ifm->ifs_next->ifs_prev = ifm->ifs_prev; in ifs_remque()
136 if_output(struct socket *so, struct mbuf *ifm) in if_output() argument
[all …]
Dif.h41 #define ifs_init(ifm) ((ifm)->ifs_next = (ifm)->ifs_prev = (ifm)) argument
/external/qemu/slirp-android/
Dif.c16 #define ifs_init(ifm) ((ifm)->ifs_next = (ifm)->ifs_prev = (ifm)) argument
19 ifs_insque(struct mbuf *ifm, struct mbuf *ifmhead) in ifs_insque() argument
21 ifm->ifs_next = ifmhead->ifs_next; in ifs_insque()
22 ifmhead->ifs_next = ifm; in ifs_insque()
23 ifm->ifs_prev = ifmhead; in ifs_insque()
24 ifm->ifs_next->ifs_prev = ifm; in ifs_insque()
28 ifs_remque(struct mbuf *ifm) in ifs_remque() argument
30 ifm->ifs_prev->ifs_next = ifm->ifs_next; in ifs_remque()
31 ifm->ifs_next->ifs_prev = ifm->ifs_prev; in ifs_remque()
136 if_output(struct socket *so, struct mbuf *ifm) in if_output() argument
[all …]
Dif.h41 #define ifs_init(ifm) ((ifm)->ifs_next = (ifm)->ifs_prev = (ifm)) argument
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/
Dl2_packet_freebsd.c166 struct if_msghdr *ifm; in eth_get() local
180 for (p = buf; p < buf + len; p += ifm->ifm_msglen) { in eth_get()
181 ifm = (struct if_msghdr *)p; in eth_get()
182 sdl = (struct sockaddr_dl *)(ifm + 1); in eth_get()
183 if (ifm->ifm_type != RTM_IFINFO || in eth_get()
184 (ifm->ifm_addrs & RTA_IFP) == 0) in eth_get()
/external/wpa_supplicant/
Dl2_packet_freebsd.c163 struct if_msghdr *ifm; in eth_get() local
177 for (p = buf; p < buf + len; p += ifm->ifm_msglen) { in eth_get()
178 ifm = (struct if_msghdr *)p; in eth_get()
179 sdl = (struct sockaddr_dl *)(ifm + 1); in eth_get()
180 if (ifm->ifm_type != RTM_IFINFO || in eth_get()
181 (ifm->ifm_addrs & RTA_IFP) == 0) in eth_get()
Ddriver_bsd.c462 struct if_msghdr *ifm; in wpa_driver_bsd_event_receive() local
535 ifm = (struct if_msghdr *) rtm; in wpa_driver_bsd_event_receive()
536 if (ifm->ifm_index != drv->ifindex) in wpa_driver_bsd_event_receive()
/external/dhcpcd/
Dif-bsd.c225 struct if_msghdr *ifm; in link_changed() local
246 ifm = (struct if_msghdr *)p; in link_changed()
247 if (ifm->ifm_index != i) in link_changed()
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_upnp.c881 struct if_msghdr *ifm; in eth_get() local
895 for (p = buf; p < buf + len; p += ifm->ifm_msglen) { in eth_get()
896 ifm = (struct if_msghdr *)p; in eth_get()
897 sdl = (struct sockaddr_dl *)(ifm + 1); in eth_get()
898 if (ifm->ifm_type != RTM_IFINFO || in eth_get()
899 (ifm->ifm_addrs & RTA_IFP) == 0) in eth_get()
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_bsd.c465 struct if_msghdr *ifm; in wpa_driver_bsd_event_receive() local
538 ifm = (struct if_msghdr *) rtm; in wpa_driver_bsd_event_receive()
539 if (ifm->ifm_index != drv->ifindex) in wpa_driver_bsd_event_receive()