/external/qemu/slirp-android/ |
D | if.c | 16 #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 …]
|
D | if.h | 41 #define ifs_init(ifm) ((ifm)->ifs_next = (ifm)->ifs_prev = (ifm)) argument
|
/external/qemu/slirp/ |
D | if.c | 16 #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 …]
|
D | if.h | 41 #define ifs_init(ifm) ((ifm)->ifs_next = (ifm)->ifs_prev = (ifm)) argument
|
/external/libppp/src/ |
D | arp.c | 235 struct if_msghdr *ifm; in arp_EtherAddr() local 264 ifm = (struct if_msghdr *)ptr; /* On if_msghdr */ in arp_EtherAddr() 265 if (ifm->ifm_type != RTM_IFINFO) in arp_EtherAddr() 267 dl = (struct sockaddr_dl *)(ifm + 1); /* Single _dl at end */ in arp_EtherAddr() 268 skip = (ifm->ifm_flags & (IFF_UP | IFF_BROADCAST | IFF_POINTOPOINT | in arp_EtherAddr() 270 ptr += ifm->ifm_msglen; /* First ifa_msghdr */ in arp_EtherAddr() 281 ptr == (char *)ifm + ifm->ifm_msglen + ifam->ifam_msglen) in arp_EtherAddr()
|
D | route.c | 221 struct if_msghdr *ifm; in Index2Nam() local 251 for (ptr = buf; ptr < end; ptr += ifm->ifm_msglen) { in Index2Nam() 252 ifm = (struct if_msghdr *)ptr; in Index2Nam() 253 if (ifm->ifm_type != RTM_IFINFO) in Index2Nam() 255 dl = (struct sockaddr_dl *)(ifm + 1); in Index2Nam() 256 if (ifm->ifm_index > 0) { in Index2Nam() 257 if (ifm->ifm_index > have) { in Index2Nam() 261 have = ifm->ifm_index + 5; in Index2Nam() 279 if (ifs[ifm->ifm_index-1] == NULL) { in Index2Nam() 280 ifs[ifm->ifm_index-1] = (char *)malloc(dl->sdl_nlen+1); in Index2Nam() [all …]
|
D | iface.c | 97 struct if_msghdr *ifm; in iface_Create() local 143 ifm = (struct if_msghdr *)ptr; /* On if_msghdr */ in iface_Create() 144 if (ifm->ifm_type != RTM_IFINFO) in iface_Create() 146 dl = (struct sockaddr_dl *)(ifm + 1); /* Single _dl at end */ in iface_Create() 154 iface->index = ifm->ifm_index; in iface_Create() 155 iface->flags = ifm->ifm_flags; in iface_Create() 160 ptr += ifm->ifm_msglen; /* First ifa_msghdr */ in iface_Create()
|
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
D | l2_packet_freebsd.c | 166 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_8/src/l2_packet/ |
D | l2_packet_freebsd.c | 190 struct if_msghdr *ifm; in eth_get() 204 for (p = buf; p < buf + len; p += ifm->ifm_msglen) { in eth_get() 205 ifm = (struct if_msghdr *)p; in eth_get() 206 sdl = (struct sockaddr_dl *)(ifm + 1); in eth_get() 207 if (ifm->ifm_type != RTM_IFINFO || in eth_get() 208 (ifm->ifm_addrs & RTA_IFP) == 0) in eth_get()
|
/external/dhcpcd/ |
D | if-bsd.c | 319 struct if_msghdr *ifm; in manage_link() local 365 ifm = (struct if_msghdr *)(void *)p; in manage_link() 367 if (!(if_indextoname(ifm->ifm_index, ifname))) in manage_link() 369 switch (ifm->ifm_data.ifi_link_state) { in manage_link() 387 handle_carrier(len, ifm->ifm_flags, ifname); in manage_link()
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
D | wps_upnp.c | 881 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/ |
D | wps_upnp.c | 853 struct if_msghdr *ifm; in eth_get() local 867 for (p = buf; p < buf + len; p += ifm->ifm_msglen) { in eth_get() 868 ifm = (struct if_msghdr *)p; in eth_get() 869 sdl = (struct sockaddr_dl *)(ifm + 1); in eth_get() 870 if (ifm->ifm_type != RTM_IFINFO || in eth_get() 871 (ifm->ifm_addrs & RTA_IFP) == 0) in eth_get()
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
D | driver_bsd.c | 465 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/ |
D | driver_bsd.c | 1163 struct if_msghdr *ifm; in wpa_driver_bsd_event_receive() local 1267 ifm = (struct if_msghdr *) rtm; in wpa_driver_bsd_event_receive() 1268 if (ifm->ifm_index != drv->ifindex) in wpa_driver_bsd_event_receive()
|