Home
last modified time | relevance | path

Searched full:netlink (Results 1 – 25 of 203) sorted by relevance

123456789

/third_party/libnl/
Dlibnl-3.7.0.tar.gz ... include/linux-private/linux/can/netlink.h libnl-3.7.0/include/ ...
Dlibnl-libnl3_11_0.tar.gz ... include/linux-private/linux/can/netlink.h libnl-libnl3_11_0/include/linux- ...
Dsolve-oh-compile-problem.patch1 diff -urN libnl-3.7.0/include/netlink-private/utils.h libnl-3.7.0-new/include/netlink-private/utils…
2 --- libnl-3.7.0/include/netlink-private/utils.h 2022-05-24 16:55:12.000000000 +0800
3 +++ libnl-3.7.0-new/include/netlink-private/utils.h 2024-01-13 18:22:20.218754000 +0800
21 #include <netlink/route/link/vrf.h>
32 #include <netlink/netlink.h>
33 #include <netlink/route/mdb.h>
34 #include <netlink/utils.h>
Dslove-oh-update-sp3.patch13 diff -urN libnl-3.7.0/include/netlink-private/nl-auto.h libnl-3.7.0_new/include/netlink-private/nl-…
14 --- libnl-3.7.0/include/netlink-private/nl-auto.h 2022-05-24 16:55:12.000000000 +0800
15 +++ libnl-3.7.0_new/include/netlink-private/nl-auto.h 2024-06-03 17:37:51.785691800 +0800
28 diff -urN libnl-3.7.0/include/netlink-private/utils.h libnl-3.7.0_new/include/netlink-private/utils…
29 --- libnl-3.7.0/include/netlink-private/utils.h 2022-05-24 16:55:12.000000000 +0800
30 +++ libnl-3.7.0_new/include/netlink-private/utils.h 2024-06-03 17:36:49.655447000 +0800
596 +#include <netlink/cli/utils.h>
597 +#include <netlink/cli/addr.h>
598 +#include <netlink/cli/link.h>
599 +#include <linux/netlink.h>
[all …]
Dlibnl3.spec4 Summary: Providing APIs to netlink protocol based Linux kernel interfaces
37 APIs to netlink based Linux kernel sockets interfaces.
100 %{_includedir}/libnl3/netlink/
108 %{python3_sitearch}/netlink
109 %{python3_sitearch}/netlink-*.egg-info
158 add include netlink private nl-auto-h header
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Dnetlink.c2 * Netlink helper functions for driver wrappers
14 #include "netlink.h"
23 static void netlink_receive_link(struct netlink_data *netlink, in netlink_receive_link() argument
30 cb(netlink->cfg->ctx, NLMSG_DATA(h), in netlink_receive_link()
38 struct netlink_data *netlink = eloop_ctx; in netlink_receive() local
52 wpa_printf(MSG_INFO, "netlink: recvfrom failed: %s", in netlink_receive()
61 netlink_receive_link(netlink, netlink->cfg->newlink_cb, in netlink_receive()
65 netlink_receive_link(netlink, netlink->cfg->dellink_cb, in netlink_receive()
74 wpa_printf(MSG_DEBUG, "netlink: %d extra bytes in the end of " in netlink_receive()
75 "netlink message", left); in netlink_receive()
[all …]
Dnetlink.h2 * Netlink helper functions for driver wrappers
24 void netlink_deinit(struct netlink_data *netlink);
25 int netlink_send_oper_ifla(struct netlink_data *netlink, int ifindex,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Dnetlink.c2 * Netlink helper functions for driver wrappers
14 #include "netlink.h"
23 static void netlink_receive_link(struct netlink_data *netlink, in netlink_receive_link() argument
30 cb(netlink->cfg->ctx, NLMSG_DATA(h), in netlink_receive_link()
38 struct netlink_data *netlink = eloop_ctx; in netlink_receive() local
52 wpa_printf(MSG_INFO, "netlink: recvfrom failed: %s", in netlink_receive()
61 netlink_receive_link(netlink, netlink->cfg->newlink_cb, in netlink_receive()
65 netlink_receive_link(netlink, netlink->cfg->dellink_cb, in netlink_receive()
74 wpa_printf(MSG_DEBUG, "netlink: %d extra bytes in the end of " in netlink_receive()
75 "netlink message", left); in netlink_receive()
[all …]
Dnetlink.h2 * Netlink helper functions for driver wrappers
24 void netlink_deinit(struct netlink_data *netlink);
25 int netlink_send_oper_ifla(struct netlink_data *netlink, int ifindex,
/third_party/rust/crates/linux-raw-sys/src/
Dlib.rs147 #[cfg(feature = "netlink")]
149 #[path = "arm/netlink.rs"]
150 pub mod netlink; module
163 #[cfg(feature = "netlink")]
165 #[path = "aarch64/netlink.rs"]
166 pub mod netlink; module
179 #[cfg(feature = "netlink")]
181 #[path = "mips/netlink.rs"]
182 pub mod netlink; module
195 #[cfg(feature = "netlink")]
[all …]
/third_party/ltp/runtest/
Dnet_stress.route5 route4-change-netlink-dst route-change-netlink-dst.sh
6 route4-change-netlink-gw route-change-netlink-gw.sh
7 route4-change-netlink-if route-change-netlink-if.sh
13 route6-change-netlink-dst route-change-netlink-dst.sh -6
14 route6-change-netlink-gw route-change-netlink-gw.sh -6
15 route6-change-netlink-if route-change-netlink-if.sh -6
/third_party/selinux/libselinux/man/man3/
Davc_netlink_loop.38 netlink processing
29 via netlink. The userspace AVC normally checks for netlink messages on each
35 loop. These functions also permit netlink monitoring without requiring a
40 opens a netlink socket to receive SELinux notifications. The socket
50 closes the netlink socket. This function is called automatically by
54 returns the netlink socket descriptor number and informs the userspace AVC
64 returns control of the netlink socket to the userspace AVC, re-enabling
68 checks the netlink socket for pending messages and processes them.
75 enters a loop blocking on the netlink socket and processing messages as they
Davc_init.3122 .B NETLINK NOTIFICATION
187 .SH "NETLINK NOTIFICATION"
190 the AVC will default to the netlink fallback mechanism, which opens a netlink socket for receiving …
198 …ocking callbacks. In the fallback case, the userspace AVC checks for new netlink messages at the s…
200 a dedicated thread will be started to listen on the netlink socket. This may increase performance …
221 If a netlink thread has been created and an error occurs on the socket (such as an access error), t…
Davc_open.335 .B NETLINK NOTIFICATION
75 .SH "NETLINK NOTIFICATION"
78 the AVC will default to the netlink fallback mechanism, which opens a netlink socket for receiving …
Dselinux_status_open.349 In this case, this function tries to open a netlink socket using
57 netlink socket if fallbacked.
79 the first event message via netlink socket.
93 but netlink socket was opened as fallback instead of the kernel status page.
/third_party/selinux/libselinux/src/
Davc_internal.c7 * Netlink code derived in part from sample code by
22 #include <linux/netlink.h>
55 /* process setenforce events for netlink and sestatus */
77 /* process policyload events for netlink and sestatus */
98 /* netlink socket code */
159 avc_log(SELINUX_ERROR, "%s: netlink poll: error %d\n", in avc_netlink_receive()
171 "%s: warning: netlink address truncated, len %u?\n", in avc_netlink_receive()
178 "%s: warning: received spoofed netlink packet from: %u\n", in avc_netlink_receive()
185 "%s: warning: received EOF on netlink socket\n", in avc_netlink_receive()
193 "%s: warning: incomplete netlink message\n", in avc_netlink_receive()
[all …]
/third_party/ltp/include/
Dtst_netlink.h8 * Library for communicating with the kernel over the netlink interface.
14 #include <linux/netlink.h>
18 * The netlink-crypto socket protocol.
44 * Sends a netlink message using safe_sendmsg().
46 * @param fd netlink socket file descriptor.
47 * @param nl_header netlink header structure describing the message.
76 * Receives a netlink message using safe_recvmsg().
78 * @param fd netlink socket file descriptor.
79 * @param nl_header_buf buffer to contain the received netlink header structure.
Dtst_crypto.h8 * Library for interacting with kernel's crypto layer using the netlink
20 * Holds state relevant to a netlink crypto connection. The seq_num is used
21 * to tag each message sent to the netlink layer and is automatically
22 * incremented by the tst_crypto_ functions. When the netlink layer sends a
34 /** File descriptor for the netlink socket */
81 * response. If sending the message or receiving the ack fails at the netlink
/third_party/ltp/testcases/network/stress/route/
D00_Descriptions.txt10 route{4,6}-change-netlink-dst
11 Change IPv4/IPv6 route destination by Netlink API via libmnl
13 route{4,6}-change-netlink-gw
14 Change IPv4/IPv6 route gateway by Netlink API via libmnl
16 route{4,6}-change-netlink-if
17 Change IPv4/IPv6 route interface by Netlink API via libmnl
/third_party/iptables/include/linux/netfilter/
Dnf_tables.h73 * enum nf_tables_msg_types - nf_tables netlink message types
147 * enum nft_list_attributes - nf_tables generic list netlink attributes
159 * enum nft_hook_attributes - nf_tables netfilter hook netlink attributes
189 * enum nft_table_attributes - nf_tables table netlink attributes
195 * @NFTA_TABLE_OWNER: owner of this table through netlink portID (NLA_U32)
220 * enum nft_chain_attributes - nf_tables chain netlink attributes
253 * enum nft_rule_attributes - nf_tables rule netlink attributes
369 * enum nft_set_attributes - nf_tables set netlink attributes
425 * enum nft_set_elem_attributes - nf_tables set element netlink attributes
456 * enum nft_set_elem_list_attributes - nf_tables set element list netlink attributes
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dvlan_util.c2 * hostapd / VLAN netlink api
10 #include <netlink/route/link.h>
11 #include <netlink/route/link/vlan.h>
48 wpa_printf(MSG_ERROR, "VLAN: failed to open netlink socket"); in vlan_add()
54 wpa_printf(MSG_ERROR, "VLAN: failed to connect to netlink: %s", in vlan_add()
134 wpa_printf(MSG_ERROR, "VLAN: failed to open netlink socket"); in vlan_rem()
140 wpa_printf(MSG_ERROR, "VLAN: failed to connect to netlink: %s", in vlan_rem()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dvlan_util.c2 * hostapd / VLAN netlink api
10 #include <netlink/route/link.h>
11 #include <netlink/route/link/vlan.h>
48 wpa_printf(MSG_ERROR, "VLAN: failed to open netlink socket"); in vlan_add()
54 wpa_printf(MSG_ERROR, "VLAN: failed to connect to netlink: %s", in vlan_add()
134 wpa_printf(MSG_ERROR, "VLAN: failed to open netlink socket"); in vlan_rem()
140 wpa_printf(MSG_ERROR, "VLAN: failed to connect to netlink: %s", in vlan_rem()
/third_party/ltp/testcases/kernel/containers/netns/
Dnetns_netlink.c10 * Tests a netlink interface inside a new network namespace.
14 * - Forks a child which creates a NETLINK_ROUTE netlink socket
19 * removes it (which should generate some data in child's netlink socket).
22 * detect the new interface creation/deletion (by reading data from netlink
30 #include <linux/netlink.h>
100 /* wait until child opens netlink socket */ in test_netns_netlink()
/third_party/libbpf/src/
Dnlattr.h4 * NETLINK Netlink attributes
15 #include <linux/netlink.h>
19 /* avoid multiple definition of netlink features */
82 * @nla: netlink attribute
116 * @nla: netlink attribute
/third_party/libwebsockets/lib/roles/netlink/
Dops-netlink.c36 #include <linux/netlink.h>
146 lwsl_cx_netlink(cx, "NETLINK ifidx %d : %s", in rops_handle_POLLIN_netlink()
455 * While netlink info still coming, keep moving the timer for in rops_handle_POLLIN_netlink()
488 * pt netlink wsi closed + freed as part of pt's destroy in rops_pt_init_destroy_netlink()
496 if (context->netlink) in rops_pt_init_destroy_netlink()
500 /* we can only have one netlink socket */ in rops_pt_init_destroy_netlink()
503 lwsl_cx_info(context, "creating netlink skt"); in rops_pt_init_destroy_netlink()
506 * We want a netlink socket per pt as well in rops_pt_init_destroy_netlink()
518 lwsl_cx_err(context, "unable to open netlink"); in rops_pt_init_destroy_netlink()
525 "netlink"); in rops_pt_init_destroy_netlink()
[all …]

123456789