Home
last modified time | relevance | path

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

1234

/external/libnl/include/
DMakefile.am6 netlink/fib_lookup/lookup.h \
7 netlink/fib_lookup/request.h \
8 netlink/genl/ctrl.h \
9 netlink/genl/family.h \
10 netlink/genl/genl.h \
11 netlink/genl/mngt.h \
12 netlink/netfilter/ct.h \
13 netlink/netfilter/exp.h \
14 netlink/netfilter/log.h \
15 netlink/netfilter/log_msg.h \
[all …]
/external/wpa_supplicant_8/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,
/external/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 …]
/external/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)
/external/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)
/external/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
/external/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 …]
/external/ltp/runtest/
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
/external/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)
/external/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
Dlibxt_NFLOG.man6 .IR netlink
12 The netlink group (0 - 2^16\-1) to which packets are (only applicable for
/external/ltp/testcases/kernel/connectors/pec/
DREADME6 Process event connector is a netlink connector that reports process events
21 This program is used to check if the kernel supports netlink connector.
/external/libnfnetlink/
DREADME1 libnfnetlink - userspace library for handling of netfilter netlink messages
7 nfnetlink is a netlink(7) based kernel/userspace transport layer. It
/external/libnl/
Dconfigure.ac140 python/netlink/Makefile
141 python/netlink/genl/Makefile
142 python/netlink/route/Makefile
144 include/netlink/version.h
Dlibnl-3.0.pc.in7 Description: Convenience library for netlink sockets
/external/libnl/python/
DMakefile.am3 SUBDIRS = doc examples netlink tests subdir
/external/libnl/python/examples/
Diface.py1 import netlink.capi as nl
2 import netlink.genl.capi as genl

1234