HomeSort by relevance Sort by last modified time
    Searched full:nlmsghdr (Results 76 - 100 of 241) sorted by null

1 2 34 5 6 7 8 910

  /external/iproute2/tc/
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);
91 extern int parse_police(int *, char ***, int, struct nlmsghdr *);
95 extern int act_parse_police(struct action_util *a,int *, char ***, int, struct nlmsghdr *);
102 extern int parse_action(int *, char ***, int, struct nlmsghdr *);
m_ematch.h 87 int (*parse_eopt)(struct nlmsghdr *,struct tcf_ematch_hdr *,
109 extern int parse_ematch(int *, char ***, int, struct nlmsghdr *);
  /frameworks/base/core/java/android/net/netlink/
RtNetlinkNeighborMessage.java 128 final StructNlMsgHdr nlmsghdr = new StructNlMsgHdr(); local
129 nlmsghdr.nlmsg_len = length;
130 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_GETNEIGH;
131 nlmsghdr.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP;
132 nlmsghdr.nlmsg_seq = seqNo;
133 nlmsghdr.pack(byteBuffer);
147 final StructNlMsgHdr nlmsghdr = new StructNlMsgHdr(); local
148 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_NEWNEIGH;
149 nlmsghdr.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_REPLACE;
150 nlmsghdr.nlmsg_seq = seqNo
    [all...]
  /external/strace/tests/
netlink_inet_diag.c 16 struct nlmsghdr nlh;
66 struct nlmsghdr *h = (struct nlmsghdr*)buf;
netlink_unix_diag.c 23 struct nlmsghdr nlh;
74 struct nlmsghdr *h = (struct nlmsghdr*)buf;
  /external/iproute2/man/man3/
libnetlink.3 23 int (*filter)(struct sockaddr_nl *, struct nlmsghdr *n, void *),
25 int (*junk)(struct sockaddr_nl *,struct nlmsghdr *n, void *),
28 int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer,
29 unsigned groups, struct nlmsghdr *answer,
31 int (*junk)(struct sockaddr_nl *,struct nlmsghdr *n, void *),
36 int (*handler)(struct sockaddr_nl *,struct nlmsghdr *n, void *),
40 int (*handler)(struct sockaddr_nl *,struct nlmsghdr *n, void *),
43 int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data)
45 int addattr_l(struct nlmsghdr *n, int maxlen, int type, void *data, int alen)
  /system/extras/tests/net_test/
cstruct.py 22 >>> NLMsgHdr = cstruct.Struct("NLMsgHdr", "=LHHLL", "length type flags seq pid")
26 ... n1 = NLMsgHdr((44, 32, 0x2, 0, 491))
28 NLMsgHdr(length=44, type=32, flags=2, seq=0, pid=491)
30 >>> n2 = NLMsgHdr("\x2c\x00\x00\x00\x21\x00\x02\x00"
33 NLMsgHdr(length=44, type=33, flags=2, seq=0, pid=510)
44 >>> cstruct.Read(data, NLMsgHdr)
45 (NLMsgHdr(length=44, type=33, flags=2, seq=0, pid=510), 'more data')
  /external/dnsmasq/src/
netlink.c 36 static void nl_err(struct nlmsghdr *h);
37 static void nl_routechange(struct nlmsghdr *h);
128 struct nlmsghdr *h;
134 struct nlmsghdr nlh;
170 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len))
239 struct nlmsghdr *h;
249 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len))
260 static void nl_err(struct nlmsghdr *h)
273 static void nl_routechange(struct nlmsghdr *h)
  /external/libnl/lib/
msg.c 30 * The Netlink message header (\link nlmsghdr struct nlmsghdr\endlink) is shown below.
51 * | struct nlmsghdr | | | |
60 * | nlmsghdr | Pad | Payload | Pad | nlmsghdr
113 * struct nlmsghdr hdr = {
148 * struct nlmsghdr *hdr;
152 * hdr = (struct nlmsghdr *) buf;
218 void *nlmsg_data(const struct nlmsghdr *nlh)
223 void *nlmsg_tail(const struct nlmsghdr *nlh
    [all...]
  /external/iptables/libipq/
libipq.c 129 struct nlmsghdr *nlh;
185 nlh = (struct nlmsghdr *)buf;
272 struct nlmsghdr nlh;
298 return ((struct nlmsghdr*)buf)->nlmsg_type;
303 struct nlmsghdr *h = (struct nlmsghdr *)buf;
310 return NLMSG_DATA((struct nlmsghdr *)(buf));
321 struct nlmsghdr nlh;
  /external/libnl/lib/genl/
genl.c 20 * | struct nlmsghdr | | | |
75 * struct nlmsghdr *nlh = nlmsg_hdr(msg);
146 int genlmsg_valid_hdr(struct nlmsghdr *nlh, int hdrlen)
160 int genlmsg_validate(struct nlmsghdr *nlh, int hdrlen, int maxtype,
173 int genlmsg_parse(struct nlmsghdr *nlh, int hdrlen, struct nlattr *tb[],
201 struct nlmsghdr *nlh = (struct nlmsghdr *)((unsigned char *)gnlh -
249 struct nlmsghdr *nlh;
  /bionic/libc/kernel/uapi/linux/
netlink.h 61 struct nlmsghdr { struct
89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr *) (((char *) (nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
95 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len))
106 struct nlmsghdr msg;
  /development/ndk/platforms/android-21/include/linux/
netlink.h 61 struct nlmsghdr { struct
89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
95 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len))
106 struct nlmsghdr msg;
  /external/iproute2/include/linux/
netlink.h 41 struct nlmsghdr { struct
80 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
85 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
86 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
87 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
100 struct nlmsghdr msg;
  /external/kernel-headers/original/uapi/linux/
netlink.h 42 struct nlmsghdr { struct
81 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
86 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
87 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
88 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
101 struct nlmsghdr msg;
  /external/libnl/include/linux/
netlink.h 38 struct nlmsghdr struct
77 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
82 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
83 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
84 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
98 struct nlmsghdr msg;
  /external/libnl/lib/netfilter/
nfnl.c 22 * | struct nlmsghdr | | | |
131 uint8_t nfnlmsg_subsys(struct nlmsghdr *nlh)
140 uint8_t nfnlmsg_subtype(struct nlmsghdr *nlh)
149 uint8_t nfnlmsg_family(struct nlmsghdr *nlh)
160 uint16_t nfnlmsg_res_id(struct nlmsghdr *nlh)
234 struct nlmsghdr *nlh;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/
netlink.h 40 struct nlmsghdr struct
79 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
84 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
85 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
86 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
100 struct nlmsghdr msg;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
netlink.h 39 struct nlmsghdr { struct
78 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
83 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
84 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
85 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
98 struct nlmsghdr msg;
  /prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/linux/
netlink.h 61 struct nlmsghdr { struct
89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
95 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len))
106 struct nlmsghdr msg;
  /prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/linux/
netlink.h 61 struct nlmsghdr { struct
89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
95 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len))
106 struct nlmsghdr msg;
  /prebuilts/ndk/9/platforms/android-21/arch-mips/usr/include/linux/
netlink.h 61 struct nlmsghdr { struct
89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
95 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len))
106 struct nlmsghdr msg;
  /prebuilts/ndk/9/platforms/android-21/arch-mips64/usr/include/linux/
netlink.h 61 struct nlmsghdr { struct
89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
95 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len))
106 struct nlmsghdr msg;
  /prebuilts/ndk/9/platforms/android-21/arch-x86/usr/include/linux/
netlink.h 61 struct nlmsghdr { struct
89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
95 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len))
106 struct nlmsghdr msg;
  /prebuilts/ndk/9/platforms/android-21/arch-x86_64/usr/include/linux/
netlink.h 61 struct nlmsghdr { struct
89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
95 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len))
106 struct nlmsghdr msg;

Completed in 287 milliseconds

1 2 34 5 6 7 8 910