Searched refs:sockaddr_nl (Results 1 – 15 of 15) sorted by relevance
/linux/samples/connector/ |
A D | ucon.c | 103 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 D | xdp_router_ipv4_user.c | 92 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 D | af_netlink.c | 994 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 D | vsock_diag_test.c | 166 struct sockaddr_nl nladdr = { in send_req() 209 struct sockaddr_nl nladdr = { in recv_resp()
|
/linux/tools/include/uapi/linux/ |
A D | netlink.h | 37 struct sockaddr_nl { struct
|
/linux/tools/accounting/ |
A D | getdelays.c | 92 struct sockaddr_nl local; in create_nl_socket() 124 struct sockaddr_nl nladdr; in send_cmd()
|
/linux/include/uapi/linux/ |
A D | netlink.h | 37 struct sockaddr_nl { struct
|
/linux/tools/testing/selftests/uevent/ |
A D | uevent_filtering.c | 83 struct sockaddr_nl sk_addr = { 0 }, rcv_addr = { 0 }; in uevent_listener()
|
/linux/tools/testing/selftests/nci/ |
A D | nci_dev.c | 93 struct sockaddr_nl local; in create_nl_socket() 115 struct sockaddr_nl nladdr; in send_cmd_mt_nla()
|
/linux/Documentation/driver-api/ |
A D | connector.rst | 123 if (bind(s, (struct sockaddr *)&l_local, sizeof(struct sockaddr_nl)) == -1) {
|
/linux/tools/testing/selftests/net/ |
A D | udpgso.c | 360 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in set_route_mtu()
|
A D | ipsec.c | 1342 struct sockaddr_nl snl = {}; in netlink_sock_bind()
|
/linux/tools/bpf/bpftool/ |
A D | net.c | 98 struct sockaddr_nl sa; in netlink_open()
|
/linux/tools/lib/bpf/ |
A D | netlink.c | 38 struct sockaddr_nl sa; in libbpf_netlink_open()
|
/linux/tools/testing/selftests/net/mptcp/ |
A D | pm_nl_ctl.c | 89 struct sockaddr_nl nladdr = { .nl_family = AF_NETLINK }; in do_nl_req()
|
Completed in 39 milliseconds