Home
last modified time | relevance | path

Searched refs:ifinfomsg (Results 1 – 25 of 43) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Dnetlink.c24 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()
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,
Dpriv_netlink.h93 struct ifinfomsg struct
Ddriver_wext.c622 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()
Ddriver_hostap.c877 struct ifinfomsg *ifi, in hostapd_wireless_event_rtm_newlink()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Dnetlink.c24 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()
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,
Dpriv_netlink.h93 struct ifinfomsg struct
Ddriver_wext.c622 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()
Ddriver_hostap.c873 struct ifinfomsg *ifi, in hostapd_wireless_event_rtm_newlink()
Ddriver_atheros.c1564 struct ifinfomsg *ifi, u8 *buf, size_t len) in atheros_wireless_event_rtm_newlink()
/third_party/ltp/testcases/kernel/containers/share/
Dns_ifmove.c44 struct ifinfomsg ifi;
104 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in main()
/third_party/ltp/lib/
Dtst_netdevice.c104 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/libbpf/src/
Dnetlink.c249 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in __bpf_set_link_xdp_fd_replace()
303 struct ifinfomsg *ifi = NLMSG_DATA(nlh); in __dump_link_nlmsg()
319 struct ifinfomsg *ifinfo = msg; in get_xdp_info()
363 .nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)), in bpf_xdp_query()
Dnlattr.h59 struct ifinfomsg ifinfo;
/third_party/musl/src/network/
Dnetlink.h45 struct ifinfomsg { struct
Dif_nameindex.c34 struct ifinfomsg *ifi = NLMSG_DATA(h); in netlink_msg_to_nameindex()
Dgetifaddrs.c109 struct ifinfomsg *ifi = NLMSG_DATA(h); in netlink_msg_to_ifaddr()
/third_party/musl/porting/liteos_a/user/src/network/
Dif_nameindex.c35 struct ifinfomsg *ifi = NLMSG_DATA(h); in netlink_msg_to_nameindex()
Dgetifaddrs.c118 struct ifinfomsg *ifi = NLMSG_DATA(h); in netlink_msg_to_ifaddr()
/third_party/libbpf/include/uapi/linux/
Dif_link.h371 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
372 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dvlan_full.c638 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/src/ap/
Dvlan_full.c638 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/
Dops-netlink.c115 struct ifinfomsg *ifi; in rops_handle_POLLIN_netlink()
/third_party/toybox/toys/pending/
Dip.c600 struct ifinfomsg info; in linkupdate()
629 request.mhdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in linkupdate()
855 struct ifinfomsg *iface = NLMSG_DATA(h); in get_link_info()
964 struct ifinfomsg info; in link_show()
970 request.mhdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in link_show()

12