HomeSort by relevance Sort by last modified time
    Searched defs:if_index (Results 1 - 7 of 7) sorted by null

  /external/dnsmasq/src/
forward.c 571 int if_index = 0; local
643 if_index = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex;
653 if_index = *((unsigned int *)CMSG_DATA(cmptr));
655 if_index = ((struct sockaddr_dl *)CMSG_DATA(cmptr))->sdl_index;
667 if_index =((struct in6_pktinfo *)CMSG_DATA(cmptr))->ipi6_ifindex;
674 if (!indextoname(listen->fd, if_index, ifr.ifr_name) ||
675 !iface_check(listen->family, &dst_addr, ifr.ifr_name, &if_index))
707 m, &source_addr, &dst_addr, if_index);
710 else if (forward_query(listen->fd, &source_addr, &dst_addr, if_index,
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))
  /external/wpa_supplicant_8/src/ap/
vlan_init.c 116 int if_index; local
125 if_index = if_nametoindex(if_name);
127 if (if_index == 0) {
136 args[1] = if_index;
167 int if_index; local
176 if_index = if_nametoindex(if_name);
178 if (if_index == 0) {
187 args[1] = if_index;
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/net/
if.h 36 unsigned int if_index; /* 1, 2, ... */ member in struct:if_nameindex
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/net/
if.h 36 unsigned int if_index; /* 1, 2, ... */ member in struct:if_nameindex
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/net/
if.h 36 unsigned int if_index; /* 1, 2, ... */ member in struct:if_nameindex
  /system/core/libnetutils/
dhcpclient.c 342 static int send_message(int sock, int if_index, dhcp_msg *msg, int size)
347 return send_packet(sock, if_index, msg, size, INADDR_ANY, INADDR_BROADCAST,
401 int if_index; local
408 if (ifc_get_ifindex(ifname, &if_index)) {
412 s = open_raw_socket(ifname, hwaddr, if_index);
457 r = send_message(s, if_index, msg, size);

Completed in 171 milliseconds