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

123

/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.h93 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.h93 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.h93 struct ifinfomsg struct
/external/avahi/avahi-core/
H A Diface-linux.c37 #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 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.c42 struct ifinfomsg *ifm, *peer_ifm;
59 hdr->nlmsg_len += sizeof(struct ifinfomsg);
H A Diptoken.c50 struct ifinfomsg *ifi = NLMSG_DATA(n);
129 struct ifinfomsg ifi;
139 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
H A Dlink_vti.c51 struct ifinfomsg i;
54 struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1);
H A Dlink_vti6.c47 struct ifinfomsg i;
50 struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1);
H A Dlink_ip6tnl.c63 struct ifinfomsg i;
66 struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1);
H A Dlink_gre.c55 struct ifinfomsg i;
58 struct ifinfomsg *ifi = (struct ifinfomsg *)(n + 1);
/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))
/external/avahi/avahi-autoipd/
H A Diface-linux.c43 #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 Dvlan.c30 struct ifinfomsg ifm;
43 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
145 struct ifinfomsg *ifm = NLMSG_DATA(n);
H A Dfdb.c175 struct ifinfomsg ifm;
181 int msg_size = sizeof(struct ifinfomsg);
184 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg));
H A Dlink.c104 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 Dlibnetlink.h170 ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
173 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))

Completed in 1072 milliseconds

123