Home
last modified time | relevance | path

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

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A 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()
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 Dpriv_netlink.h93 struct ifinfomsg struct
H A 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()
H A Ddriver_hostap.c873 struct ifinfomsg *ifi, in hostapd_wireless_event_rtm_newlink()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A 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()
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 Dpriv_netlink.h93 struct ifinfomsg struct
H A 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()
/third_party/ltp/testcases/lib/
H A Dtst_ns_ifmove.c32 struct ifinfomsg ifi;
70 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in main()
/third_party/ltp/testcases/kernel/containers/share/
H A Dns_ifmove.c44 struct ifinfomsg ifi;
104 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in main()
/third_party/ltp/lib/
H A Dtst_netdevice.c105 struct ifinfomsg info = { .ifi_family = AF_UNSPEC }; in tst_create_veth_pair()
164 struct ifinfomsg info = { .ifi_family = AF_UNSPEC }; in tst_netdev_add_device()
207 struct ifinfomsg info = { .ifi_family = AF_UNSPEC }; in tst_netdev_remove_device()
324 struct ifinfomsg info = { .ifi_family = AF_UNSPEC }; in change_ns()
/third_party/musl/src/network/
H A Dnetlink.h45 struct ifinfomsg { struct
H A Dif_nameindex.c34 struct ifinfomsg *ifi = NLMSG_DATA(h); in netlink_msg_to_nameindex()
H A Dgetifaddrs.c113 struct ifinfomsg *ifi = NLMSG_DATA(h); in netlink_msg_to_ifaddr()
/third_party/libbpf/src/
H A Dnetlink.c294 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in __bpf_set_link_xdp_fd_replace()
348 struct ifinfomsg *ifi = NLMSG_DATA(nlh); in __dump_link_nlmsg()
364 struct ifinfomsg *ifinfo = msg; in get_xdp_info()
434 .nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)), in bpf_xdp_query()
H A Dnlattr.h60 struct ifinfomsg ifinfo;
/third_party/musl/porting/liteos_a/user/src/network/
H A Dif_nameindex.c35 struct ifinfomsg *ifi = NLMSG_DATA(h); in netlink_msg_to_nameindex()
H A Dgetifaddrs.c118 struct ifinfomsg *ifi = NLMSG_DATA(h); in netlink_msg_to_ifaddr()
/third_party/libbpf/include/uapi/linux/
H A Dif_link.h397 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
398 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A 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/
H A Dvlan_full.c638 struct ifinfomsg *ifi; in vlan_read_ifnames()
648 nlmsg_len = NLMSG_ALIGN(sizeof(struct ifinfomsg)); in vlan_read_ifnames()
/third_party/musl/src/network/liteos_a/
H A Dgetifaddrs.c118 struct ifinfomsg *ifi = NLMSG_DATA(h); in netlink_msg_to_ifaddr()
/third_party/libwebsockets/lib/roles/netlink/
H A Dops-netlink.c115 struct ifinfomsg *ifi; in rops_handle_POLLIN_netlink()
/third_party/toybox/toys/pending/
H A 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()

Completed in 31 milliseconds

12