HomeSort by relevance Sort by last modified time
    Searched refs:nl_msg (Results 1 - 25 of 79) sorted by null

1 2 3 4

  /external/libnl/include/netlink/
msg.h 43 struct nl_msg;
71 extern struct nl_msg * nlmsg_alloc(void);
72 extern struct nl_msg * nlmsg_alloc_size(size_t);
73 extern struct nl_msg * nlmsg_alloc_simple(int, int);
75 extern struct nl_msg * nlmsg_inherit(struct nlmsghdr *);
76 extern struct nl_msg * nlmsg_convert(struct nlmsghdr *);
77 extern void * nlmsg_reserve(struct nl_msg *, size_t, int);
78 extern int nlmsg_append(struct nl_msg *, void *, size_t, int);
79 extern int nlmsg_expand(struct nl_msg *, size_t);
81 extern struct nlmsghdr * nlmsg_put(struct nl_msg *, uint32_t, uint32_t
    [all...]
attr.h 24 struct nl_msg;
95 extern struct nlattr * nla_reserve(struct nl_msg *, int, int);
96 extern int nla_put(struct nl_msg *, int, int, const void *);
97 extern int nla_put_data(struct nl_msg *, int, struct nl_data *);
98 extern int nla_put_addr(struct nl_msg *, int, struct nl_addr *);
102 extern int nla_put_u8(struct nl_msg *, int, uint8_t);
104 extern int nla_put_u16(struct nl_msg *, int, uint16_t);
106 extern int nla_put_u32(struct nl_msg *, int, uint32_t);
108 extern int nla_put_u64(struct nl_msg *, int, uint64_t);
113 extern int nla_put_string(struct nl_msg *, int, const char *)
    [all...]
netlink.h 50 extern int nl_sendmsg(struct nl_sock *, struct nl_msg *,
52 extern int nl_send(struct nl_sock *, struct nl_msg *);
53 extern int nl_send_iovec(struct nl_sock *, struct nl_msg *,
56 struct nl_msg *);
58 struct nl_msg *);
handlers.h 27 struct nl_msg;
41 typedef int (*nl_recvmsg_msg_cb_t)(struct nl_msg *msg, void *arg);
138 struct nl_msg *));
  /external/android-clat/
netlink_msg.h 22 struct nl_msg *nlmsg_alloc_ifaddr(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa);
23 struct nl_msg *nlmsg_alloc_ifinfo(uint16_t type, uint16_t flags, struct ifinfomsg *ifi);
24 struct nl_msg *nlmsg_alloc_rtmsg(uint16_t type, uint16_t flags, struct rtmsg *rt);
25 void send_netlink_msg(struct nl_msg *msg, struct nl_cb *callbacks);
27 int netlink_sendrecv(struct nl_msg *msg);
netlink_msg.c 55 struct nl_msg *nlmsg_alloc_generic(uint16_t type, uint16_t flags, void *payload_struct, size_t payload_len) {
56 struct nl_msg *msg;
63 if ((sizeof(struct nl_msg) + payload_len) > msg->nm_size) {
83 struct nl_msg *nlmsg_alloc_ifaddr(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa) {
93 struct nl_msg *nlmsg_alloc_ifinfo(uint16_t type, uint16_t flags, struct ifinfomsg *ifi) {
103 struct nl_msg *nlmsg_alloc_rtmsg(uint16_t type, uint16_t flags, struct rtmsg *rt) {
127 void send_netlink_msg(struct nl_msg *msg, struct nl_cb *callbacks) {
158 struct nl_msg *msg = NULL;
170 * send a nl_msg and return an int status - only supports OK/ERROR responses
173 int netlink_sendrecv(struct nl_msg *msg)
    [all...]
  /external/libnl/include/netlink/route/
qdisc-modules.h 41 struct nl_msg *(*qo_get_opts)(struct rtnl_qdisc *);
43 int (*qo_build_msg)(struct rtnl_qdisc *, struct nl_msg *);
classifier.h 33 struct nl_msg **);
37 struct nl_msg **);
39 struct nl_msg **);
qdisc.h 36 struct nl_msg **);
41 struct nl_msg **);
46 struct nl_msg **);
67 extern struct nl_msg * rtnl_qdisc_get_opts(struct rtnl_qdisc *);
class.h 38 struct nl_msg **);
43 struct nl_msg **);
neighbour.h 40 struct nl_msg **);
44 struct nl_msg **);
class-modules.h 41 struct nl_msg *(*co_get_opts)(struct rtnl_class *);
classifier-modules.h 46 int (*co_get_opts)(struct rtnl_cls *, struct nl_msg *);
  /external/libnl/lib/netfilter/
log.c 35 uint8_t command, struct nl_msg **result)
37 struct nl_msg *msg;
57 static int send_log_request(struct nl_sock *sk, struct nl_msg *msg)
69 int nfnl_log_build_pf_bind(uint8_t pf, struct nl_msg **result)
76 struct nl_msg *msg;
85 int nfnl_log_build_pf_unbind(uint8_t pf, struct nl_msg **result)
92 struct nl_msg *msg;
102 struct nl_msg **result)
104 struct nl_msg *msg;
162 struct nl_msg **result
    [all...]
queue.c 37 static int send_queue_request(struct nl_sock *sk, struct nl_msg *msg)
55 uint8_t command, struct nl_msg **result)
57 struct nl_msg *msg;
79 int nfnl_queue_build_pf_bind(uint8_t pf, struct nl_msg **result)
86 struct nl_msg *msg;
95 int nfnl_queue_build_pf_unbind(uint8_t pf, struct nl_msg **result)
102 struct nl_msg *msg;
112 struct nl_msg **result)
114 struct nl_msg *msg;
161 struct nl_msg **result
    [all...]
  /external/libnl/include/netlink/netfilter/
log.h 86 extern int nfnl_log_build_pf_bind(uint8_t, struct nl_msg **);
89 extern int nfnl_log_build_pf_unbind(uint8_t, struct nl_msg **);
93 struct nl_msg **);
97 struct nl_msg **);
101 struct nl_msg **);
queue.h 64 extern int nfnl_queue_build_pf_bind(uint8_t, struct nl_msg **);
67 extern int nfnl_queue_build_pf_unbind(uint8_t, struct nl_msg **);
71 struct nl_msg **);
76 struct nl_msg **);
81 struct nl_msg **);
nfnl.h 35 extern struct nl_msg * nfnlmsg_alloc_simple(uint8_t, uint8_t, int,
37 extern int nfnlmsg_put(struct nl_msg *, uint32_t, uint32_t,
  /external/libnl/include/netlink/fib_lookup/
lookup.h 33 struct nl_msg **);
  /external/libnl/include/netlink/route/link/
info-api.h 57 int (*io_put_attrs)(struct nl_msg *, struct rtnl_link *);
  /external/libnl/lib/
msg.c 105 * struct nl_msg *msg = nlmsg_alloc();
109 * struct nl_msg *msg = nlmsg_alloc_simple(MY_TYPE, MY_FLAGS);
117 * struct nl_msg *msg = nlmsg_inherit(&hdr);
120 * // can be converted into nl_msg objects using nlmsg_convert(). This
124 * struct nl_msg *msg = nlmsg_convert(nlh_from_nl_sock);
367 static struct nl_msg *__nlmsg_alloc(size_t len)
369 struct nl_msg *nm;
404 struct nl_msg *nlmsg_alloc(void)
412 struct nl_msg *nlmsg_alloc_size(size_t max)
427 struct nl_msg *nlmsg_inherit(struct nlmsghdr *hdr
    [all...]
attr.c 262 * void my_func(struct nl_msg *msg)
277 * struct nl_msg *build_msg(int ifindex, struct nl_addr *lladdr, int mtu)
279 * struct nl_msg *msg;
331 * int parse_message(struct nl_msg *msg)
798 struct nlattr *nla_reserve(struct nl_msg *msg, int attrtype, int attrlen)
837 int nla_put(struct nl_msg *msg, int attrtype, int datalen, const void *data)
864 int nla_put_data(struct nl_msg *msg, int attrtype, struct nl_data *data)
879 int nla_put_addr(struct nl_msg *msg, int attrtype, struct nl_addr *addr)
900 int nla_put_u8(struct nl_msg *msg, int attrtype, uint8_t value)
925 int nla_put_u16(struct nl_msg *msg, int attrtype, uint16_t value
    [all...]
handlers.c 50 static int nl_valid_handler_verbose(struct nl_msg *msg, void *arg)
61 static int nl_invalid_handler_verbose(struct nl_msg *msg, void *arg)
72 static int nl_overrun_handler_verbose(struct nl_msg *msg, void *arg)
96 static int nl_valid_handler_debug(struct nl_msg *msg, void *arg)
107 static int nl_finish_handler_debug(struct nl_msg *msg, void *arg)
118 static int nl_msg_in_handler_debug(struct nl_msg *msg, void *arg)
128 static int nl_msg_out_handler_debug(struct nl_msg *msg, void *arg)
138 static int nl_skipped_handler_debug(struct nl_msg *msg, void *arg)
149 static int nl_ack_handler_debug(struct nl_msg *msg, void *arg)
388 int (*func)(struct nl_sock *, struct nl_msg *))
    [all...]
  /external/libnl/lib/route/
class.c 79 struct nl_msg **result)
90 struct nl_msg *opts;
124 struct nl_msg **result)
146 struct nl_msg *msg;
161 struct nl_msg **result)
163 struct nl_msg *msg;
200 struct nl_msg *msg;
route.c 104 struct nl_msg **result)
106 struct nl_msg *msg;
122 struct nl_msg **result)
130 struct nl_msg *msg;
145 struct nl_msg **result)
152 struct nl_msg *msg;

Completed in 285 milliseconds

1 2 3 4