Searched defs:if_index (Results 1 - 8 of 8) sorted by relevance
/external/toybox/toys/pending/ |
H A D | arping.c | 206 int if_index, recv_len; local 213 get_interface(TT.iface, &if_index, NULL, NULL); 214 src_pk.sll_ifindex = if_index;
|
/external/dnsmasq/src/ |
H A D | tftp.c | 50 int is_err = 1, if_index = 0, mtu = 0; local 103 if_index = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex; 111 if_index = *((unsigned int *)CMSG_DATA(cmptr)); 119 if_index = ((struct sockaddr_dl *)CMSG_DATA(cmptr))->sdl_index; 123 if (!indextoname(listen->tftpfd, if_index, name) || 125 !iface_check(AF_INET, (struct all_addr *)&addr.sin_addr, name, &if_index))
|
H A D | dhcp.c | 27 static int complete_context(struct in_addr local, int if_index, 367 static int complete_context(struct in_addr local, int if_index, argument 397 if (if_index == param->ind && context->current == context)
|
H A D | forward.c | 583 int if_index = 0; local 655 if_index = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex; 665 if_index = *((unsigned int *)CMSG_DATA(cmptr)); 667 if_index = ((struct sockaddr_dl *)CMSG_DATA(cmptr))->sdl_index; 679 if_index =((struct in6_pktinfo *)CMSG_DATA(cmptr))->ipi6_ifindex; 686 if (!indextoname(listen->fd, if_index, ifr.ifr_name) || 687 !iface_check(listen->family, &dst_addr, ifr.ifr_name, &if_index)) 719 m, &source_addr, &dst_addr, if_index); 722 else if (forward_query(listen->fd, &source_addr, &dst_addr, if_index,
|
H A D | network.c | 122 static int iface_allowed(struct irec **irecp, int if_index, argument 138 !indextoname(fd, if_index, ifr.ifr_name) || 213 int scope, int if_index, void *vparam) 237 return iface_allowed((struct irec **)vparam, if_index, &addr, netmask); 241 static int iface_allowed_v4(struct in_addr local, int if_index, argument 255 return iface_allowed((struct irec **)vparam, if_index, &addr, netmask); 212 iface_allowed_v6(struct in6_addr *local, int scope, int if_index, void *vparam) argument
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | vlan_full.c | 137 int if_index; local 146 if_index = if_nametoindex(if_name); 148 if (if_index == 0) { 157 args[1] = if_index; 188 int if_index; local 197 if_index = if_nametoindex(if_name); 199 if (if_index == 0) { 208 args[1] = if_index;
|
/external/wpa_supplicant_8/src/ap/ |
H A D | vlan_full.c | 137 int if_index; local 146 if_index = if_nametoindex(if_name); 148 if (if_index == 0) { 157 args[1] = if_index; 188 int if_index; local 197 if_index = if_nametoindex(if_name); 199 if (if_index == 0) { 208 args[1] = if_index;
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | vlan_full.c | 137 int if_index; local 146 if_index = if_nametoindex(if_name); 148 if (if_index == 0) { 157 args[1] = if_index; 188 int if_index; local 197 if_index = if_nametoindex(if_name); 199 if (if_index == 0) { 208 args[1] = if_index;
|
Completed in 133 milliseconds