/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | 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,
|
H A D | 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));
|
H A D | priv_netlink.h | 93 struct ifinfomsg struct
|
/external/wpa_supplicant_8/src/drivers/ |
H A D | 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,
|
H A D | 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));
|
H A D | priv_netlink.h | 93 struct ifinfomsg struct
|
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | 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,
|
H A D | 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));
|
H A D | priv_netlink.h | 93 struct ifinfomsg struct
|
/external/avahi/avahi-core/ |
H A D | iface-linux.c | 37 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 79 struct ifinfomsg *ifinfomsg = NLMSG_DATA(n); local 85 if (ifinfomsg->ifi_family != AF_UNSPEC) 93 if (!(hw = avahi_interface_monitor_get_hw_interface(m, ifinfomsg->ifi_index))) 100 if (!(hw = avahi_hw_interface_new(m, (AvahiIfIndex) ifinfomsg->ifi_index))) 105 (ifinfomsg->ifi_flags & IFF_UP) && 106 (!m->server->config.use_iff_running || (ifinfomsg->ifi_flags & IFF_RUNNING)) && 107 !(ifinfomsg->ifi_flags & IFF_LOOPBACK) && 108 (ifinfomsg 162 struct ifinfomsg *ifinfomsg = NLMSG_DATA(n); local [all...] |
/external/android-clat/ |
H A D | 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);
|
H A D | 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) {
|
H A D | setif.c | 103 struct ifinfomsg ifi;
|
/external/iproute2/ip/ |
H A D | link_veth.c | 42 struct ifinfomsg *ifm, *peer_ifm; 59 hdr->nlmsg_len += sizeof(struct ifinfomsg);
|
H A D | iptoken.c | 50 struct ifinfomsg *ifi = NLMSG_DATA(n); 129 struct ifinfomsg ifi; 139 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
|
H A D | link_vti.c | 51 struct ifinfomsg i; 54 struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1);
|
H A D | link_vti6.c | 47 struct ifinfomsg i; 50 struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1);
|
H A D | link_ip6tnl.c | 63 struct ifinfomsg i; 66 struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1);
|
H A D | link_gre.c | 55 struct ifinfomsg i; 58 struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1);
|
/external/libnl/include/linux/ |
H A D | if_link.h | 90 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 91 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|
/external/avahi/avahi-autoipd/ |
H A D | iface-linux.c | 43 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 108 struct ifinfomsg *ifi; 252 struct ifinfomsg *ifi;
|
/external/iproute2/bridge/ |
H A D | vlan.c | 30 struct ifinfomsg ifm; 43 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); 145 struct ifinfomsg *ifm = NLMSG_DATA(n);
|
H A D | fdb.c | 175 struct ifinfomsg ifm; 181 int msg_size = sizeof(struct ifinfomsg); 184 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
|
H A D | link.c | 104 struct ifinfomsg *ifi = NLMSG_DATA(n); 255 struct ifinfomsg ifm; 275 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
|
/external/iproute2/include/ |
H A D | libnetlink.h | 170 ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 173 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|