Home
last modified time | relevance | path

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

12

/openbmc/phosphor-networkd/src/
H A Drtnetlink_server.cpp110 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 Dsystem_queries.cpp125 NETLINK_ROUTE, RTM_DELLINK, NLM_F_REPLACE, msg, in deleteIntf()
/openbmc/linux/Documentation/userspace-api/netlink/
H A Dnetlink-raw.rst8 families such as ``NETLINK_ROUTE`` which use the ``netlink-raw`` protocol
34 protonum: 0 # part of the NETLINK_ROUTE protocol
H A Dintro.rst82 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 Dspecs.rst48 such as ``NETLINK_ROUTE``
/openbmc/linux/tools/lib/bpf/
H A 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()
/openbmc/linux/samples/bpf/
H A 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()
/openbmc/linux/tools/include/uapi/linux/
H A Dnetlink.h9 #define NETLINK_ROUTE 0 /* Routing/device hook */ macro
/openbmc/linux/include/uapi/linux/
H A Dnetlink.h9 #define NETLINK_ROUTE 0 /* Routing/device hook */ macro
/openbmc/linux/tools/testing/selftests/net/
H A 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()
H A Dtun.c77 rtnl = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in tun_delete()
H A Dudpgso.c399 fd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in set_route_mtu()
H A Dipsec.c493 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 Dxfrm_info.c233 sock = socket(AF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, NETLINK_ROUTE); in setup_xfrmi_external_dev()
/openbmc/phosphor-networkd/test/
H A Dmock_syscall.cpp208 if (domain == AF_NETLINK && protocol == NETLINK_ROUTE) in socket()
H A Dtest_netlink.cpp312 netlink::performRequest(NETLINK_ROUTE, RTM_GETLINK, NLM_F_DUMP, msg, in doLinkDump()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dnetlink_helpers.c86 return rtnl_open_byproto(rth, subscriptions, NETLINK_ROUTE); in rtnl_open()
H A Dxsk.c396 fd = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in xsk_set_mtu()
/openbmc/inarp/
H A Dinarp.c226 inarp->nl_sd = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); in init_netlink()
/openbmc/linux/Documentation/networking/
H A Dstatistics.rst143 `rtnetlink` (`NETLINK_ROUTE`) is the preferred method of accessing
/openbmc/linux/tools/bpf/bpftool/
H A Dnet.c113 sock = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in netlink_open()
/openbmc/linux/net/netlink/
H A Daf_netlink.c271 case NETLINK_ROUTE: in netlink_filter_tap()
/openbmc/qemu/linux-user/
H A Dstrace.c516 case NETLINK_ROUTE: in print_socket_protocol()
/openbmc/linux/net/core/
H A Drtnetlink.c6548 sk = netlink_kernel_create(net, NETLINK_ROUTE, &cfg); in rtnetlink_net_init()
/openbmc/linux/security/selinux/
H A Dhooks.c1195 case NETLINK_ROUTE: in socket_type_to_security_class()

12