/openbmc/phosphor-networkd/src/ |
H A D | rtnetlink_server.cpp | 110 static_cast<stdplus::fd::SocketProto>(NETLINK_ROUTE)); in makeSock() 132 performRequest(NETLINK_ROUTE, RTM_GETLINK, NLM_F_DUMP, ifinfomsg{}, cb); 133 performRequest(NETLINK_ROUTE, RTM_GETADDR, NLM_F_DUMP, ifaddrmsg{}, cb); 134 performRequest(NETLINK_ROUTE, RTM_GETROUTE, NLM_F_DUMP, rtmsg{}, cb); 135 performRequest(NETLINK_ROUTE, RTM_GETNEIGH, NLM_F_DUMP, ndmsg{}, cb);
|
H A D | system_queries.cpp | 125 NETLINK_ROUTE, RTM_DELLINK, NLM_F_REPLACE, msg, in deleteIntf()
|
/openbmc/linux/Documentation/userspace-api/netlink/ |
H A D | netlink-raw.rst | 8 families such as ``NETLINK_ROUTE`` which use the ``netlink-raw`` protocol 34 protonum: 0 # part of the NETLINK_ROUTE protocol
|
H A D | intro.rst | 82 file, they include among others - general networking (NETLINK_ROUTE), 545 Most of the concepts and examples here refer to the ``NETLINK_ROUTE`` family, 554 demultiplexing in ``NETLINK_ROUTE``. 574 in ``NETLINK_ROUTE``. It was needed because historically kernel did not 584 ``NETLINK_GET_STRICT_CHK`` is not used outside of ``NETLINK_ROUTE``. 614 ``NETLINK_ROUTE`` categorized requests into 4 types ``NEW``, ``DEL``, ``GET``,
|
H A D | specs.rst | 48 such as ``NETLINK_ROUTE``
|
/openbmc/linux/tools/lib/bpf/ |
H A 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()
|
/openbmc/linux/samples/bpf/ |
H A 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()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | netlink.h | 9 #define NETLINK_ROUTE 0 /* Routing/device hook */ macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | netlink.h | 9 #define NETLINK_ROUTE 0 /* Routing/device hook */ macro
|
/openbmc/linux/tools/testing/selftests/net/ |
H A 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()
|
H A D | tun.c | 77 rtnl = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in tun_delete()
|
H A D | udpgso.c | 399 fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in set_route_mtu()
|
H A D | ipsec.c | 493 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) { in init_child() 2309 if (netlink_sock(&route_sock, &route_seq, NETLINK_ROUTE)) in main()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xfrm_info.c | 233 sock = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, NETLINK_ROUTE); in setup_xfrmi_external_dev()
|
/openbmc/phosphor-networkd/test/ |
H A D | mock_syscall.cpp | 208 if (domain == AF_NETLINK && protocol == NETLINK_ROUTE) in socket()
|
H A D | test_netlink.cpp | 312 netlink::performRequest(NETLINK_ROUTE, RTM_GETLINK, NLM_F_DUMP, msg, in doLinkDump()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | netlink_helpers.c | 86 return rtnl_open_byproto(rth, subscriptions, NETLINK_ROUTE); in rtnl_open()
|
H A D | xsk.c | 396 fd = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in xsk_set_mtu()
|
/openbmc/inarp/ |
H A D | inarp.c | 226 inarp->nl_sd = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in init_netlink()
|
/openbmc/linux/Documentation/networking/ |
H A D | statistics.rst | 143 `rtnetlink` (`NETLINK_ROUTE`) is the preferred method of accessing
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | net.c | 113 sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in netlink_open()
|
/openbmc/linux/net/netlink/ |
H A D | af_netlink.c | 271 case NETLINK_ROUTE: in netlink_filter_tap()
|
/openbmc/qemu/linux-user/ |
H A D | strace.c | 516 case NETLINK_ROUTE: in print_socket_protocol()
|
/openbmc/linux/net/core/ |
H A D | rtnetlink.c | 6548 sk = netlink_kernel_create(net, NETLINK_ROUTE, &cfg); in rtnetlink_net_init()
|
/openbmc/linux/security/selinux/ |
H A D | hooks.c | 1195 case NETLINK_ROUTE: in socket_type_to_security_class()
|