Home
last modified time | relevance | path

Searched refs:ifaddrmsg (Results 1 – 19 of 19) sorted by relevance

/external/webrtc/webrtc/base/
Difaddrs-android.cc30 ifaddrmsg msg;
67 int set_addresses(struct ifaddrs* ifaddr, ifaddrmsg* msg, void* data, in set_addresses()
118 int populate_ifaddrs(struct ifaddrs* ifaddr, ifaddrmsg* msg, void* bytes, in populate_ifaddrs()
145 ifaddr_request.header.nlmsg_len = NLMSG_LENGTH(sizeof(ifaddrmsg)); in getifaddrs()
172 ifaddrmsg* address_msg = in getifaddrs()
173 reinterpret_cast<ifaddrmsg*>(NLMSG_DATA(header)); in getifaddrs()
/external/iproute2/include/linux/
Dif_addr.h7 struct ifaddrmsg { struct
64 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
65 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
/external/kernel-headers/original/uapi/linux/
Dif_addr.h7 struct ifaddrmsg { struct
65 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
66 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
/external/android-clat/
Dgetaddr.c46 struct ifaddrmsg *ifa_p; in getaddr_cb()
51 ifa_p = (struct ifaddrmsg *)nlmsg_data(nlmsg_hdr(msg)); in getaddr_cb()
101 struct ifaddrmsg ifa; in getinterface_ip()
Dnetlink_msg.h22 struct nl_msg *nlmsg_alloc_ifaddr(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa);
26 void send_ifaddrmsg(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa, struct nl_cb *callbacks);
Dnetlink_msg.c83 struct nl_msg *nlmsg_alloc_ifaddr(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa) { in nlmsg_alloc_ifaddr()
157 void send_ifaddrmsg(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa, struct nl_cb *callbacks) { in send_ifaddrmsg()
Dsetif.c42 struct ifaddrmsg ifa; in add_address()
/external/libnl/include/linux-private/linux/
Dif_addr.h7 struct ifaddrmsg { struct
/external/iproute2/include/
Dlibnetlink.h162 ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
165 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
/external/dnsmasq/src/
Dnetlink.c28 ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
188 struct ifaddrmsg *ifa = NLMSG_DATA(h); in iface_enumerate()
/external/iputils/ninfod/
Dni_ifaddrs.c386 struct ifaddrmsg *ifam = NULL; in ni_ifaddrs()
407 ifam = (struct ifaddrmsg *) NLMSG_DATA(nlh); in ni_ifaddrs()
/external/iproute2/ip/
Dipaddress.c934 static unsigned int get_ifa_flags(struct ifaddrmsg *ifa, in get_ifa_flags()
945 struct ifaddrmsg *ifa = NLMSG_DATA(n); in print_addrinfo()
1178 struct ifaddrmsg *ifa = NLMSG_DATA(n); in print_selected_addrinfo()
1283 struct ifaddrmsg *ifa = NLMSG_DATA(n); in show_handler()
1346 struct ifaddrmsg *ifa = NLMSG_DATA(n); in ipaddr_filter()
1763 struct ifaddrmsg ifa; in ipaddr_modify()
1785 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifaddrmsg)); in ipaddr_modify()
/external/libnl/lib/route/
Daddr.c200 struct ifaddrmsg *ifa; in addr_msg_parser()
552 struct ifaddrmsg am = { in build_addr_msg()
1113 .co_hdrsize = sizeof(struct ifaddrmsg),
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c224 struct ifaddrmsg *ifa = NLMSG_DATA(h); in find_interface()
/external/dhcpcd-6.8.2/
Dif-linux.c583 struct ifaddrmsg *ifa; in link_addr()
1113 struct ifaddrmsg ifa;
1294 nlm.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifaddrmsg)); in if_address()
1445 nlm.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifaddrmsg)); in if_address6()
/external/webrtc/webrtc/test/channel_transport/
Dudp_transport_impl.cc2486 struct ifaddrmsg r; in LocalHostAddressIPV6()
2493 struct ifaddrmsg* rtmp; in LocalHostAddressIPV6()
2515 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifaddrmsg)); in LocalHostAddressIPV6()
2559 rtmp = (struct ifaddrmsg*)NLMSG_DATA(nlmp); in LocalHostAddressIPV6()
/external/mdnsresponder/mDNSPosix/
DmDNSPosix.c1048 struct ifaddrmsg *pIfAddr = (struct ifaddrmsg*) NLMSG_DATA(pNLMsg); in PrintNetLinkMsg()
1101 result |= 1 << ((struct ifaddrmsg*) NLMSG_DATA(pNLMsg))->ifa_index; in ProcessRoutingNotification()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c132 struct ifaddrmsg *m; in recvaddrs()
/external/toybox/toys/pending/
Dip.c954 struct ifaddrmsg *ifa = NLMSG_DATA(h); in print_addrinfo()
1065 struct ifaddrmsg ifadd; in ipaddrupdate()
1075 req.nlm.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifaddrmsg)); in ipaddrupdate()
1349 struct ifaddrmsg *addressInfo = NLMSG_DATA(addr_ptr); in ipaddr_print()