Home
last modified time | relevance | path

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

/external/cronet/net/third_party/quiche/src/quiche/quic/qbone/platform/
Dnetlink.cc21 Netlink::Netlink(KernelInterface* kernel) : kernel_(kernel) { in Netlink() function in quic::Netlink
25 Netlink::~Netlink() { CloseSocket(); } in ~Netlink()
27 void Netlink::ResetRecvBuf(size_t size) { in ResetRecvBuf()
36 bool Netlink::OpenSocket() { in OpenSocket()
64 void Netlink::CloseSocket() { in CloseSocket()
77 LinkInfoParser(std::string interface_name, Netlink::LinkInfo* link_info) in LinkInfoParser()
166 Netlink::LinkInfo* const link_info_;
172 bool Netlink::GetLinkInfo(const std::string& interface_name, in GetLinkInfo()
200 std::vector<Netlink::AddressInfo>* local_addresses, in LocalAddressParser()
244 Netlink::AddressInfo address_info; in Run()
[all …]
Dnetlink.h31 class Netlink : public NetlinkInterface {
33 explicit Netlink(KernelInterface* kernel);
34 ~Netlink() override;
89 bool ChangeRoute(Netlink::Verb verb, uint32_t table,
95 bool GetRuleInfo(std::vector<Netlink::IpRule>* ip_rules) override;
Dnetlink_test.cc240 auto netlink = std::make_unique<Netlink>(&mock_kernel_); in TEST_F()
265 Netlink::LinkInfo link_info; in TEST_F()
280 auto netlink = std::make_unique<Netlink>(&mock_kernel_); in TEST_F()
328 std::vector<Netlink::AddressInfo> reported_addresses; in TEST_F()
347 auto netlink = std::make_unique<Netlink>(&mock_kernel_); in TEST_F()
418 EXPECT_TRUE(netlink->ChangeLocalAddress(7, Netlink::Verb::kAdd, ip, 19, in TEST_F()
424 auto netlink = std::make_unique<Netlink>(&mock_kernel_); in TEST_F()
472 EXPECT_TRUE(netlink->ChangeLocalAddress(7, Netlink::Verb::kRemove, ip, 32, 0, in TEST_F()
477 auto netlink = std::make_unique<Netlink>(&mock_kernel_); in TEST_F()
499 std::vector<Netlink::RoutingRule> routing_rules; in TEST_F()
[all …]
/external/ltp/testcases/network/stress/route/
D00_Descriptions.txt11 Change IPv4/IPv6 route destination by Netlink API via libmnl
14 Change IPv4/IPv6 route gateway by Netlink API via libmnl
17 Change IPv4/IPv6 route interface by Netlink API via libmnl
/external/libnl/doc/
Dindex.txt8 link:core.html[Netlink Library] (libnl)::
17 Generic Netlink Library (libnl-genl)::
Dcore.txt7 Netlink Library (libnl)
29 link:core.html[Netlink Library] (libnl)::
38 Generic Netlink Library (libnl-genl)::
138 .Debugging the Netlink Protocol
186 == Netlink Protocol Fundamentals
244 Netlink may also be used as an IPC mechanism to communicate between user
292 .Netlink message header (struct nlmsghdr)
294 image:nlmsghdr.png[align="center", alt="Netlink Message Header"]
322 Netlink differs between requests, notifications, and replies. Requests
451 image:nlmsgerr.png["Netlink Errror Message header"]
[all …]
Droute.txt7 Routing Family Netlink Library (libnl-route)
42 === Netlink Protocol
58 See link:core.html#core_msg_types[Netlink Library - Message Types] for more
DDoxyfile.in198 … "ref_core{2}=\ref_asciidoc{core,\1,\2 (Netlink Core Library Development Guide)}" \
199 … "ref_route{2}=\ref_asciidoc{route,\1,\2 (Netlink Routing Development Guide)}" \
200 … "ref_idiagnl{2}=\ref_asciidoc{idiag,\1,\2 (Netlink Inet Diag Development Guide)}" \
/external/ltp/runtest/
Dconnectors1 #DESCRIPTION:Netlink Connector tests
/external/iproute2/etc/iproute2/
Dnl_protos1 # Netlink protocol names mapping
/external/libnl/
Dlibnl-genl-3.0.pc.in7 Description: Generic Netlink Library
Dlibnl-route-3.0.pc.in7 Description: Netlink Routing Family Library
Dlibnl-xfrm-3.0.pc.in7 Description: Netlink Routing Family Library
Dlibnl-nf-3.0.pc.in7 Description: Netfilter Netlink Library
Dlibnl-idiag-3.0.pc.in7 Description: Netlink Inet Diag Family Library
DMETADATA6 description: "Netlink Library Suite"
/external/libnl/python/doc/
Dcore.rst2 Netlink Core Module
188 Netlink socket.
/external/rust/crates/nix/src/sys/socket/
Daddr.rs82 Netlink = libc::AF_NETLINK, enumerator
421 libc::AF_NETLINK => Some(AddressFamily::Netlink), in from_i32()
1783 AddressFamily::Netlink, libc::sockaddr_nl, nl}
1996 Netlink(NetlinkAddr), enumerator
2043 SockAddr::Netlink(NetlinkAddr::new(pid, groups)) in new_netlink()
2074 SockAddr::Netlink(..) => AddressFamily::Netlink, in family()
2134 Some(AddressFamily::Netlink) => Some(SockAddr::Netlink( in from_libc_sockaddr()
2215 SockAddr::Netlink(NetlinkAddr(ref sa)) => ( in as_ffi_pair()
2289 SockAddr::Netlink(ref nl) => nl.fmt(f), in fmt()
2354 addr.nl_family = AddressFamily::Netlink as sa_family_t; in new()
Dmod.rs2436 Ok(SockAddr::Netlink(NetlinkAddr(snl))) in sockaddr_storage_to_addr()
/external/libwebsockets/
DCMakeLists.txt305 option(LWS_WITH_NETLINK "Monitor Netlink for Routing Table changes" ON)
Dchangelog63 - Netlink monitoring on Linux dynamically tracks interface address and
/external/rust/crates/nix/
DCHANGELOG.md574 - Added Netlink protocol families to the `SockProtocol` enum
/external/python/cpython3/Doc/whatsnew/
D2.5.rst1530 thanks to a patch from Philippe Biondi. Netlink sockets are a Linux-specific
/external/python/cpython2/Doc/whatsnew/
D2.5.rst1529 thanks to a patch from Philippe Biondi. Netlink sockets are a Linux-specific
/external/dnsmasq/
DCHANGELOG.archive1707 to a choice of "linux" or "other". Netlink is always used