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

1 2

  /external/libnl-headers/netlink/
msg.h 43 struct nl_msg;
72 extern struct nl_msg * nlmsg_alloc(void);
73 extern struct nl_msg * nlmsg_alloc_size(size_t);
74 extern struct nl_msg * nlmsg_alloc_simple(int, int);
76 extern struct nl_msg * nlmsg_inherit(struct nlmsghdr *);
77 extern struct nl_msg * nlmsg_convert(struct nlmsghdr *);
78 extern void * nlmsg_reserve(struct nl_msg *, size_t, int);
79 extern int nlmsg_append(struct nl_msg *, void *, size_t, int);
80 extern int nlmsg_expand(struct nl_msg *, size_t);
82 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 54 struct nl_msg *nlmsg_alloc_generic(uint16_t type, uint16_t flags, void *payload_struct, size_t payload_len) {
55 struct nl_msg *msg;
62 if ((sizeof(struct nl_msg) + payload_len) > msg->nm_size) {
82 struct nl_msg *nlmsg_alloc_ifaddr(uint16_t type, uint16_t flags, struct ifaddrmsg *ifa) {
92 struct nl_msg *nlmsg_alloc_ifinfo(uint16_t type, uint16_t flags, struct ifinfomsg *ifi) {
102 struct nl_msg *nlmsg_alloc_rtmsg(uint16_t type, uint16_t flags, struct rtmsg *rt) {
126 void send_netlink_msg(struct nl_msg *msg, struct nl_cb *callbacks) {
157 struct nl_msg *msg = NULL;
169 * send a nl_msg and return an int status - only supports OK/ERROR responses
172 int netlink_sendrecv(struct nl_msg *msg)
    [all...]
netlink_callbacks.c 30 static int ack_handler(struct nl_msg *msg, void *data) {
setif.c 40 struct nl_msg *msg = NULL;
101 struct nl_msg *msg = NULL;
  /external/libnl-headers/netlink/route/
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 **);
addr.h 34 struct nl_msg **);
38 struct nl_msg **);
rule.h 35 struct nl_msg **);
38 struct nl_msg **);
route.h 55 extern int rtnl_route_build_msg(struct nl_msg *, struct rtnl_route *);
58 struct nl_msg **);
61 struct nl_msg **);
neightbl.h 36 struct nl_msg **);
  /external/libnl-headers/netlink/fib_lookup/
lookup.h 33 struct nl_msg **);
  /system/core/libnl_2/
msg.c 26 struct nl_msg *nlmsg_alloc(void)
28 /* Whole page will store nl_msg + nlmsghdr + genlmsghdr + payload */
30 struct nl_msg *nm;
34 nm = (struct nl_msg *) malloc(page_sz);
39 nlh = (struct nlmsghdr *) ((char *) nm + sizeof(struct nl_msg));
55 /* Add to reference count and return nl_msg */
68 /* Add reference count to nl_msg */
69 void nlmsg_get(struct nl_msg *nm)
75 void nlmsg_free(struct nl_msg *nm)
86 struct nlmsghdr *nlmsg_hdr(struct nl_msg *n
    [all...]
attr.c 75 struct nlattr *nla_nest_start(struct nl_msg *msg, int attrtype)
88 int nla_nest_end(struct nl_msg *msg, struct nlattr *start)
151 int nla_put(struct nl_msg *msg, int attrtype, int datalen, const void *data)
166 int nla_put_u8(struct nl_msg *msg, int attrtype, uint8_t value)
172 int nla_put_u16(struct nl_msg *msg, int attrtype, uint16_t value)
178 int nla_put_u32(struct nl_msg *msg, int attrtype, uint32_t value)
184 int nla_put_u64(struct nl_msg *msg, int attrtype, uint64_t value)
193 int nla_put_nested(struct nl_msg *msg, int attrtype, struct nl_msg *nested)
211 struct nlattr *nla_reserve(struct nl_msg *msg, int attrtype, int data_len
    [all...]
netlink.c 29 int nl_send_auto_complete(struct nl_sock *sk, struct nl_msg *msg)
40 /* Complete the nl_msg header */
117 struct nl_msg *msg;
131 msg = (struct nl_msg *) malloc(sizeof(struct nl_msg));
204 int nl_send(struct nl_sock *sk, struct nl_msg *msg)
217 int nl_send_iovec(struct nl_sock *sk, struct nl_msg *msg,
234 rc = nl_sendmsg(sk, (struct nl_msg *) &mh, 0);
242 int nl_sendmsg(struct nl_sock *sk, struct nl_msg *msg, struct msghdr *hdr)
  /external/libnl-headers/netlink/genl/
genl.h 28 extern void * genlmsg_put(struct nl_msg *, uint32_t, uint32_t,
  /hardware/broadcom/wlan/bcmdhd/dhdutil/
dhdu_nl80211.c 45 static int dhd_nl_finish_handler(struct nl_msg *msg, void *arg)
52 static int dhd_nl_ack_handler(struct nl_msg *msg, void *arg)
59 static int dhd_nl_valid_handler(struct nl_msg *msg, void *arg)
103 struct nl_msg *msg;
  /hardware/ti/wlan/mac80211/ti-utils/
misc_cmds.c 21 struct nl_msg *msg,
82 struct nl_msg *msg,
122 struct nl_msg *msg, int argc, char **argv)
159 struct nl_msg *msg, int argc, char **argv)
224 struct nl_msg *msg, int argc, char **argv)
263 struct nl_msg *msg, int argc, char **argv)
306 struct nl_msg *msg, int argc, char **argv)
347 struct nl_msg *msg, int argc, char **argv)
374 struct nl_msg *msg, int argc, char **argv)
409 struct nl_msg *msg, int argc, char **argv
    [all...]
plt.c 43 struct nl_msg *msg, int argc, char **argv)
85 struct nl_msg *msg, int argc, char **argv)
123 struct nl_msg *msg, int argc, char **argv)
159 static int calib_valid_handler(struct nl_msg *msg, void *arg)
216 struct nl_msg *msg, int argc, char **argv)
268 struct nl_msg *msg, int argc, char **argv)
307 struct nl_msg *msg, int argc, char **argv)
380 struct nl_msg *msg, int argc, char **argv)
410 struct nl_msg *msg, int argc, char **argv)
440 struct nl_msg *msg, int argc, char **argv
    [all...]
  /external/libnl-headers/netlink/netfilter/
ct.h 42 struct nl_msg **);
46 struct nl_msg **);
50 struct nl_msg **);

Completed in 346 milliseconds

1 2