Home
last modified time | relevance | path

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

12

/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/uapi/linux/
Dif_addr.h8 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/kernel-headers/original/uapi/linux/
Dif_addr.h8 struct ifaddrmsg { struct
68 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
69 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
/external/ltp/testcases/lib/
Dtst_net_iface_prefix.c64 struct ifaddrmsg addrmsg; in read_iface_prefix()
72 msg.nlhdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifaddrmsg)); in read_iface_prefix()
83 struct ifaddrmsg *retaddr; in read_iface_prefix()
88 retaddr = (struct ifaddrmsg *)NLMSG_DATA(retmsg); in read_iface_prefix()
/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()
100 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.c84 struct nl_msg *nlmsg_alloc_ifaddr(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa) { in nlmsg_alloc_ifaddr()
153 void send_ifaddrmsg(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa, struct nl_cb *callbacks) { in send_ifaddrmsg()
Dsetif.c47 struct ifaddrmsg ifa; in add_address()
/external/strace/tests-m32/
Dnlattr_ifaddrmsg.c60 struct ifaddrmsg *const msg = NLMSG_DATA(nlh); in init_ifaddrmsg()
61 SET_STRUCT(struct ifaddrmsg, msg, in init_ifaddrmsg()
100 const unsigned int hdrlen = sizeof(struct ifaddrmsg); in main()
Dnetlink_route.c229 const struct ifaddrmsg msg = { in test_rtnl_addr()
/external/strace/tests-mx32/
Dnlattr_ifaddrmsg.c60 struct ifaddrmsg *const msg = NLMSG_DATA(nlh); in init_ifaddrmsg()
61 SET_STRUCT(struct ifaddrmsg, msg, in init_ifaddrmsg()
100 const unsigned int hdrlen = sizeof(struct ifaddrmsg); in main()
Dnetlink_route.c229 const struct ifaddrmsg msg = { in test_rtnl_addr()
/external/strace/tests/
Dnlattr_ifaddrmsg.c60 struct ifaddrmsg *const msg = NLMSG_DATA(nlh); in init_ifaddrmsg()
61 SET_STRUCT(struct ifaddrmsg, msg, in init_ifaddrmsg()
100 const unsigned int hdrlen = sizeof(struct ifaddrmsg); in main()
Dnetlink_route.c229 const struct ifaddrmsg msg = { in test_rtnl_addr()
/external/strace/
Drtnl_addr.c51 const struct ifaddrmsg *const ifaddr = opaque_data; in decode_ifa_address()
108 struct ifaddrmsg ifaddr = { .ifa_family = family }; in DECL_NETLINK_ROUTE_DECODER()
/external/libnl/include/linux-private/linux/
Dif_addr.h7 struct ifaddrmsg { struct
/external/syzkaller/sys/linux/
Dsocket_netlink_route.txt42 ipv4_newaddr netlink_msg[RTM_NEWADDR, ifaddrmsg[AF_INET], ifa_ipv4_policy]
43 ipv4_deladdr netlink_msg[RTM_DELADDR, ifaddrmsg[AF_INET], ifa_ipv4_policy]
44 ipv4_getaddr netlink_msg[RTM_GETADDR, ifaddrmsg[AF_INET], ifa_ipv4_policy]
53 ipv6_newaddr netlink_msg[RTM_NEWADDR, ifaddrmsg[AF_INET6], ifa_ipv6_policy]
54 ipv6_deladdr netlink_msg[RTM_DELADDR, ifaddrmsg[AF_INET6], ifa_ipv6_policy]
55 ipv6_getaddr netlink_msg[RTM_GETADDR, ifaddrmsg[AF_INET6], ifa_ipv6_policy]
100 type ifaddrmsg[FAMILY] {
/external/dnsmasq/src/
Dnetlink.c27 #define IFA_RTA(r) ((struct rtattr*) (((char*) (r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
173 struct ifaddrmsg* ifa = NLMSG_DATA(h); in iface_enumerate()
/external/iproute2/include/
Dlibnetlink.h199 ((struct rtattr *)(((char *)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
202 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct ifaddrmsg))
/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.c1373 static unsigned int get_ifa_flags(struct ifaddrmsg *ifa, in get_ifa_flags()
1400 static void print_ifa_flags(FILE *fp, const struct ifaddrmsg *ifa, in print_ifa_flags()
1481 struct ifaddrmsg *ifa = NLMSG_DATA(n); in print_addrinfo()
1693 struct ifaddrmsg *ifa = NLMSG_DATA(n); in print_selected_addrinfo()
1802 struct ifaddrmsg *ifa = NLMSG_DATA(n); in show_handler()
1879 struct ifaddrmsg *ifa = NLMSG_DATA(n); in ipaddr_filter()
2336 struct ifaddrmsg ifa; in ipaddr_modify()
2339 .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/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()

12