Home
last modified time | relevance | path

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

1234

/third_party/libnl/
DMakefile.am47 libnlinclude_netlinkdir = $(libnlincludedir)/netlink
49 include/netlink/addr.h \
50 include/netlink/attr.h \
51 include/netlink/cache-api.h \
52 include/netlink/cache.h \
53 include/netlink/data.h \
54 include/netlink/errno.h \
55 include/netlink/handlers.h \
56 include/netlink/hash.h \
57 include/netlink/hashtable.h \
[all …]
DREADME_ZH.md13 本仓中的include/netlink/version.h及lib/defs.h文件是通过以下步骤生成
19 …根目录autogen.sh,生成configure、defs.h.in和defs.h.in~文件。然后执行configure,会在include/netlink目录下生成version.h,lib…
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Dnetlink.c23 static void netlink_receive_link(struct netlink_data *netlink, in netlink_receive_link() argument
30 cb(netlink->cfg->ctx, NLMSG_DATA(h), in netlink_receive_link()
38 struct netlink_data *netlink = eloop_ctx; in netlink_receive() local
61 netlink_receive_link(netlink, netlink->cfg->newlink_cb, in netlink_receive()
65 netlink_receive_link(netlink, netlink->cfg->dellink_cb, in netlink_receive()
93 struct netlink_data *netlink; in netlink_init() local
96 netlink = os_zalloc(sizeof(*netlink)); in netlink_init()
97 if (netlink == NULL) in netlink_init()
100 netlink->sock = socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in netlink_init()
101 if (netlink->sock < 0) { in netlink_init()
[all …]
Dnetlink.h24 void netlink_deinit(struct netlink_data *netlink);
25 int netlink_send_oper_ifla(struct netlink_data *netlink, int ifindex,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Dnetlink.c23 static void netlink_receive_link(struct netlink_data *netlink, in netlink_receive_link() argument
30 cb(netlink->cfg->ctx, NLMSG_DATA(h), in netlink_receive_link()
38 struct netlink_data *netlink = eloop_ctx; in netlink_receive() local
61 netlink_receive_link(netlink, netlink->cfg->newlink_cb, in netlink_receive()
65 netlink_receive_link(netlink, netlink->cfg->dellink_cb, in netlink_receive()
93 struct netlink_data *netlink; in netlink_init() local
96 netlink = os_zalloc(sizeof(*netlink)); in netlink_init()
97 if (netlink == NULL) in netlink_init()
100 netlink->sock = socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE); in netlink_init()
101 if (netlink->sock < 0) { in netlink_init()
[all …]
Dnetlink.h24 void netlink_deinit(struct netlink_data *netlink);
25 int netlink_send_oper_ifla(struct netlink_data *netlink, int ifindex,
/third_party/libnl/python/netlink/route/
Daddress.py17 from .. import core as netlink unknown
22 class AddressCache(netlink.Cache):
29 self._protocol = netlink.NETLINK_ROUTE
39 local = netlink.AbstractAddress(local)
56 class Address(netlink.Object):
60 netlink.Object.__init__(self, 'route/addr', 'address', obj)
90 @netlink.nlattr(type=int, immutable=True, fmt=util.num)
104 @netlink.nlattr(type=str, fmt=util.string)
128 @netlink.nlattr(type=str, fmt=util.string)
138 @netlink.nlattr(type=str, fmt=util.string)
[all …]
Dlink.py47 from .. import core as netlink unknown
112 class LinkCache(netlink.Cache):
120 self._protocol = netlink.NETLINK_ROUTE
142 class Link(netlink.Object):
146 netlink.Object.__init__(self, 'route/link', 'link', obj)
183 @netlink.nlattr(type=int, immutable=True, fmt=util.num)
198 @netlink.nlattr(type=str, fmt=util.bold)
215 @netlink.nlattr(type=str, fmt=util.string)
248 @netlink.nlattr(type=int, fmt=util.num)
258 @netlink.nlattr(type=int, immutable=True, fmt=util.num)
[all …]
Dtc.py15 from .. import core as netlink unknown
84 class TcCache(netlink.Cache):
90 class Tc(netlink.Object):
160 @netlink.nlattr(fmt=util.handle)
169 @netlink.nlattr(fmt=util.handle)
178 @netlink.nlattr(fmt=util.bold)
230 class QdiscCache(netlink.Cache):
237 self._protocol = netlink.NETLINK_ROUTE
263 netlink.Object.__init__(self, 'route/qdisc', 'qdisc', obj)
393 class TcClassCache(netlink.Cache):
[all …]
/third_party/ltp/runtest/
Dnet_stress.route5 route4-change-netlink-dst route-change-netlink-dst.sh
6 route4-change-netlink-gw route-change-netlink-gw.sh
7 route4-change-netlink-if route-change-netlink-if.sh
13 route6-change-netlink-dst route-change-netlink-dst.sh -6
14 route6-change-netlink-gw route-change-netlink-gw.sh -6
15 route6-change-netlink-if route-change-netlink-if.sh -6
Dcontainers28 netns_breakns_ns_exec_ipv4_netlink netns_breakns.sh ns_exec ipv4 netlink
29 netns_breakns_ns_exec_ipv6_netlink netns_breakns.sh ns_exec ipv6 netlink
32 netns_breakns_ip_ipv4_netlink netns_breakns.sh ip ipv4 netlink
33 netns_breakns_ip_ipv6_netlink netns_breakns.sh ip ipv6 netlink
36 netns_comm_ns_exec_ipv4_netlink netns_comm.sh ns_exec ipv4 netlink
37 netns_comm_ns_exec_ipv6_netlink netns_comm.sh ns_exec ipv6 netlink
40 netns_comm_ip_ipv4_netlink netns_comm.sh ip ipv4 netlink
41 netns_comm_ip_ipv6_netlink netns_comm.sh ip ipv6 netlink
/third_party/libnl/python/tests/
Dtest-create-bridge.py1 import netlink.core as netlink namespace
2 import netlink.route.capi as capi
3 import netlink.route.link as link
5 sock = netlink.lookup_socket(netlink.NETLINK_ROUTE)
/third_party/libnl/python/netlink/route/qdisc/
Dhtb.py11 from ... import core as netlink unknown
21 @netlink.nlattr(type=int)
30 @netlink.nlattr('r2q', type=int)
54 @netlink.nlattr(type=str)
64 @netlink.nlattr(type=str)
74 @netlink.nlattr(type=str)
84 @netlink.nlattr(type=str)
94 @netlink.nlattr(type=int)
103 @netlink.nlattr(type=int)
112 @netlink.nlattr(type=int)
/third_party/libnl/python/doc/
Dcore.rst5 .. py:module:: netlink.core
9 import netlink.core as netlink
20 obj = netlink.Object("route/link", "link")
68 by netlink protocols which handle any kind of object, e.g. network
118 addr = netlink.AbstractAddress('127.0.0.1/8')
124 a = netlink.AbstractAddress('10.0.0.1/24')
125 b = netlink.AbstractAddress('10.0.0.2/24')
155 af = netlink.AddressFamily('inet6')
170 Generic exception raised by netlink modules.
190 Note: It is not required to manually create and connect netlink sockets
[all …]
Droute_addr.rst12 import netlink.route.address as Address
20 .. py:module:: netlink.route.addr
/third_party/libnl/doc/
Dcore.txt16 over netlink sockets. It deals with connecting and disconnectng of
20 of object based netlink protocols where objects are added, removed, or
21 modified using a netlink based protocol.
46 users may only be interested in the low level netlink messaging API while
49 In any case it is recommended to get familiar with the netlink protocol
86 The main header file is `<netlink/netlink.h>`. Additional headers may need to
92 #include <netlink/netlink.h>
93 #include <netlink/cache.h>
94 #include <netlink/route/link.h>
105 #include <netlink/version.h>
[all …]
Dindex.txt21 - netlink.core
22 - netlink.route.link
Droute.txt25 family and implements the following netlink message types:
39 The routing netlink protocol uses the term _link_ and so does the _iproute2_
44 This section describes the protocol semantics of the netlink based link
63 All netlink link messages share a common header (+struct ifinfomsg+) which
64 is appended after the netlink header (+struct nlmsghdr+).
98 All link message types may carry netlink attributes. They are defined in the
107 or a netlink error message if no such link was found.
191 #include <netlink/route/link.h>
206 #include <netlink/route/link.h>
239 #include <netlink/route/link.h>
[all …]
/third_party/libnl/python/netlink/route/links/
Dinet.py15 from ... import core as netlink unknown
77 @netlink.nlattr(type=bool, fmt=util.boolean)
87 @netlink.nlattr(type=bool, fmt=util.boolean)
97 @netlink.nlattr(type=bool, fmt=util.boolean)
106 @netlink.nlattr(type=bool, fmt=util.boolean)
115 @netlink.nlattr(type=bool, fmt=util.boolean)
124 @netlink.nlattr(type=bool, fmt=util.boolean)
133 @netlink.nlattr(type=bool, fmt=util.boolean)
Dbridge.py11 from ... import core as netlink unknown
38 @netlink.nlattr(type=int)
50 @netlink.nlattr(type=int)
65 @netlink.nlattr(type=int)
80 @netlink.nlattr(type=str)
Dvlan.py12 from ... import core as netlink unknown
19 @netlink.nlattr(type=int)
29 @netlink.nlattr(type=str)
/third_party/ltp/testcases/network/stress/route/
D00_Descriptions.txt10 route{4,6}-change-netlink-dst
13 route{4,6}-change-netlink-gw
16 route{4,6}-change-netlink-if
DMakefile12 route-change-netlink: CFLAGS += $(LIBMNL_CFLAGS)
13 route-change-netlink: LDLIBS += $(LIBMNL_LIBS)
/third_party/iptables/extensions/
Dlibipt_ULOG.man5 .IR netlink
12 This specifies the netlink group (1-32) to which the packet is sent.
26 netlink multipart message to userspace. Default is 1 (for backwards
/third_party/libwebsockets/READMEs/
DREADME.routing.md18 ## Linux: netlink
20 For linux-based devices you can build in netlink-based route monitoring
22 when the context / pt starts up and modifies it according to netlink

1234