/external/strace/tests/ |
netlink_inet_diag.c | 43 struct nlmsghdr nlh; 93 struct nlmsghdr *h = (struct nlmsghdr*)buf;
|
netlink_unix_diag.c | 50 struct nlmsghdr nlh; 101 struct nlmsghdr *h = (struct nlmsghdr*)buf;
|
/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/iproute2/tc/ |
q_ingress.c | 24 struct nlmsghdr *n)
|
q_multiq.c | 44 struct nlmsghdr *n)
|
tc_bpf.h | 57 const char **ptr_uds_name, struct nlmsghdr *n);
|
m_ematch.h | 88 int (*parse_eopt)(struct nlmsghdr *,struct tcf_ematch_hdr *, 110 extern int parse_ematch(int *, char ***, int, struct nlmsghdr *);
|
q_drr.c | 37 static int drr_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n) 53 struct nlmsghdr *n)
|
/external/libnl/include/netlink/ |
cache-api.h | 54 * struct nlmsghdr *nlh, struct nl_parser_param *pp) 183 struct nlmsghdr *, struct nl_parser_param *);
|
/external/libnl/include/netlink/genl/ |
mngt.h | 28 struct nlmsghdr * nlh;
|
/system/connectivity/shill/net/ |
generic_netlink_message.cc | 32 // Build nlmsghdr. 50 nlmsghdr* pheader = reinterpret_cast<nlmsghdr*>(result.GetData()); 68 nlmsghdr* pheader = reinterpret_cast<nlmsghdr*>(result.GetData());
|
netlink_message.cc | 59 nlmsghdr header; 75 const nlmsghdr& header = packet->GetNlMsgHeader(); 104 if (num_bytes >= sizeof(nlmsghdr)) { 105 PrintHeader(log_level, reinterpret_cast<const nlmsghdr*>(buf)); 106 buf += sizeof(nlmsghdr); 107 num_bytes -= sizeof(nlmsghdr); 110 << ") for a complete nlmsghdr (requires " 111 << sizeof(nlmsghdr) << ")."; 131 void NetlinkMessage::PrintHeader(int log_level, const nlmsghdr* header) {
|
/system/core/logd/ |
libaudit.h | 48 struct nlmsghdr nlh;
|
/system/extras/tests/net_test/ |
netlink.py | 44 NLMsgHdr = cstruct.Struct("NLMsgHdr", "=LHHLL", "length type flags seq pid") 154 hdr = NLMsgHdr(response) 160 hdr, data = cstruct.Read(response, NLMsgHdr) 174 length = len(NLMsgHdr) + len(data) 175 nlmsg = NLMsgHdr((length, command, flags, self.seq, self.pid)).Pack() 187 nlmsghdr, data = cstruct.Read(data, NLMsgHdr) 188 self._Debug(" %s" % nlmsghdr) 190 if nlmsghdr.type == NLMSG_ERROR or nlmsghdr.type == NLMSG_DONE [all...] |
/device/google/marlin/dataservices/sockev/src/ |
sockev_cli.c | 50 struct nlmsghdr *nlh = NULL; 53 nlh = (struct nlmsghdr *)
|
/device/huawei/angler/dataservices/sockev/src/ |
sockev_cli.c | 50 struct nlmsghdr *nlh = NULL; 53 nlh = (struct nlmsghdr *)
|
/external/iproute2/tipc/ |
media.c | 26 static int media_list_cb(const struct nlmsghdr *nlh, void *data) 45 static int cmd_media_list(struct nlmsghdr *nlh, const struct cmd *cmd, 63 static int media_get_cb(const struct nlmsghdr *nlh, void *data) 88 static int cmd_media_get_prop(struct nlmsghdr *nlh, const struct cmd *cmd, 143 static int cmd_media_get(struct nlmsghdr *nlh, const struct cmd *cmd, 166 static int cmd_media_set_prop(struct nlmsghdr *nlh, const struct cmd *cmd, 224 static int cmd_media_set(struct nlmsghdr *nlh, const struct cmd *cmd, 249 int cmd_media(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl,
|
link.c | 26 static int link_list_cb(const struct nlmsghdr *nlh, void *data) 50 static int cmd_link_list(struct nlmsghdr *nlh, const struct cmd *cmd, 68 static int link_get_cb(const struct nlmsghdr *nlh, void *data) 94 static int cmd_link_get_prop(struct nlmsghdr *nlh, const struct cmd *cmd, 146 static int cmd_link_get(struct nlmsghdr *nlh, const struct cmd *cmd, 164 static int cmd_link_stat_reset(struct nlmsghdr *nlh, const struct cmd *cmd, 317 static int link_stat_show_cb(const struct nlmsghdr *nlh, void *data) 361 static int cmd_link_stat_show(struct nlmsghdr *nlh, const struct cmd *cmd, 400 static int cmd_link_stat(struct nlmsghdr *nlh, const struct cmd *cmd, 422 static int cmd_link_set_prop(struct nlmsghdr *nlh, const struct cmd *cmd [all...] |
bearer.c | 70 static int enable_l2_bearer(struct nlmsghdr *nlh, struct opt *opts, 86 static int get_netid_cb(const struct nlmsghdr *nlh, void *data) 108 struct nlmsghdr *nlh; 126 static int enable_udp_bearer(struct nlmsghdr *nlh, struct opt *opts, 224 static int cmd_bearer_enable(struct nlmsghdr *nlh, const struct cmd *cmd, 301 static int add_l2_bearer(struct nlmsghdr *nlh, struct opt *opts) 317 static int add_udp_bearer(struct nlmsghdr *nlh, struct opt *opts) 352 static int cmd_bearer_disable(struct nlmsghdr *nlh, const struct cmd *cmd, 436 static int cmd_bearer_set_prop(struct nlmsghdr *nlh, const struct cmd *cmd, 516 static int cmd_bearer_set(struct nlmsghdr *nlh, const struct cmd *cmd [all...] |
/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 *,
|
/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/iproute2/lib/ |
libnetlink.c | 110 struct nlmsghdr nlh; 139 struct nlmsghdr *h; 155 for (h = (struct nlmsghdr *)resp; NLMSG_OK(h, status); 172 struct nlmsghdr nlh; 194 int rtnl_dump_request_n(struct rtnl_handle *rth, struct nlmsghdr *n) 256 struct nlmsghdr *h = (struct nlmsghdr*)buf; 334 int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, 335 struct nlmsghdr *answer, size_t maxlen) 339 struct nlmsghdr *h [all...] |
/external/avahi/avahi-core/ |
netlink.c | 52 struct nlmsghdr *p; 88 p = (struct nlmsghdr *) nl->buffer; 114 AvahiNetlink *avahi_netlink_new(const AvahiPoll *poll_api, uint32_t groups, void (*cb) (AvahiNetlink *nl, struct nlmsghdr *n, void* userdata), void* userdata) { 192 int avahi_netlink_send(AvahiNetlink *nl, struct nlmsghdr *m, unsigned *ret_seq) {
|
/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;
|