Searched refs:ifinfomsg (Results 1 - 25 of 49) sorted by relevance

12

/external/wpa_supplicant_8/hostapd/src/drivers/
H A Dnetlink.h13 struct ifinfomsg;
17 void (*newlink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf,
19 void (*dellink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf,
H A Dnetlink.c24 void (*cb)(void *ctx, struct ifinfomsg *ifi,
28 if (cb == NULL || NLMSG_PAYLOAD(h, 0) < sizeof(struct ifinfomsg))
31 (u8 *) NLMSG_DATA(h) + NLMSG_ALIGN(sizeof(struct ifinfomsg)),
32 NLMSG_PAYLOAD(h, sizeof(struct ifinfomsg)));
174 struct ifinfomsg ifinfo;
183 req.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
H A Dpriv_netlink.h92 struct ifinfomsg struct
/external/wpa_supplicant_8/src/drivers/
H A Dnetlink.h13 struct ifinfomsg;
17 void (*newlink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf,
19 void (*dellink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf,
H A Dnetlink.c24 void (*cb)(void *ctx, struct ifinfomsg *ifi,
28 if (cb == NULL || NLMSG_PAYLOAD(h, 0) < sizeof(struct ifinfomsg))
31 (u8 *) NLMSG_DATA(h) + NLMSG_ALIGN(sizeof(struct ifinfomsg)),
32 NLMSG_PAYLOAD(h, sizeof(struct ifinfomsg)));
174 struct ifinfomsg ifinfo;
183 req.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
H A Dpriv_netlink.h92 struct ifinfomsg struct
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Dnetlink.h13 struct ifinfomsg;
17 void (*newlink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf,
19 void (*dellink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf,
H A Dnetlink.c24 void (*cb)(void *ctx, struct ifinfomsg *ifi,
28 if (cb == NULL || NLMSG_PAYLOAD(h, 0) < sizeof(struct ifinfomsg))
31 (u8 *) NLMSG_DATA(h) + NLMSG_ALIGN(sizeof(struct ifinfomsg)),
32 NLMSG_PAYLOAD(h, sizeof(struct ifinfomsg)));
174 struct ifinfomsg ifinfo;
183 req.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
H A Dpriv_netlink.h92 struct ifinfomsg struct
/external/android-clat/
H A Dnetlink_msg.h16 * netlink_msg.h - send an ifaddrmsg/ifinfomsg via netlink
23 struct nl_msg *nlmsg_alloc_ifinfo(uint16_t type, uint16_t flags, struct ifinfomsg *ifi);
H A Dnetlink_msg.c16 * netlink_msg.c - send an ifaddrmsg/ifinfomsg/rtmsg via netlink
88 * allocates a netlink message with a struct ifinfomsg inside of it. returns NULL on failure
91 * ifi - ifinfomsg to copy into the new netlink message
93 struct nl_msg *nlmsg_alloc_ifinfo(uint16_t type, uint16_t flags, struct ifinfomsg *ifi) {
H A Dsetif.c103 struct ifinfomsg ifi;
/external/iproute2/ip/
H A Dlink_veth.c43 hdr->nlmsg_len += sizeof(struct ifinfomsg);
H A Dlink_gre.c47 struct ifinfomsg i;
50 struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1);
H A Diplink.c164 struct ifinfomsg i;
171 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
190 struct ifinfomsg i;
478 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
H A Dipaddress.c364 struct ifinfomsg *ifi = NLMSG_DATA(n);
963 struct ifinfomsg *ifi = NLMSG_DATA(&l->h);
1016 struct ifinfomsg *ifi = NLMSG_DATA(&l->h);
/external/libnl/include/linux/
H A Dif_link.h90 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
91 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
H A Drtnetlink.h412 /* struct ifinfomsg
417 struct ifinfomsg struct
/external/chromium_org/net/base/
H A Daddress_tracker_linux.cc347 const struct ifinfomsg* msg =
348 reinterpret_cast<struct ifinfomsg*>(NLMSG_DATA(header));
367 const struct ifinfomsg* msg =
368 reinterpret_cast<struct ifinfomsg*>(NLMSG_DATA(header));
404 bool AddressTrackerLinux::IsTunnelInterface(const struct ifinfomsg* msg) const {
H A Daddress_tracker_linux.h118 bool IsTunnelInterface(const struct ifinfomsg* msg) const;
/external/iproute2/include/linux/
H A Dif_link.h148 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
149 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
H A Drtnetlink.h420 /* struct ifinfomsg
425 struct ifinfomsg { struct
/external/iproute2/include/
H A Dlibnetlink.h115 ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
118 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
/external/kernel-headers/original/uapi/linux/
H A Dif_link.h155 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
156 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
/external/iproute2/lib/
H A Dll_map.c51 struct ifinfomsg *ifi = NLMSG_DATA(n);

Completed in 209 milliseconds

12