/external/chromium_org/third_party/libjingle/source/talk/base/ |
ifaddrs-android.cc | 52 int set_ifname(struct ifaddrs* ifaddr, int interface) { 58 ifaddr->ifa_name = new char[strlen(name) + 1]; 59 strncpy(ifaddr->ifa_name, name, strlen(name) + 1); 63 int set_flags(struct ifaddrs* ifaddr) { 70 strncpy(ifr.ifr_name, ifaddr->ifa_name, IFNAMSIZ - 1); 76 ifaddr->ifa_flags = ifr.ifr_flags; 80 int set_addresses(struct ifaddrs* ifaddr, ifaddrmsg* msg, void* data, 86 ifaddr->ifa_addr = reinterpret_cast<sockaddr*>(sa); 92 ifaddr->ifa_addr = reinterpret_cast<sockaddr*>(sa); 99 int make_prefixes(struct ifaddrs* ifaddr, int family, int prefixlen) [all...] |
/external/chromium/net/base/ |
net_util_posix.cc | 63 ifaddrs *ifaddr; local 64 if (getifaddrs(&ifaddr) < 0) { 69 for (ifaddrs *ifa = ifaddr; ifa != NULL; ifa = ifa->ifa_next) { 82 freeifaddrs(ifaddr);
|
/system/core/include/sysutils/ |
NetlinkEvent.h | 52 bool parseIfAddrMessage(int type, struct ifaddrmsg *ifaddr, int rtasize);
|
/system/core/libsysutils/src/ |
NetlinkEvent.cpp | 81 bool NetlinkEvent::parseIfAddrMessage(int type, struct ifaddrmsg *ifaddr, 96 for (rta = IFA_RTA(ifaddr); RTA_OK(rta, rtasize); 107 if (ifaddr->ifa_family == AF_INET) { 115 } else if (ifaddr->ifa_family == AF_INET6) { 124 SLOGE("Unknown address family %d\n", ifaddr->ifa_family); 130 if (!if_indextoname(ifaddr->ifa_index, ifname)) { 131 SLOGE("Unknown ifindex %d in %s", ifaddr->ifa_index, msgtype); 140 ifaddr->ifa_prefixlen); 142 asprintf(&mParams[2], "FLAGS=%u", ifaddr->ifa_flags); 143 asprintf(&mParams[3], "SCOPE=%u", ifaddr->ifa_scope) [all...] |
/external/iputils/ninfod/ |
ninfod_addrs.c | 136 int filter_ipv6addr(const struct in6_addr *ifaddr, unsigned int flags) 138 if (IN6_IS_ADDR_UNSPECIFIED(ifaddr) || 139 IN6_IS_ADDR_LOOPBACK(ifaddr)) { 141 } else if (IN6_IS_ADDR_V4COMPAT(ifaddr) || 142 IN6_IS_ADDR_V4MAPPED(ifaddr)) { 144 } else if (IN6_IS_ADDR_LINKLOCAL(ifaddr)) { 146 } else if (IN6_IS_ADDR_SITELOCAL(ifaddr)) { 316 int filter_ipv4addr(const struct in_addr *ifaddr, unsigned int flags)
|
/external/ipsec-tools/src/racoon/ |
grabmyaddr.c | 552 suitable_ifaddr(ifname, ifaddr) 554 const struct sockaddr *ifaddr; 558 if (exclude_cfg_addr(ifaddr) == 0) 561 switch(ifaddr->sa_family) { 566 return suitable_ifaddr6(ifname, ifaddr); 576 suitable_ifaddr6(ifname, ifaddr) 578 const struct sockaddr *ifaddr; 585 if (ifaddr->sa_family != AF_INET6) 599 ifr6.ifr_addr = *(const struct sockaddr_in6 *)ifaddr;
|
/external/iputils/ |
rarpd.c | 55 struct ifaddr *ifa_list; 58 struct ifaddr struct 60 struct ifaddr *next; 92 struct ifaddr *ifa; 183 ifa = (struct ifaddr*)malloc(sizeof(*ifa)); 239 struct ifaddr *select_ipaddr(int ifindex, __u32 *sel_addr, __u32 **alist) 242 struct ifaddr *ifa; 298 struct ifaddr *ifa; 367 struct ifaddr *ifa;
|
/external/chromium_org/chrome/browser/extensions/api/music_manager_private/ |
device_id_linux.cc | 99 bool ProcessInterface(struct ifaddrs *ifaddr, 106 strncpy(ifinfo.ifr_name, ifaddr->ifa_name, sizeof(ifinfo.ifr_name) - 1);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/net/ |
if.h | 84 /* The ifaddr structure contains information about one address of an 89 struct ifaddr struct 98 struct ifaddr *ifa_next; /* Next address for interface. */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/net/ |
if.h | 84 /* The ifaddr structure contains information about one address of an 89 struct ifaddr struct 98 struct ifaddr *ifa_next; /* Next address for interface. */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/net/ |
if.h | 84 /* The ifaddr structure contains information about one address of an 89 struct ifaddr struct 98 struct ifaddr *ifa_next; /* Next address for interface. */
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/ |
p2p.h | 162 uint8 ifaddr[1][6]; /* P2P Interface Address list */ member in struct:wifi_p2p_intf_se_s 276 uint8 ifaddr[ETHER_ADDR_LEN]; /* P2P Interface Address */ member in struct:wifi_p2p_cid_fixed_s
|
/bionic/libc/netbsd/resolv/ |
res_cache.c | 1247 struct in_addr ifaddr; member in struct:resolv_cache_info [all...] |
/external/chromium_org/third_party/npapi/npspy/extern/nspr/ |
prio.h | 250 PRNetAddr ifaddr; /* local IP address of interface */ member in struct:PRMcastRequest [all...] |