Home
last modified time | relevance | path

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

12345

/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/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/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/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 …]
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 …]
Dindex.txt21 - netlink.core
22 - netlink.route.link
/external/syzkaller/pkg/report/testdata/linux/guilty/
D913 netlink_dump+0x84f/0x1190 net/netlink/af_netlink.c:2168
14 __netlink_dump_start+0xc97/0xe50 net/netlink/af_netlink.c:2258
15 netlink_dump_start ./include/linux/netlink.h:165
17 netlink_rcv_skb+0x339/0x5a0 net/netlink/af_netlink.c:2339
19 netlink_unicast_kernel net/netlink/af_netlink.c:1272
20 netlink_unicast+0x13b7/0x1480 net/netlink/af_netlink.c:1298
21 netlink_sendmsg+0x10b8/0x10f0 net/netlink/af_netlink.c:1844
D3453 netlink_rcv_skb+0x355/0x5f0 net/netlink/af_netlink.c:2444
55 netlink_unicast_kernel net/netlink/af_netlink.c:1308 [inline]
56 netlink_unicast+0x1656/0x1730 net/netlink/af_netlink.c:1334
57 netlink_sendmsg+0x1048/0x1310 net/netlink/af_netlink.c:1897
77 netlink_alloc_large_skb net/netlink/af_netlink.c:1180 [inline]
78 netlink_sendmsg+0x9a6/0x1310 net/netlink/af_netlink.c:1872
D3136 netlink_rcv_skb+0x216/0x440 net/netlink/af_netlink.c:2409
38 netlink_unicast_kernel net/netlink/af_netlink.c:1273 [inline]
39 netlink_unicast+0x4e8/0x6f0 net/netlink/af_netlink.c:1299
40 netlink_sendmsg+0xa4a/0xe70 net/netlink/af_netlink.c:1862
/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/syzkaller/sys/linux/
Dsocket_netlink.txt7 include <uapi/linux/netlink.h>
14 socket$netlink(domain const[AF_NETLINK], type const[SOCK_RAW], proto flags[netlink_proto]) sock_net…
15 bind$netlink(fd sock_netlink, addr ptr[in, sockaddr_nl_proc], addrlen len[addr])
16 connect$netlink(fd sock_netlink, addr ptr[in, sockaddr_nl], addrlen len[addr])
17 getsockname$netlink(fd sock_netlink, addr ptr[out, sockaddr_nl_unspec], addrlen ptr[inout, len[addr…
18 getpeername$netlink(fd sock_netlink, peer ptr[out, sockaddr_nl_unspec], peerlen ptr[inout, len[peer…
19 sendmsg$netlink(fd sock_netlink, msg ptr[in, msghdr_netlink_generic], f flags[send_flags])
29 getsockopt$netlink(fd sock_netlink, level const[SOL_NETLINK], opt flags[netlink_sockopts], arg buff…
/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
/external/syzkaller/pkg/report/testdata/linux/report/
D77 [ 522.565344] netlink: 3 bytes leftover after parsing attributes in process 'syz-executor5'.
15 netlink: 3 bytes leftover after parsing attributes in process 'syz-executor5'.
/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/libnl/
Dconfigure.ac140 python/netlink/Makefile
141 python/netlink/genl/Makefile
142 python/netlink/route/Makefile
144 include/netlink/version.h

12345