/linux-6.12.1/tools/testing/selftests/net/tcp_ao/lib/ |
D | netlink.c | 189 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) in add_veth() 235 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) in ip_addr_add() 292 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) in ip_route_add_vrf() 339 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) in link_set_up() 407 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) in add_vrf()
|
/linux-6.12.1/tools/lib/bpf/ |
D | netlink.c | 319 return libbpf_netlink_send_recv(&req, NETLINK_ROUTE, NULL, NULL, NULL); in __bpf_set_link_xdp_fd_replace() 460 err = libbpf_netlink_send_recv(&req, NETLINK_ROUTE, __dump_link_nlmsg, in bpf_xdp_query() 603 return libbpf_netlink_send_recv(&req, NETLINK_ROUTE, NULL, NULL, NULL); in tc_qdisc_modify() 783 ret = libbpf_netlink_send_recv(&req, NETLINK_ROUTE, get_tc_info, NULL, in bpf_tc_attach() 850 return libbpf_netlink_send_recv(&req, NETLINK_ROUTE, NULL, NULL, NULL); in __bpf_tc_detach() 915 ret = libbpf_netlink_send_recv(&req, NETLINK_ROUTE, get_tc_info, NULL, in bpf_tc_query()
|
/linux-6.12.1/samples/bpf/ |
D | xdp_router_ipv4_user.c | 267 sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in get_route_table() 403 sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in get_arp_table() 458 sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in monitor_routes_thread() 477 sock_arp = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in monitor_routes_thread()
|
/linux-6.12.1/tools/include/uapi/linux/ |
D | netlink.h | 9 #define NETLINK_ROUTE 0 /* Routing/device hook */ macro
|
/linux-6.12.1/Documentation/userspace-api/netlink/ |
D | netlink-raw.rst | 8 families such as ``NETLINK_ROUTE`` which use the ``netlink-raw`` protocol 35 protonum: 0 # part of the NETLINK_ROUTE protocol
|
D | intro.rst | 82 file, they include among others - general networking (NETLINK_ROUTE), 549 Most of the concepts and examples here refer to the ``NETLINK_ROUTE`` family, 558 demultiplexing in ``NETLINK_ROUTE``. 578 in ``NETLINK_ROUTE``. It was needed because historically kernel did not 588 ``NETLINK_GET_STRICT_CHK`` is not used outside of ``NETLINK_ROUTE``. 618 ``NETLINK_ROUTE`` categorized requests into 4 types ``NEW``, ``DEL``, ``GET``,
|
D | specs.rst | 48 such as ``NETLINK_ROUTE``
|
/linux-6.12.1/include/uapi/linux/ |
D | netlink.h | 9 #define NETLINK_ROUTE 0 /* Routing/device hook */ macro
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | tap.c | 95 rtnl = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in dev_create() 152 rtnl = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in dev_delete()
|
D | tun.c | 77 rtnl = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in tun_delete()
|
D | ipsec.c | 492 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) { in init_child() 2308 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) in main()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | xfrm_info.c | 233 sock = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, NETLINK_ROUTE); in setup_xfrmi_external_dev()
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | netlink_helpers.c | 86 return rtnl_open_byproto(rth, subscriptions, NETLINK_ROUTE); in rtnl_open()
|
D | xsk.c | 399 fd = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in xsk_set_mtu()
|
/linux-6.12.1/Documentation/networking/ |
D | statistics.rst | 152 `rtnetlink` (`NETLINK_ROUTE`) is the preferred method of accessing
|
/linux-6.12.1/tools/bpf/bpftool/ |
D | net.c | 119 sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in netlink_open()
|
/linux-6.12.1/net/netlink/ |
D | af_netlink.c | 271 case NETLINK_ROUTE: in netlink_filter_tap()
|
/linux-6.12.1/net/core/ |
D | rtnetlink.c | 6750 sk = netlink_kernel_create(net, NETLINK_ROUTE, &cfg); in rtnetlink_net_init()
|
/linux-6.12.1/security/selinux/ |
D | hooks.c | 1202 case NETLINK_ROUTE: in socket_type_to_security_class()
|