/system/extras/tests/net_test/ |
iproute.py | 46 NLMsgHdr = cstruct.Struct("NLMsgHdr", "=LHHLL", "length type flags seq pid") 380 hdr = NLMsgHdr(response) 386 hdr, data = cstruct.Read(response, NLMsgHdr) 409 length = len(NLMsgHdr) + len(data) 410 nlmsg = NLMsgHdr((length, command, flags, self.seq, self.pid)).Pack() 486 nlmsghdr, data = cstruct.Read(data, NLMsgHdr) 487 self._Debug(" %s" % nlmsghdr) 489 if nlmsghdr.type == NLMSG_ERROR or nlmsghdr.type == NLMSG_DONE [all...] |
/external/dhcpcd/ |
if-linux.c | 152 int (*callback)(struct nlmsghdr *)) 156 struct nlmsghdr *nlm; 195 for (nlm = (struct nlmsghdr *)buf; 211 err_netlink(struct nlmsghdr *nlm) 231 link_route(struct nlmsghdr *nlm) 292 link_addr(struct nlmsghdr *nlm) 342 link_netlink(struct nlmsghdr *nlm) 410 send_netlink(struct nlmsghdr *hdr) 440 add_attr_l(struct nlmsghdr *n, unsigned int maxlen, int type, 461 add_attr_32(struct nlmsghdr *n, unsigned int maxlen, int type, uint32_t data [all...] |
/external/iproute2/tc/ |
q_drr.c | 37 static int drr_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n) 53 struct nlmsghdr *n)
|
q_qfq.c | 39 struct nlmsghdr *n) 57 struct nlmsghdr *n)
|
q_ingress.c | 35 static int ingress_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n)
|
m_action.c | 78 static int parse_noaopt(struct action_util *au, int *argc_p, char ***argv_p, int code, struct nlmsghdr *n) 168 parse_action(int *argc_p, char ***argv_p, int tca_id, struct nlmsghdr *n) 332 struct nlmsghdr *n, 383 struct nlmsghdr *ans = NULL; 386 struct nlmsghdr n; 491 struct nlmsghdr n; 530 struct nlmsghdr n; 567 msg_size = NLMSG_ALIGN(req.n.nlmsg_len) - NLMSG_ALIGN(sizeof(struct nlmsghdr));
|
q_dsmark.c | 30 struct nlmsghdr *n) 92 struct nlmsghdr *n)
|
m_pedit.h | 58 int parse_pedit(struct action_util *a, int *argc_p, char ***argv_p, int tca_id, struct nlmsghdr *n);
|
/external/libnl/include/netlink/netfilter/ |
log.h | 25 struct nlmsghdr; 43 extern int nfnlmsg_log_parse(struct nlmsghdr *,
|
log_msg.h | 24 struct nlmsghdr; 31 extern int nfnlmsg_log_msg_parse(struct nlmsghdr *,
|
queue_msg.h | 22 struct nlmsghdr; 29 extern int nfnlmsg_queue_msg_parse(struct nlmsghdr *,
|
ct.h | 33 extern int nfnlmsg_ct_group(struct nlmsghdr *); 34 extern int nfnlmsg_ct_parse(struct nlmsghdr *, struct nfnl_ct **);
|
/external/libnl/include/netlink/ |
netlink-kernel.h | 27 struct nlmsghdr struct 188 struct nlmsghdr msg;
|
/frameworks/base/core/tests/coretests/src/android/net/netlink/ |
NetlinkErrorMessageTest.java | 39 // struct nlmsghdr 47 // struct nlmsghdr
|
/external/iproute2/ip/ |
link_veth.c | 28 struct nlmsghdr *hdr)
|
xfrm_monitor.c | 46 struct nlmsghdr *n, void *arg) 107 struct nlmsghdr *n, void *arg) 137 struct nlmsghdr *n, void *arg) 175 struct nlmsghdr *n, void *arg) 240 struct nlmsghdr *n, void *arg) 271 struct nlmsghdr *n, void *arg) 293 struct nlmsghdr *n, void *arg)
|
iplink_macvtap.c | 35 struct nlmsghdr *n)
|
/external/libnl/include/netlink/genl/ |
mngt.h | 28 struct nlmsghdr * nlh;
|
/external/libselinux/src/ |
avc_internal.c | 105 struct nlmsghdr *nlh = (struct nlmsghdr *)buf; 161 struct nlmsghdr *nlh = (struct nlmsghdr *)buf;
|
/external/selinux/libselinux/src/ |
avc_internal.c | 105 struct nlmsghdr *nlh = (struct nlmsghdr *)buf; 161 struct nlmsghdr *nlh = (struct nlmsghdr *)buf;
|
/external/wpa_supplicant_8/src/drivers/ |
netlink.c | 26 struct nlmsghdr *h) 43 struct nlmsghdr *h; 57 h = (struct nlmsghdr *) buf; 173 struct nlmsghdr hdr;
|
/frameworks/base/core/java/android/net/netlink/ |
NetlinkErrorMessage.java | 57 + "nlmsghdr{" + (mHeader == null ? "" : mHeader.toString()) + "}, "
|
/external/iputils/ninfod/ |
ni_ifaddrs.c | 96 struct nlmsghdr *nlh; 115 char reqbuf[NLMSG_ALIGN(sizeof(struct nlmsghdr)) + NLMSG_ALIGN(sizeof(struct rtgenmsg))]; 117 struct nlmsghdr *req_hdr; 124 req_hdr = (struct nlmsghdr *) reqbuf; 163 static int nl_getmsg(int sd, int request, int seq, struct nlmsghdr **nlhp, int *done) 165 struct nlmsghdr *nh; 187 nh = (struct nlmsghdr *) buff; 188 for (nh = (struct nlmsghdr *) buff; NLMSG_OK(nh, read_size); nh = (struct nlmsghdr *) NLMSG_NEXT(nh, read_size)) { 214 *nlhp = (struct nlmsghdr *) buff [all...] |
/external/libnl/lib/netfilter/ |
log_msg.c | 65 int nfnlmsg_log_msg_parse(struct nlmsghdr *nlh, struct nfnl_log_msg **result) 170 struct nlmsghdr *nlh, struct nl_parser_param *pp)
|
/external/libpcap/ |
pcap-netfilter-linux.c | 110 const struct nlmsghdr *nlh = (const struct nlmsghdr *) buf; 114 if (nlh->nlmsg_len < sizeof(struct nlmsghdr) || len < nlh->nlmsg_len) { 180 pkth.caplen = pkth.len = nlh->nlmsg_len-NLMSG_ALIGN(sizeof(struct nlmsghdr)); 248 struct nlmsghdr *nlh = (struct nlmsghdr *) buf; 249 struct nfgenmsg *nfg = (struct nfgenmsg *) (buf + sizeof(struct nlmsghdr)); 304 nlh = (struct nlmsghdr *) buf;
|