/external/libnl-headers/netlink/ |
D | 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 *); 66 extern int nlmsg_parse(struct nlmsghdr *, int, struct nlattr **, [all …]
|
D | netlink-kernel.h | 27 struct nlmsghdr struct 188 struct nlmsghdr msg;
|
/external/iproute2/ip/ |
D | 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 *);
|
D | xfrm_monitor.c | 46 struct nlmsghdr *n, void *arg) in xfrm_acquire_print() 107 struct nlmsghdr *n, void *arg) in xfrm_state_flush_print() 137 struct nlmsghdr *n, void *arg) in xfrm_policy_flush_print() 175 struct nlmsghdr *n, void *arg) in xfrm_report_print() 226 struct nlmsghdr *n, void *arg) in xfrm_ae_print() 254 struct nlmsghdr *n, void *arg) in xfrm_accept_msg()
|
D | xfrm_state.c | 241 struct nlmsghdr n; in xfrm_state_modify() 530 struct nlmsghdr n; in xfrm_state_allocspi() 539 struct nlmsghdr *res_n = (struct nlmsghdr *)res_buf; in xfrm_state_allocspi() 696 int xfrm_state_print(const struct sockaddr_nl *who, struct nlmsghdr *n, in xfrm_state_print() 787 struct nlmsghdr n; in xfrm_state_get_or_delete() 849 struct nlmsghdr *res_n = (struct nlmsghdr *)buf; in xfrm_state_get_or_delete() 872 struct nlmsghdr *n, in xfrm_state_keep() 879 struct nlmsghdr *new_n; in xfrm_state_keep() 902 new_n = (struct nlmsghdr *)(xb->buf + xb->offset); in xfrm_state_keep() 1027 int print_sadinfo(struct nlmsghdr *n, void *arg) in print_sadinfo() [all …]
|
D | xfrm_policy.c | 230 struct nlmsghdr n; in xfrm_policy_modify() 422 int xfrm_policy_print(const struct sockaddr_nl *who, struct nlmsghdr *n, in xfrm_policy_print() 524 struct nlmsghdr n; in xfrm_policy_get_or_delete() 630 struct nlmsghdr *n = (struct nlmsghdr *)buf; in xfrm_policy_get() 649 struct nlmsghdr *n, in xfrm_policy_keep() 658 struct nlmsghdr *new_n; in xfrm_policy_keep() 694 new_n = (struct nlmsghdr *)(xb->buf + xb->offset); in xfrm_policy_keep() 840 int print_spdinfo( struct nlmsghdr *n, void *arg) in print_spdinfo() 904 struct nlmsghdr n; in xfrm_spd_getinfo() 933 struct nlmsghdr n; in xfrm_policy_flush()
|
/external/kernel-headers/original/linux/ |
D | netlink.h | 39 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) && \ 97 struct nlmsghdr msg; 156 static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb) in nlmsg_hdr() 158 return (struct nlmsghdr *)skb->data; in nlmsg_hdr() 184 extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err); 221 const struct nlmsghdr *nlh; [all …]
|
/external/iproute2/include/ |
D | 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 *dat… 59 extern int addattr_nest_compat_end(struct nlmsghdr *n, struct rtattr *nest);
|
/external/iproute2/include/linux/ |
D | netlink.h | 39 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) && \ 97 struct nlmsghdr msg;
|
/external/wpa_supplicant_8/src/drivers/ |
D | priv_netlink.h | 50 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 51 #define NLMSG_LENGTH(len) ((len) + NLMSG_ALIGN(sizeof(struct nlmsghdr))) 55 (struct nlmsghdr *) \ 57 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \ 58 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 82 struct nlmsghdr struct
|
D | netlink.c | 26 struct nlmsghdr *h) in netlink_receive_link() 43 struct nlmsghdr *h; in netlink_receive() 57 h = (struct nlmsghdr *) buf; in netlink_receive() 144 struct nlmsghdr hdr; in netlink_send_oper_ifla()
|
/external/iproute2/lib/ |
D | libnetlink.c | 95 struct nlmsghdr nlh; in rtnl_wilddump_request() 117 struct nlmsghdr *h; in rtnl_send_check() 133 for (h = (struct nlmsghdr *)resp; NLMSG_OK(h, status); in rtnl_send_check() 150 struct nlmsghdr nlh; in rtnl_dump_request() 210 struct nlmsghdr *h = (struct nlmsghdr*)buf; in rtnl_dump_filter_l() 273 int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer, in rtnl_talk() 274 unsigned groups, struct nlmsghdr *answer, in rtnl_talk() 280 struct nlmsghdr *h; in rtnl_talk() 334 for (h = (struct nlmsghdr*)buf; status >= sizeof(*h); ) { in rtnl_talk() 358 h = (struct nlmsghdr*)((char*)h + NLMSG_ALIGN(len)); in rtnl_talk() [all …]
|
/external/iproute2/tc/ |
D | 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 *);
|
D | 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);
|
D | m_action.c | 78 …int parse_noaopt(struct action_util *au, int *argc_p, char ***argv_p, int code, struct nlmsghdr *n) in parse_noaopt() 168 parse_action(int *argc_p, char ***argv_p, int tca_id, struct nlmsghdr *n) in parse_action() 332 struct nlmsghdr *n, in print_action() 383 struct nlmsghdr *ans = NULL; in tc_action_gd() 386 struct nlmsghdr n; in tc_action_gd() 491 struct nlmsghdr n; in tc_action_modify() 530 struct nlmsghdr n; in tc_act_list_or_flush() 567 msg_size = NLMSG_ALIGN(req.n.nlmsg_len) - NLMSG_ALIGN(sizeof(struct nlmsghdr)); in tc_act_list_or_flush()
|
D | q_drr.c | 37 static int drr_parse_opt(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n) in drr_parse_opt() 54 struct nlmsghdr *n) in drr_parse_class_opt()
|
D | m_ematch.h | 87 int (*parse_eopt)(struct nlmsghdr *,struct tcf_ematch_hdr *, 109 extern int parse_ematch(int *, char ***, int, struct nlmsghdr *);
|
/external/dnsmasq/src/ |
D | netlink.c | 36 static void nl_err(struct nlmsghdr *h); 37 static void nl_routechange(struct nlmsghdr *h); 128 struct nlmsghdr *h; in iface_enumerate() 134 struct nlmsghdr nlh; in iface_enumerate() 170 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len)) in iface_enumerate() 239 struct nlmsghdr *h; in netlink_multicast() 249 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len)) in netlink_multicast() 260 static void nl_err(struct nlmsghdr *h) in nl_err() 273 static void nl_routechange(struct nlmsghdr *h) in nl_routechange()
|
/external/libnl-headers/netlink/genl/ |
D | genl.h | 31 extern int genlmsg_valid_hdr(struct nlmsghdr *, int); 32 extern int genlmsg_validate(struct nlmsghdr *, int, int, 34 extern int genlmsg_parse(struct nlmsghdr *, int, struct nlattr **,
|
/external/chromium/net/base/ |
D | network_change_notifier_netlink_linux.cc | 29 bool IsIPv6Update(const struct nlmsghdr* netlink_message_header) { in IsIPv6Update() 36 const struct nlmsghdr* netlink_message_header) { in IsDuplicateIPv6AddressUpdate() 93 const struct nlmsghdr* netlink_message_header = in HandleNetlinkMessage() 94 reinterpret_cast<struct nlmsghdr*>(buf); in HandleNetlinkMessage()
|
/external/iptables/libipq/ |
D | libipq.c | 129 struct nlmsghdr *nlh; in ipq_netlink_recvfrom() 185 nlh = (struct nlmsghdr *)buf; in ipq_netlink_recvfrom() 273 struct nlmsghdr nlh; in ipq_set_mode() 299 return ((struct nlmsghdr*)buf)->nlmsg_type; in ipq_message_type() 304 struct nlmsghdr *h = (struct nlmsghdr *)buf; in ipq_get_msgerr() 311 return NLMSG_DATA((struct nlmsghdr *)(buf)); in ipq_get_packet() 322 struct nlmsghdr nlh; in ipq_set_verdict()
|
/external/dhcpcd/ |
D | if-linux.c | 150 int (*callback)(struct nlmsghdr *)) in get_netlink() argument 154 struct nlmsghdr *nlm; in get_netlink() 193 for (nlm = (struct nlmsghdr *)buf; in get_netlink() 209 err_netlink(struct nlmsghdr *nlm) in err_netlink() 229 link_route(struct nlmsghdr *nlm) in link_route() 290 link_addr(struct nlmsghdr *nlm) in link_addr() 340 link_netlink(struct nlmsghdr *nlm) in link_netlink() 408 send_netlink(struct nlmsghdr *hdr) in send_netlink() 438 add_attr_l(struct nlmsghdr *n, unsigned int maxlen, int type, in add_attr_l() 459 add_attr_32(struct nlmsghdr *n, unsigned int maxlen, int type, uint32_t data) in add_attr_32() [all …]
|
/external/libselinux/src/ |
D | avc_internal.c | 106 struct nlmsghdr *nlh = (struct nlmsghdr *)buf; in avc_netlink_receive() 162 struct nlmsghdr *nlh = (struct nlmsghdr *)buf; in avc_netlink_process()
|
/external/iproute2/genl/ |
D | ctrl.c | 45 struct nlmsghdr *nlh; in genl_ctrl_resolve_family() 49 struct nlmsghdr n; in genl_ctrl_resolve_family() 180 static int print_ctrl(const struct sockaddr_nl *who, struct nlmsghdr *n, in print_ctrl() 287 struct nlmsghdr *nlh; in ctrl_list() 292 struct nlmsghdr n; in ctrl_list()
|
/external/libnl-headers/netlink/netfilter/ |
D | ct.h | 33 extern int nfnlmsg_ct_group(struct nlmsghdr *); 34 extern int nfnlmsg_ct_parse(struct nlmsghdr *, struct nfnl_ct **);
|