Home
last modified time | relevance | path

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

/linux/samples/connector/
A 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/samples/bpf/
A Dxdp_router_ipv4_user.c92 static int recv_msg(struct sockaddr_nl sock_addr, int sock) in recv_msg()
318 struct sockaddr_nl sa; in get_route_table()
469 struct sockaddr_nl sa; in get_arp_table()
536 struct sockaddr_nl la, lr; in monitor_route()
/linux/net/netlink/
A Daf_netlink.c994 struct sockaddr_nl *nladdr = (struct sockaddr_nl *)addr; in netlink_bind()
999 if (addr_len < sizeof(struct sockaddr_nl)) in netlink_bind()
1082 struct sockaddr_nl *nladdr = (struct sockaddr_nl *)addr; in netlink_connect()
1096 if (alen < sizeof(struct sockaddr_nl)) in netlink_connect()
1124 DECLARE_SOCKADDR(struct sockaddr_nl *, nladdr, addr); in netlink_getname()
1844 DECLARE_SOCKADDR(struct sockaddr_nl *, addr, msg->msg_name); in netlink_sendmsg()
1866 if (msg->msg_namelen < sizeof(struct sockaddr_nl)) in netlink_sendmsg()
1982 DECLARE_SOCKADDR(struct sockaddr_nl *, addr, msg->msg_name); in netlink_recvmsg()
/linux/tools/testing/vsock/
A Dvsock_diag_test.c166 struct sockaddr_nl nladdr = { in send_req()
209 struct sockaddr_nl nladdr = { in recv_resp()
/linux/tools/include/uapi/linux/
A Dnetlink.h37 struct sockaddr_nl { struct
/linux/tools/accounting/
A Dgetdelays.c92 struct sockaddr_nl local; in create_nl_socket()
124 struct sockaddr_nl nladdr; in send_cmd()
/linux/include/uapi/linux/
A Dnetlink.h37 struct sockaddr_nl { struct
/linux/tools/testing/selftests/uevent/
A Duevent_filtering.c83 struct sockaddr_nl sk_addr = { 0 }, rcv_addr = { 0 }; in uevent_listener()
/linux/tools/testing/selftests/nci/
A Dnci_dev.c93 struct sockaddr_nl local; in create_nl_socket()
115 struct sockaddr_nl nladdr; in send_cmd_mt_nla()
/linux/Documentation/driver-api/
A Dconnector.rst123 if (bind(s, (struct sockaddr *)&l_local, sizeof(struct sockaddr_nl)) == -1) {
/linux/tools/testing/selftests/net/
A Dudpgso.c360 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in set_route_mtu()
A Dipsec.c1342 struct sockaddr_nl snl = {}; in netlink_sock_bind()
/linux/tools/bpf/bpftool/
A Dnet.c98 struct sockaddr_nl sa; in netlink_open()
/linux/tools/lib/bpf/
A Dnetlink.c38 struct sockaddr_nl sa; in libbpf_netlink_open()
/linux/tools/testing/selftests/net/mptcp/
A Dpm_nl_ctl.c89 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in do_nl_req()

Completed in 39 milliseconds