Searched refs:ifindex (Results 1 – 10 of 10) sorted by relevance
/external/bluez/utils/network/ |
D | bridge.c | 113 int ifindex = if_nametoindex(dev); in bridge_add_interface() local 119 if (ifindex == 0) in bridge_add_interface() 124 ifr.ifr_ifindex = ifindex; in bridge_add_interface()
|
/external/libpcap/ |
D | pcap-linux.c | 210 static int iface_bind(int fd, int ifindex, char *ebuf); 541 if (handle->md.ifindex != -1 && in pcap_read_packet() 542 from.sll_ifindex != handle->md.ifindex) in pcap_read_packet() 750 if (handle->md.ifindex == -1) { in pcap_inject_linux() 1514 handle->md.ifindex = iface_get_id(sock_fd, device, ebuf); in live_open_new() 1515 if (handle->md.ifindex == -1) in live_open_new() 1518 if ((err = iface_bind(sock_fd, handle->md.ifindex, in live_open_new() 1540 handle->md.ifindex = -1; in live_open_new() 1564 mr.mr_ifindex = handle->md.ifindex; in live_open_new() 1629 iface_bind(int fd, int ifindex, char *ebuf) in iface_bind() argument [all …]
|
D | pcap-int.h | 101 int ifindex; /* interface index of device we're bound to */ member
|
/external/wpa_supplicant/ |
D | l2_packet_linux.c | 28 int ifindex; member 59 ll.sll_ifindex = l2->ifindex; in l2_packet_send() 125 l2->ifindex = ifr.ifr_ifindex; in l2_packet_init()
|
D | driver_bsd.c | 36 unsigned int ifindex; /* interface index */ member 485 if (ifan->ifan_index != drv->ifindex) in wpa_driver_bsd_event_receive() 503 if (ifan->ifan_index != drv->ifindex) in wpa_driver_bsd_event_receive() 536 if (ifm->ifm_index != drv->ifindex) in wpa_driver_bsd_event_receive() 697 drv->ifindex = if_nametoindex(ifname); in wpa_driver_bsd_init() 698 if (drv->ifindex == 0) { in wpa_driver_bsd_init()
|
D | driver_wext.c | 63 int ifindex; member 111 req.ifinfo.ifi_index = drv->ifindex; in wpa_driver_wext_send_oper_ifla() 710 int ifindex, struct nlmsghdr *h) in wpa_driver_wext_own_ifindex() argument 712 if (drv->ifindex == ifindex || drv->ifindex2 == ifindex) in wpa_driver_wext_own_ifindex() 716 drv->ifindex = if_nametoindex(drv->ifname); in wpa_driver_wext_own_ifindex() 1020 drv->ifindex = if_nametoindex(drv->ifname); in wpa_driver_wext_finish_drv_init() 2326 int flags, ifindex, s, *i; in wpa_driver_wext_open_mlme() local 2342 ifindex = if_nametoindex(drv->mlmedev); in wpa_driver_wext_open_mlme() 2343 if (ifindex == 0) { in wpa_driver_wext_open_mlme() 2365 addr.sll_ifindex = ifindex; in wpa_driver_wext_open_mlme()
|
D | ChangeLog | 457 * fixed driver_wext.c to filter wireless events based on ifindex to
|
/external/dhcpcd/ |
D | if-linux.c | 325 unsigned int ifindex; in if_route() local 329 if (!(ifindex = if_nametoindex(ifname))) { in if_route() 372 add_attr_32(&nlm->hdr, sizeof(*nlm), RTA_OIF, ifindex); in if_route()
|
/external/tcpdump/missing/ |
D | getnameinfo.c | 232 unsigned int ifindex = local 236 if ((if_indextoname(ifindex, ep + 1)) == NULL)
|
/external/ipsec-tools/src/racoon/ |
D | sockmisc.c | 565 int ifindex; local 572 ifindex = 0; 575 ifindex = src6.sin6_scope_id; /*???*/ 601 pi->ipi6_ifindex = ifindex; 637 int ifindex = 0; local 661 pi->ipi_ifindex = ifindex;
|