Home
last modified time | relevance | path

Searched refs:NETLINK_ROUTE (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/tools/testing/selftests/net/tcp_ao/lib/
Dnetlink.c189 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/
Dnetlink.c319 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/
Dxdp_router_ipv4_user.c267 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/
Dnetlink.h9 #define NETLINK_ROUTE 0 /* Routing/device hook */ macro
/linux-6.12.1/Documentation/userspace-api/netlink/
Dnetlink-raw.rst8 families such as ``NETLINK_ROUTE`` which use the ``netlink-raw`` protocol
35 protonum: 0 # part of the NETLINK_ROUTE protocol
Dintro.rst82 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``,
Dspecs.rst48 such as ``NETLINK_ROUTE``
/linux-6.12.1/include/uapi/linux/
Dnetlink.h9 #define NETLINK_ROUTE 0 /* Routing/device hook */ macro
/linux-6.12.1/tools/testing/selftests/net/
Dtap.c95 rtnl = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in dev_create()
152 rtnl = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in dev_delete()
Dtun.c77 rtnl = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in tun_delete()
Dipsec.c492 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/
Dxfrm_info.c233 sock = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, NETLINK_ROUTE); in setup_xfrmi_external_dev()
/linux-6.12.1/tools/testing/selftests/bpf/
Dnetlink_helpers.c86 return rtnl_open_byproto(rth, subscriptions, NETLINK_ROUTE); in rtnl_open()
Dxsk.c399 fd = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in xsk_set_mtu()
/linux-6.12.1/Documentation/networking/
Dstatistics.rst152 `rtnetlink` (`NETLINK_ROUTE`) is the preferred method of accessing
/linux-6.12.1/tools/bpf/bpftool/
Dnet.c119 sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in netlink_open()
/linux-6.12.1/net/netlink/
Daf_netlink.c271 case NETLINK_ROUTE: in netlink_filter_tap()
/linux-6.12.1/net/core/
Drtnetlink.c6750 sk = netlink_kernel_create(net, NETLINK_ROUTE, &cfg); in rtnetlink_net_init()
/linux-6.12.1/security/selinux/
Dhooks.c1202 case NETLINK_ROUTE: in socket_type_to_security_class()