Home
last modified time | relevance | path

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

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
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,
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()
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
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,
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()
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/libnl/lib/route/link/
Dveth.c38 [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/
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/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/libnl/include/linux-private/linux/
Dif_link.h176 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
177 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
Drtnetlink.h508 struct ifinfomsg { struct
/third_party/libnl/lib/route/
Dlink.c584 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),
Dneigh.c463 struct ifinfomsg hdr = {.ifi_family = family}; in neigh_request_update()
/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/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/libwebsockets/lib/roles/netlink/
Dops-netlink.c115 struct ifinfomsg *ifi; in rops_handle_POLLIN_netlink()
/third_party/toybox/toys/pending/
Dip.c598 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()

12