Home
last modified time | relevance | path

Searched refs:sockaddr_nl (Results 1 – 21 of 21) sorted by relevance

/linux-6.6.21/tools/testing/selftests/netfilter/
Daudit_logread.c30 struct sockaddr_nl addr; in audit_recv()
64 struct sockaddr_nl addr = { in audit_send()
/linux-6.6.21/samples/connector/
Ducon.c103 struct sockaddr_nl l_local; in main()
151 if (bind(s, (struct sockaddr *)&l_local, sizeof(struct sockaddr_nl)) == -1) { in main()
/linux-6.6.21/tools/testing/selftests/net/af_unix/
Ddiag_uid.c99 struct sockaddr_nl nladdr = { in send_request()
138 struct sockaddr_nl nladdr = { in receive_response()
/linux-6.6.21/samples/bpf/
Dxdp_router_ipv4_user.c61 static int recv_msg(struct sockaddr_nl sock_addr, int sock) in recv_msg()
253 struct sockaddr_nl sa; in get_route_table()
390 struct sockaddr_nl sa; in get_arp_table()
454 struct sockaddr_nl la, lr; in monitor_routes_thread()
/linux-6.6.21/tools/accounting/
Dprocacct.c98 struct sockaddr_nl local; in create_nl_socket()
130 struct sockaddr_nl nladdr; in send_cmd()
Dgetdelays.c91 struct sockaddr_nl local; in create_nl_socket()
123 struct sockaddr_nl nladdr; in send_cmd()
/linux-6.6.21/tools/testing/vsock/
Dvsock_diag_test.c166 struct sockaddr_nl nladdr = { in send_req()
209 struct sockaddr_nl nladdr = { in recv_resp()
/linux-6.6.21/tools/include/uapi/linux/
Dnetlink.h37 struct sockaddr_nl { struct
/linux-6.6.21/include/uapi/linux/
Dnetlink.h37 struct sockaddr_nl { struct
/linux-6.6.21/net/netlink/
Daf_netlink.c1010 struct sockaddr_nl *nladdr = (struct sockaddr_nl *)addr; in netlink_bind()
1015 if (addr_len < sizeof(struct sockaddr_nl)) in netlink_bind()
1098 struct sockaddr_nl *nladdr = (struct sockaddr_nl *)addr; in netlink_connect()
1114 if (alen < sizeof(struct sockaddr_nl)) in netlink_connect()
1144 DECLARE_SOCKADDR(struct sockaddr_nl *, nladdr, addr); in netlink_getname()
1832 DECLARE_SOCKADDR(struct sockaddr_nl *, addr, msg->msg_name); in netlink_sendmsg()
1854 if (msg->msg_namelen < sizeof(struct sockaddr_nl)) in netlink_sendmsg()
1970 DECLARE_SOCKADDR(struct sockaddr_nl *, addr, msg->msg_name); in netlink_recvmsg()
/linux-6.6.21/tools/lib/thermal/
Dthermal_nl.c24 static int nl_error_handler(struct sockaddr_nl *nla, struct nlmsgerr *nl_err, in nl_error_handler()
/linux-6.6.21/tools/power/x86/intel-speed-select/
Dhfi-events.c70 static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, in error_handler()
/linux-6.6.21/tools/testing/selftests/uevent/
Duevent_filtering.c83 struct sockaddr_nl sk_addr = { 0 }, rcv_addr = { 0 }; in uevent_listener()
/linux-6.6.21/tools/testing/selftests/connector/
Dproc_filter.c84 struct sockaddr_nl sa_nl; in register_proc_netlink()
/linux-6.6.21/tools/testing/selftests/nci/
Dnci_dev.c93 struct sockaddr_nl local; in create_nl_socket()
115 struct sockaddr_nl nladdr; in send_cmd_mt_nla()
/linux-6.6.21/Documentation/driver-api/
Dconnector.rst123 if (bind(s, (struct sockaddr *)&l_local, sizeof(struct sockaddr_nl)) == -1) {
/linux-6.6.21/tools/testing/selftests/net/
Dudpgso.c360 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in set_route_mtu()
Dipsec.c1327 struct sockaddr_nl snl = {}; in netlink_sock_bind()
/linux-6.6.21/tools/bpf/bpftool/
Dnet.c105 struct sockaddr_nl sa; in netlink_open()
/linux-6.6.21/tools/lib/bpf/
Dnetlink.c54 struct sockaddr_nl sa; in libbpf_netlink_open()
/linux-6.6.21/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c210 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in do_nl_req()