/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
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,
|
D | netlink.c | 24 void (*cb)(void *ctx, struct ifinfomsg *ifi, in netlink_receive_link() 28 if (cb == NULL || NLMSG_PAYLOAD(h, 0) < sizeof(struct ifinfomsg)) in netlink_receive_link() 31 (u8 *) NLMSG_DATA(h) + NLMSG_ALIGN(sizeof(struct ifinfomsg)), in netlink_receive_link() 32 NLMSG_PAYLOAD(h, sizeof(struct ifinfomsg))); in netlink_receive_link() 174 struct ifinfomsg ifinfo; in netlink_send_oper_ifla() 183 req.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in netlink_send_oper_ifla()
|
D | priv_netlink.h | 93 struct ifinfomsg struct
|
D | driver_wext.c | 622 static void wpa_driver_wext_event_rtm_newlink(void *ctx, struct ifinfomsg *ifi, in wpa_driver_wext_event_rtm_newlink() 703 static void wpa_driver_wext_event_rtm_dellink(void *ctx, struct ifinfomsg *ifi, in wpa_driver_wext_event_rtm_dellink()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
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,
|
D | netlink.c | 24 void (*cb)(void *ctx, struct ifinfomsg *ifi, in netlink_receive_link() 28 if (cb == NULL || NLMSG_PAYLOAD(h, 0) < sizeof(struct ifinfomsg)) in netlink_receive_link() 31 (u8 *) NLMSG_DATA(h) + NLMSG_ALIGN(sizeof(struct ifinfomsg)), in netlink_receive_link() 32 NLMSG_PAYLOAD(h, sizeof(struct ifinfomsg))); in netlink_receive_link() 174 struct ifinfomsg ifinfo; in netlink_send_oper_ifla() 183 req.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in netlink_send_oper_ifla()
|
D | priv_netlink.h | 93 struct ifinfomsg struct
|
D | driver_wext.c | 622 static void wpa_driver_wext_event_rtm_newlink(void *ctx, struct ifinfomsg *ifi, in wpa_driver_wext_event_rtm_newlink() 703 static void wpa_driver_wext_event_rtm_dellink(void *ctx, struct ifinfomsg *ifi, in wpa_driver_wext_event_rtm_dellink()
|
D | driver_hostap.c | 877 struct ifinfomsg *ifi, in hostapd_wireless_event_rtm_newlink()
|
/third_party/libnl/lib/route/link/ |
D | veth.c | 38 [VETH_INFO_PEER] = { .minlen = sizeof(struct ifinfomsg) }, 56 struct ifinfomsg *ifi; in veth_parse() 67 ((char *) nla_data(nla_peer) + sizeof(struct ifinfomsg)), in veth_parse() 68 nla_len(nla_peer) - sizeof(struct ifinfomsg), in veth_parse() 121 struct ifinfomsg ifi; in veth_put_attrs()
|
/third_party/ltp/testcases/kernel/containers/share/ |
D | ns_ifmove.c | 44 struct ifinfomsg ifi; 104 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in main()
|
/third_party/ltp/lib/ |
D | tst_netdevice.c | 104 struct ifinfomsg info = { .ifi_family = AF_UNSPEC }; in tst_create_veth_pair() 163 struct ifinfomsg info = { .ifi_family = AF_UNSPEC }; in tst_netdev_add_device() 206 struct ifinfomsg info = { .ifi_family = AF_UNSPEC }; in tst_netdev_remove_device() 323 struct ifinfomsg info = { .ifi_family = AF_UNSPEC }; in change_ns()
|
/third_party/musl/src/network/ |
D | netlink.h | 45 struct ifinfomsg { struct
|
D | if_nameindex.c | 34 struct ifinfomsg *ifi = NLMSG_DATA(h); in netlink_msg_to_nameindex()
|
D | getifaddrs.c | 109 struct ifinfomsg *ifi = NLMSG_DATA(h); in netlink_msg_to_ifaddr()
|
/third_party/musl/porting/liteos_a/user/src/network/ |
D | if_nameindex.c | 35 struct ifinfomsg *ifi = NLMSG_DATA(h); in netlink_msg_to_nameindex()
|
D | getifaddrs.c | 118 struct ifinfomsg *ifi = NLMSG_DATA(h); in netlink_msg_to_ifaddr()
|
/third_party/libnl/include/linux-private/linux/ |
D | if_link.h | 176 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 177 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|
D | rtnetlink.h | 508 struct ifinfomsg { struct
|
/third_party/libnl/lib/route/ |
D | link.c | 584 struct ifinfomsg *ifi; in link_msg_parser() 804 struct ifinfomsg hdr = { .ifi_family = family }; in link_request_update() 1372 struct ifinfomsg ifi; in rtnl_link_build_get_request() 1582 static int build_link_msg(int cmd, struct ifinfomsg *hdr, in build_link_msg() 1672 struct ifinfomsg ifi = { in rtnl_link_build_add_request() 1735 struct ifinfomsg ifi = { in rtnl_link_build_change_request() 1857 struct ifinfomsg ifi = { in rtnl_link_build_delete_request() 3221 .co_hdrsize = sizeof(struct ifinfomsg),
|
D | neigh.c | 463 struct ifinfomsg hdr = {.ifi_family = family}; in neigh_request_update()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | vlan_full.c | 638 struct ifinfomsg *ifi; in vlan_read_ifnames() 648 nlmsg_len = NLMSG_ALIGN(sizeof(struct ifinfomsg)); in vlan_read_ifnames()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | vlan_full.c | 638 struct ifinfomsg *ifi; in vlan_read_ifnames() 648 nlmsg_len = NLMSG_ALIGN(sizeof(struct ifinfomsg)); in vlan_read_ifnames()
|
/third_party/libwebsockets/lib/roles/netlink/ |
D | ops-netlink.c | 115 struct ifinfomsg *ifi; in rops_handle_POLLIN_netlink()
|
/third_party/toybox/toys/pending/ |
D | ip.c | 598 struct ifinfomsg info; in linkupdate() 627 request.mhdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in linkupdate() 853 struct ifinfomsg *iface = NLMSG_DATA(h); in get_link_info() 962 struct ifinfomsg info; in link_show() 968 request.mhdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in link_show()
|