Searched refs:ifaddrmsg (Results 1 - 25 of 26) sorted by relevance

12

/external/iproute2/include/uapi/linux/
H A Dif_addr.h8 struct ifaddrmsg { struct
24 * If present, the value from struct ifaddrmsg will be ignored.
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/
H A Dif_addr.h8 struct ifaddrmsg { struct
24 * If present, the value from struct ifaddrmsg will be ignored.
66 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
67 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
/external/android-clat/
H A Dnetlink_msg.h16 * netlink_msg.h - send an ifaddrmsg/ifinfomsg via netlink
22 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);
H A Dgetaddr.c46 struct ifaddrmsg *ifa_p;
51 ifa_p = (struct ifaddrmsg *)nlmsg_data(nlmsg_hdr(msg));
101 struct ifaddrmsg ifa;
H A Dnetlink_msg.c16 * netlink_msg.c - send an ifaddrmsg/ifinfomsg/rtmsg via netlink
78 * allocates a netlink message with a struct ifaddrmsg inside of it. returns NULL on failure
81 * ifa - ifaddrmsg to copy into the new netlink message
83 struct nl_msg *nlmsg_alloc_ifaddr(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa) {
151 * sends a netlink/ifaddrmsg message and hands the responses to the callbacks
154 * ifa - ifaddrmsg to send
157 void send_ifaddrmsg(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa, struct nl_cb *callbacks) {
H A Dsetif.c42 struct ifaddrmsg ifa;
/external/ltp/testcases/lib/
H A Dtst_net_iface_prefix.c64 struct ifaddrmsg addrmsg;
72 msg.nlhdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifaddrmsg));
83 struct ifaddrmsg *retaddr;
88 retaddr = (struct ifaddrmsg *)NLMSG_DATA(retmsg);
/external/strace/tests/
H A Dnlattr_ifaddrmsg.c60 struct ifaddrmsg *const msg = NLMSG_DATA(nlh);
61 SET_STRUCT(struct ifaddrmsg, msg,
87 const unsigned int hdrlen = sizeof(struct ifaddrmsg);
H A Dnetlink_route.c229 const struct ifaddrmsg msg = {
/external/strace/tests-m32/
H A Dnlattr_ifaddrmsg.c60 struct ifaddrmsg *const msg = NLMSG_DATA(nlh);
61 SET_STRUCT(struct ifaddrmsg, msg,
87 const unsigned int hdrlen = sizeof(struct ifaddrmsg);
H A Dnetlink_route.c229 const struct ifaddrmsg msg = {
/external/strace/tests-mx32/
H A Dnlattr_ifaddrmsg.c60 struct ifaddrmsg *const msg = NLMSG_DATA(nlh);
61 SET_STRUCT(struct ifaddrmsg, msg,
87 const unsigned int hdrlen = sizeof(struct ifaddrmsg);
H A Dnetlink_route.c229 const struct ifaddrmsg msg = {
/external/libnl/include/linux-private/linux/
H A Dif_addr.h7 struct ifaddrmsg { struct
23 * If present, the value from struct ifaddrmsg will be ignored.
/external/strace/
H A Drtnl_addr.c51 const struct ifaddrmsg *const ifaddr = opaque_data;
108 struct ifaddrmsg ifaddr = { .ifa_family = family };
/external/webrtc/webrtc/base/
H A Difaddrs-android.cc30 ifaddrmsg msg;
67 int set_addresses(struct ifaddrs* ifaddr, ifaddrmsg* msg, void* data,
118 int populate_ifaddrs(struct ifaddrs* ifaddr, ifaddrmsg* msg, void* bytes,
145 ifaddr_request.header.nlmsg_len = NLMSG_LENGTH(sizeof(ifaddrmsg));
172 ifaddrmsg* address_msg =
173 reinterpret_cast<ifaddrmsg*>(NLMSG_DATA(header));
/external/dnsmasq/src/
H A Dnetlink.c28 ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
188 struct ifaddrmsg *ifa = NLMSG_DATA(h);
/external/iproute2/include/
H A 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/
H A Dni_ifaddrs.c386 struct ifaddrmsg *ifam = NULL;
407 ifam = (struct ifaddrmsg *) NLMSG_DATA(nlh);
/external/iproute2/ip/
H A Dipaddress.c1373 static unsigned int get_ifa_flags(struct ifaddrmsg *ifa,
1400 static void print_ifa_flags(FILE *fp, const struct ifaddrmsg *ifa,
1481 struct ifaddrmsg *ifa = NLMSG_DATA(n);
1693 struct ifaddrmsg *ifa = NLMSG_DATA(n);
1802 struct ifaddrmsg *ifa = NLMSG_DATA(n);
1879 struct ifaddrmsg *ifa = NLMSG_DATA(n);
2336 struct ifaddrmsg ifa;
2339 .n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifaddrmsg)),
/external/libnl/lib/route/
H A Daddr.c200 struct ifaddrmsg *ifa;
552 struct ifaddrmsg am = {
1113 .co_hdrsize = sizeof(struct ifaddrmsg),
/external/dhcpcd-6.8.2/
H A Dif-linux.c583 struct ifaddrmsg *ifa;
1113 struct ifaddrmsg ifa;
1294 nlm.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifaddrmsg));
1445 nlm.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifaddrmsg));
/external/mdnsresponder/mDNSPosix/
H A DmDNSPosix.c1048 struct ifaddrmsg *pIfAddr = (struct ifaddrmsg*) NLMSG_DATA(pNLMsg);
1049 printf("ifaddrmsg family=%d, index=%d, flags=0x%x\n", pIfAddr->ifa_family,
1101 result |= 1 << ((struct ifaddrmsg*) NLMSG_DATA(pNLMsg))->ifa_index;
/external/webrtc/webrtc/test/channel_transport/
H A Dudp_transport_impl.cc2486 struct ifaddrmsg r;
2493 struct ifaddrmsg* rtmp;
2515 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifaddrmsg));
2559 rtmp = (struct ifaddrmsg*)NLMSG_DATA(nlmp);
/external/ipsec-tools/src/racoon/
H A Dgrabmyaddr.c132 struct ifaddrmsg *m;

Completed in 546 milliseconds

12