HomeSort by relevance Sort by last modified time
    Searched full:nlmsghdr (Results 1 - 25 of 127) sorted by null

1 2 3 4 5 6

  /system/core/libnl_2/
msg.c 27 /* Whole page will store nl_msg + nlmsghdr + genlmsghdr + payload */
30 struct nlmsghdr *nlh;
38 nlh = (struct nlmsghdr *) ((char *) nm + sizeof(struct nl_msg));
62 void *nlmsg_data(const struct nlmsghdr *nlh)
85 struct nlmsghdr *nlmsg_hdr(struct nl_msg *n)
91 struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, int hdrlen)
98 void *nlmsg_tail(const struct nlmsghdr *nlh)
104 struct nlmsghdr *nlmsg_next(struct nlmsghdr *nlh, int *remaining)
106 struct nlmsghdr *next_nlh = NULL
    [all...]
  /external/iproute2/ip/
ip_common.h 2 struct nlmsghdr *n,
5 struct nlmsghdr *n,
8 struct nlmsghdr *n, void *arg);
10 struct nlmsghdr *n, void *arg);
12 struct nlmsghdr *n, void *arg);
22 struct nlmsghdr *n, void *arg);
24 struct nlmsghdr *n, void *arg);
26 struct nlmsghdr *n, void *arg);
59 struct nlmsghdr *);
  /external/libnl-headers/netlink/
msg.h 53 extern void * nlmsg_data(const struct nlmsghdr *);
54 extern int nlmsg_datalen(const struct nlmsghdr *);
55 extern int nlmsg_len(const struct nlmsghdr *);
56 extern void * nlmsg_tail(const struct nlmsghdr *);
59 extern struct nlattr * nlmsg_attrdata(const struct nlmsghdr *, int);
60 extern int nlmsg_attrlen(const struct nlmsghdr *, int);
63 extern int nlmsg_valid_hdr(const struct nlmsghdr *, int);
64 extern int nlmsg_ok(const struct nlmsghdr *, int);
65 extern struct nlmsghdr * nlmsg_next(struct nlmsghdr *, int *)
    [all...]
  /external/iproute2/tc/
tc_common.h 10 extern int print_action(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
11 extern int print_filter(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
12 extern int print_qdisc(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
13 extern int print_class(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
tc_util.h 30 int (*parse_qopt)(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n);
34 int (*parse_copt)(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n);
44 char **argv, struct nlmsghdr *n);
53 int code, struct nlmsghdr *n);
94 extern int parse_police(int *, char ***, int, struct nlmsghdr *);
98 extern int act_parse_police(struct action_util *a,int *, char ***, int, struct nlmsghdr *);
105 extern int parse_action(int *, char ***, int, struct nlmsghdr *);
  /external/iproute2/genl/
genl_utils.h 12 int (*print_genlopt)(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
  /external/iproute2/include/
libnetlink.h 29 struct nlmsghdr *n, void *);
46 extern int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer,
47 unsigned groups, struct nlmsghdr *answer,
53 extern int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data);
54 extern int addattr_l(struct nlmsghdr *n, int maxlen, int type, const void *data, int alen);
55 extern int addraw_l(struct nlmsghdr *n, int maxlen, const void *data, int len);
56 extern struct rtattr *addattr_nest(struct nlmsghdr *n, int maxlen, int type);
57 extern int addattr_nest_end(struct nlmsghdr *n, struct rtattr *nest);
58 extern struct rtattr *addattr_nest_compat(struct nlmsghdr *n, int maxlen, int type, const void *data, int len);
59 extern int addattr_nest_compat_end(struct nlmsghdr *n, struct rtattr *nest)
    [all...]
ll_map.h 5 struct nlmsghdr *n, void *arg);
  /bionic/libc/kernel/common/linux/
netlink.h 51 struct nlmsghdr struct
77 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
81 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
82 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len))
95 struct nlmsghdr msg;
  /development/ndk/platforms/android-3/include/linux/
netlink.h 46 struct nlmsghdr struct
72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len))
90 struct nlmsghdr msg;
  /external/wpa_supplicant_8/src/drivers/
priv_netlink.h 56 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
57 #define NLMSG_LENGTH(len) ((len) + NLMSG_ALIGN(sizeof(struct nlmsghdr)))
61 (struct nlmsghdr *) \
63 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \
64 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
88 struct nlmsghdr struct
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/
netlink.h 46 struct nlmsghdr struct
72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len))
90 struct nlmsghdr msg;