Searched refs:IFA_LOCAL (Results 1 – 15 of 15) sorted by relevance
/external/strace/xlat/ |
D | rtnl_addr_attrs.h | 20 #if defined(IFA_LOCAL) || (defined(HAVE_DECL_IFA_LOCAL) && HAVE_DECL_IFA_LOCAL) 22 static_assert((IFA_LOCAL) == (2), "IFA_LOCAL != 2"); 25 # define IFA_LOCAL 2 89 XLAT(IFA_LOCAL),
|
D | rtnl_addr_attrs.in | 3 IFA_LOCAL 2
|
/external/iputils/ninfod/ |
D | ni_ifaddrs.c | 101 #ifndef IFA_LOCAL 356 #ifndef IFA_LOCAL in ni_ifaddrs() 395 #ifndef IFA_LOCAL in ni_ifaddrs() 445 #ifndef IFA_LOCAL in ni_ifaddrs() 450 case IFA_LOCAL: in ni_ifaddrs() 463 case IFA_LOCAL: in ni_ifaddrs() 485 #ifndef IFA_LOCAL in ni_ifaddrs()
|
/external/ipsec-tools/src/racoon/ |
D | grabmyaddr.c | 184 if (rta_tb[IFA_LOCAL] == NULL) in recvaddrs() 185 rta_tb[IFA_LOCAL] = rta_tb[IFA_ADDRESS]; in recvaddrs() 186 if (rta_tb[IFA_LOCAL] == NULL) in recvaddrs() 199 memcpy(&sin->sin_addr, RTA_DATA(rta_tb[IFA_LOCAL]), 4); in recvaddrs() 202 memcpy(&sin->sin6_addr, RTA_DATA(rta_tb[IFA_LOCAL]), 16); in recvaddrs()
|
/external/libnl/include/linux-private/linux/ |
D | if_addr.h | 28 IFA_LOCAL, enumerator
|
/external/iproute2/ip/ |
D | ipaddress.c | 1504 if (!rta_tb[IFA_LOCAL]) in print_addrinfo() 1505 rta_tb[IFA_LOCAL] = rta_tb[IFA_ADDRESS]; in print_addrinfo() 1507 rta_tb[IFA_ADDRESS] = rta_tb[IFA_LOCAL]; in print_addrinfo() 1527 if (rta_tb[IFA_LOCAL]) { in print_addrinfo() 1530 memcpy(&dst.data, RTA_DATA(rta_tb[IFA_LOCAL]), RTA_PAYLOAD(rta_tb[IFA_LOCAL])); in print_addrinfo() 1589 if (rta_tb[IFA_LOCAL]) { in print_addrinfo() 1594 rta_tb[IFA_LOCAL])); in print_addrinfo() 1597 RTA_DATA(rta_tb[IFA_LOCAL]), in print_addrinfo() 1897 if (!tb[IFA_LOCAL]) in ipaddr_filter() 1898 tb[IFA_LOCAL] = tb[IFA_ADDRESS]; in ipaddr_filter() [all …]
|
/external/iproute2/include/uapi/linux/ |
D | if_addr.h | 29 IFA_LOCAL, enumerator
|
/external/kernel-headers/original/uapi/linux/ |
D | if_addr.h | 29 IFA_LOCAL, enumerator
|
/external/strace/ |
D | rtnl_addr.c | 97 [IFA_LOCAL] = decode_ifa_address,
|
/external/android-clat/ |
D | getaddr.c | 68 case IFA_LOCAL: in getaddr_cb()
|
D | setif.c | 72 if (nla_put(msg, IFA_LOCAL, addr_size, address) < 0) { in add_address()
|
/external/libnl/lib/route/ |
D | addr.c | 244 if (tb[IFA_LOCAL]) { in addr_msg_parser() 245 addr->a_local = nl_addr_alloc_attr(tb[IFA_LOCAL], family); in addr_msg_parser() 262 if (!tb[IFA_LOCAL] || !nl_addr_cmp(a, addr->a_local)) { in addr_msg_parser() 579 NLA_PUT_ADDR(msg, IFA_LOCAL, tmpl->a_local); in build_addr_msg()
|
/external/toybox/toys/pending/ |
D | ip.c | 1015 if (!rta_tb[IFA_LOCAL]) rta_tb[IFA_LOCAL] = rta_tb[IFA_ADDRESS]; in print_addrinfo() 1016 if (!rta_tb[IFA_ADDRESS]) rta_tb[IFA_ADDRESS] = rta_tb[IFA_LOCAL]; in print_addrinfo() 1050 if (rta_tb[IFA_LOCAL]) { in print_addrinfo() 1051 if (!inet_ntop(ifa->ifa_family, RTA_DATA(rta_tb[IFA_LOCAL]), in print_addrinfo() 1056 RTA_DATA(rta_tb[IFA_LOCAL]), 4)) in print_addrinfo() 1217 IFA_LOCAL, &local.data, local.bytelen); in ipaddrupdate() 1418 if (!rta_tb[IFA_LOCAL]) rta_tb[IFA_LOCAL] = rta_tb[IFA_ADDRESS]; in ipaddr_print() 1419 if (rta_tb[IFA_LOCAL]) { in ipaddr_print() 1420 if (!inet_ntop(TT.addressfamily, RTA_DATA(rta_tb[IFA_LOCAL]), in ipaddr_print()
|
/external/dnsmasq/src/ |
D | netlink.c | 185 if (rta->rta_type == IFA_LOCAL) in iface_enumerate()
|
/external/rust/crates/libc/src/unix/linux_like/linux/ |
D | mod.rs | 1104 pub const IFA_LOCAL: ::c_ushort = 2; constant
|