/external/wpa_supplicant_8/src/drivers/ |
netlink.h | 13 struct ifinfomsg; 17 void (*newlink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf, 19 void (*dellink_cb)(void *ctx, struct ifinfomsg *ifi, u8 *buf,
|
netlink.c | 24 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));
|
priv_netlink.h | 93 struct ifinfomsg struct
|
/external/android-clat/ |
netlink_msg.h | 16 * 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);
|
netlink_msg.c | 16 * 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) {
|
setif.c | 103 struct ifinfomsg ifi;
|
/external/iproute2/ip/ |
link_veth.c | 42 struct ifinfomsg *ifm, *peer_ifm; 59 hdr->nlmsg_len += sizeof(struct ifinfomsg);
|
iptoken.c | 50 struct ifinfomsg *ifi = NLMSG_DATA(n); 129 struct ifinfomsg ifi; 139 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
|
link_vti.c | 51 struct ifinfomsg i; 54 struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1);
|
link_vti6.c | 47 struct ifinfomsg i; 50 struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1);
|
link_ip6tnl.c | 63 struct ifinfomsg i; 66 struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1);
|
/external/libnl/lib/route/link/ |
veth.c | 37 [VETH_INFO_PEER] = { .minlen = sizeof(struct ifinfomsg) }, 55 struct ifinfomsg *ifi; 66 nla_data(nla_peer) + sizeof(struct ifinfomsg), 67 nla_len(nla_peer) - sizeof(struct ifinfomsg), 120 struct ifinfomsg ifi;
|
/external/ltp/testcases/kernel/containers/share/ |
ns_ifmove.c | 44 struct ifinfomsg ifi; 104 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
if_link.h | 91 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 92 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|
/bionic/libc/bionic/ |
net_if.cpp | 99 ifinfomsg* ifi = reinterpret_cast<ifinfomsg*>(NLMSG_DATA(hdr));
|
ifaddrs.cpp | 164 ifinfomsg* ifi = reinterpret_cast<ifinfomsg*>(NLMSG_DATA(hdr));
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
if_link.h | 147 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 148 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|
/external/iproute2/bridge/ |
vlan.c | 30 struct ifinfomsg ifm; 43 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); 145 struct ifinfomsg *ifm = NLMSG_DATA(n);
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/ |
IPACM_Netlink.h | 141 struct ifinfomsg metainfo; /* from header */
|
/development/ndk/platforms/android-21/include/linux/ |
if_link.h | 157 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 159 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|
/external/iproute2/include/ |
libnetlink.h | 170 ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 173 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|
/external/libnfnetlink/src/ |
iftable.c | 55 struct ifinfomsg *ifi_msg = NLMSG_DATA(n); 116 struct ifinfomsg *ifi_msg = NLMSG_DATA(n);
|
/prebuilts/ndk/r10/platforms/android-21/arch-arm/usr/include/linux/ |
if_link.h | 157 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 159 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|
/prebuilts/ndk/r10/platforms/android-21/arch-arm64/usr/include/linux/ |
if_link.h | 157 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 159 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|
/prebuilts/ndk/r10/platforms/android-21/arch-mips/usr/include/linux/ |
if_link.h | 157 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 159 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|