Home
last modified time | relevance | path

Searched refs:ifm (Results 1 – 14 of 14) 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/wpa_supplicant_8/src/l2_packet/
Dl2_packet_freebsd.c196 struct if_msghdr *ifm; in eth_get()
210 for (p = buf; p < buf + len; p += ifm->ifm_msglen) { in eth_get()
211 ifm = (struct if_msghdr *)p; in eth_get()
212 sdl = (struct sockaddr_dl *)(ifm + 1); in eth_get()
213 if (ifm->ifm_type != RTM_IFINFO || in eth_get()
214 (ifm->ifm_addrs & RTA_IFP) == 0) in eth_get()
/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_8/src/wps/
Dwps_upnp.c848 struct if_msghdr *ifm; in eth_get() local
862 for (p = buf; p < buf + len; p += ifm->ifm_msglen) { in eth_get()
863 ifm = (struct if_msghdr *)p; in eth_get()
864 sdl = (struct sockaddr_dl *)(ifm + 1); in eth_get()
865 if (ifm->ifm_type != RTM_IFINFO || in eth_get()
866 (ifm->ifm_addrs & RTA_IFP) == 0) in eth_get()
/external/dhcpcd/
Dif-bsd.c315 struct if_msghdr *ifm; in manage_link() local
361 ifm = (struct if_msghdr *)(void *)p; in manage_link()
363 if (if_indextoname(ifm->ifm_index, ifname)) in manage_link()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c830 struct if_msghdr *ifm; in kernel_sync() local
853 for (end = buf + bufsiz; buf < end; buf += ifm->ifm_msglen) { in kernel_sync()
854 ifm = (struct if_msghdr *) buf; in kernel_sync()
/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()
/external/wpa_supplicant_8/src/drivers/
Ddriver_bsd.c1169 struct if_msghdr *ifm; in wpa_driver_bsd_event_receive() local
1273 ifm = (struct if_msghdr *) rtm; in wpa_driver_bsd_event_receive()
1274 if (ifm->ifm_index != drv->ifindex) in wpa_driver_bsd_event_receive()