/third_party/libnl/lib/netfilter/ |
D | nfnl.c | 135 uint8_t nfnlmsg_subsys(struct nlmsghdr *nlh) in nfnlmsg_subsys() 144 uint8_t nfnlmsg_subtype(struct nlmsghdr *nlh) in nfnlmsg_subtype() 153 uint8_t nfnlmsg_family(struct nlmsghdr *nlh) in nfnlmsg_family() 164 uint16_t nfnlmsg_res_id(struct nlmsghdr *nlh) in nfnlmsg_res_id() 238 struct nlmsghdr *nlh; in nfnlmsg_put() local
|
D | queue_msg.c | 52 int nfnlmsg_queue_msg_parse(struct nlmsghdr *nlh, in nfnlmsg_queue_msg_parse() 139 struct nlmsghdr *nlh, struct nl_parser_param *pp) in queue_msg_parser() 202 int nfnl_queue_msg_send_verdict(struct nl_sock *nlh, in nfnl_queue_msg_send_verdict() 225 int nfnl_queue_msg_send_verdict_batch(struct nl_sock *nlh, in nfnl_queue_msg_send_verdict_batch() 250 int nfnl_queue_msg_send_verdict_payload(struct nl_sock *nlh, in nfnl_queue_msg_send_verdict_payload()
|
D | log.c | 75 int nfnl_log_pf_bind(struct nl_sock *nlh, uint8_t pf) in nfnl_log_pf_bind() 91 int nfnl_log_pf_unbind(struct nl_sock *nlh, uint8_t pf) in nfnl_log_pf_unbind() 183 int nfnl_log_create(struct nl_sock *nlh, const struct nfnl_log *log) in nfnl_log_create() 200 int nfnl_log_change(struct nl_sock *nlh, const struct nfnl_log *log) in nfnl_log_change() 221 int nfnl_log_delete(struct nl_sock *nlh, const struct nfnl_log *log) in nfnl_log_delete()
|
D | queue.c | 85 int nfnl_queue_pf_bind(struct nl_sock *nlh, uint8_t pf) in nfnl_queue_pf_bind() 101 int nfnl_queue_pf_unbind(struct nl_sock *nlh, uint8_t pf) in nfnl_queue_pf_unbind() 183 int nfnl_queue_create(struct nl_sock *nlh, const struct nfnl_queue *queue) in nfnl_queue_create() 200 int nfnl_queue_change(struct nl_sock *nlh, const struct nfnl_queue *queue) in nfnl_queue_change() 221 int nfnl_queue_delete(struct nl_sock *nlh, const struct nfnl_queue *queue) in nfnl_queue_delete()
|
D | log_msg.c | 55 int nfnlmsg_log_msg_parse(struct nlmsghdr *nlh, struct nfnl_log_msg **result) in nfnlmsg_log_msg_parse() 160 struct nlmsghdr *nlh, struct nl_parser_param *pp) in log_msg_parser()
|
D | exp.c | 210 int nfnlmsg_exp_group(struct nlmsghdr *nlh) in nfnlmsg_exp_group() 225 int nfnlmsg_exp_parse(struct nlmsghdr *nlh, struct nfnl_exp **result) in nfnlmsg_exp_parse() 296 struct nlmsghdr *nlh, struct nl_parser_param *pp) in exp_msg_parser()
|
D | ct.c | 285 int nfnlmsg_ct_group(struct nlmsghdr *nlh) in nfnlmsg_ct_group() 318 int nfnlmsg_ct_parse(struct nlmsghdr *nlh, struct nfnl_ct **result) in nfnlmsg_ct_parse() 394 struct nlmsghdr *nlh, struct nl_parser_param *pp) in ct_msg_parser()
|
/third_party/libnl/lib/genl/ |
D | genl.c | 119 int genlmsg_valid_hdr(struct nlmsghdr *nlh, int hdrlen) in genlmsg_valid_hdr() 153 int genlmsg_validate(struct nlmsghdr *nlh, int hdrlen, int maxtype, in genlmsg_validate() 193 int genlmsg_parse(struct nlmsghdr *nlh, int hdrlen, struct nlattr *tb[], in genlmsg_parse() 212 struct genlmsghdr *genlmsg_hdr(struct nlmsghdr *nlh) in genlmsg_hdr() 228 const struct nlmsghdr *nlh; in genlmsg_len() local 353 struct nlmsghdr *nlh; in genlmsg_put() local
|
D | mngt.c | 50 static int cmd_msg_parser(struct sockaddr_nl *who, struct nlmsghdr *nlh, in cmd_msg_parser() 93 struct nlmsghdr *nlh, struct nl_parser_param *pp) in genl_msg_parser() 217 struct nlmsghdr *nlh = nlmsg_hdr(msg); in genl_handle_msg() local
|
/third_party/musl/src/network/ |
D | netlink.h | 79 #define NLMSG_DATA(nlh) ((void*)((char*)(nlh)+sizeof(struct nlmsghdr))) argument 80 #define NLMSG_DATALEN(nlh) ((nlh)->nlmsg_len-sizeof(struct nlmsghdr)) argument 81 #define NLMSG_DATAEND(nlh) ((char*)(nlh)+(nlh)->nlmsg_len) argument 82 #define NLMSG_NEXT(nlh) (struct nlmsghdr*)((char*)(nlh)+NETLINK_ALIGN((nlh)->nlmsg_len)) argument 83 #define NLMSG_OK(nlh,end) ((char*)(end)-(char*)(nlh) >= sizeof(struct nlmsghdr)) argument 89 #define RTA_OK(nlh,end) ((char*)(end)-(char*)(rta) >= sizeof(struct rtattr)) argument 91 #define NLMSG_RTA(nlh,len) ((void*)((char*)(nlh)+sizeof(struct nlmsghdr)+NETLINK_ALIGN(len))) argument 92 #define NLMSG_RTAOK(rta,nlh) RTA_OK(rta,NLMSG_DATAEND(nlh)) argument
|
D | netlink.c | 14 struct nlmsghdr nlh; in __netlink_enumerate() member
|
/third_party/libnl/lib/ |
D | msg.c | 107 void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data() 112 void *nlmsg_tail(const struct nlmsghdr *nlh) in nlmsg_tail() 123 int nlmsg_datalen(const struct nlmsghdr *nlh) in nlmsg_datalen() 128 static int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len() 145 struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrdata() 156 int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrlen() 168 int nlmsg_valid_hdr(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_valid_hdr() 181 int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok() 196 struct nlmsghdr *nlmsg_next(struct nlmsghdr *nlh, int *remaining) in nlmsg_next() 215 int nlmsg_parse(struct nlmsghdr *nlh, int hdrlen, struct nlattr *tb[], in nlmsg_parse() [all …]
|
/third_party/iptables/iptables/ |
D | nft-cache.c | 75 static int genid_cb(const struct nlmsghdr *nlh, void *data) in genid_cb() 99 struct nlmsghdr *nlh; in mnl_genid_get() local 111 static int nftnl_table_list_cb(const struct nlmsghdr *nlh, void *data) in nftnl_table_list_cb() 140 struct nlmsghdr *nlh; in fetch_table_cache() local 249 static int nftnl_chain_list_cb(const struct nlmsghdr *nlh, void *data) in nftnl_chain_list_cb() 289 static int nftnl_set_list_cb(const struct nlmsghdr *nlh, void *data) in nftnl_set_list_cb() 329 static int set_elem_cb(const struct nlmsghdr *nlh, void *data) in set_elem_cb() 351 struct nlmsghdr *nlh; in set_fetch_elem_cb() local 372 struct nlmsghdr *nlh; in fetch_set_cache() local 429 struct nlmsghdr *nlh; in __fetch_chain_cache() local [all …]
|
D | xtables-monitor.c | 48 static int table_cb(const struct nlmsghdr *nlh, void *data) in table_cb() 78 static int rule_cb(const struct nlmsghdr *nlh, void *data) in rule_cb() 123 static int chain_cb(const struct nlmsghdr *nlh, void *data) in chain_cb() 170 static int newgen_cb(const struct nlmsghdr *nlh, void *data) in newgen_cb() 220 struct nlmsghdr *nlh; in trace_print_rule() local 496 static int trace_cb(const struct nlmsghdr *nlh, struct cb_arg *arg) in trace_cb() 550 static int monitor_cb(const struct nlmsghdr *nlh, void *data) in monitor_cb()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
D | priv_netlink.h | 53 #define NLMSG_DATA(nlh) ((void*) (((char*) nlh) + NLMSG_LENGTH(0))) argument 54 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument 57 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \ argument 60 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
D | priv_netlink.h | 53 #define NLMSG_DATA(nlh) ((void*) (((char*) nlh) + NLMSG_LENGTH(0))) argument 54 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument 57 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \ argument 60 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
|
/third_party/libnl/tests/ |
D | check-attr.c | 56 struct nlmsghdr *nlh; in START_TEST() local
|
/third_party/ltp/testcases/kernel/containers/netns/ |
D | netns_netlink.c | 49 struct nlmsghdr *nlh; in child_func() local
|
/third_party/iptables/libipq/ |
D | libipq.c | 129 struct nlmsghdr *nlh; in ipq_netlink_recvfrom() local 272 struct nlmsghdr nlh; in ipq_set_mode() member 321 struct nlmsghdr nlh; in ipq_set_verdict() local
|
/third_party/selinux/libselinux/src/ |
D | avc_internal.c | 149 struct nlmsghdr *nlh = (struct nlmsghdr *)buf; in avc_netlink_receive() local 205 struct nlmsghdr *nlh = (struct nlmsghdr *)buf; in avc_netlink_process() local
|
/third_party/libnl/src/ |
D | nl-fib-lookup.c | 31 struct nl_sock *nlh; in main() local
|
/third_party/libnl/include/netlink/ |
D | msg.h | 125 #define nlmsg_for_each_attr(pos, nlh, hdrlen, rem) \ argument
|
/third_party/libnl/include/linux-private/linux/ |
D | netlink.h | 94 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument 95 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument 97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument 100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
|
/third_party/libnl/python/netlink/genl/ |
D | capi.i | 68 PyObject *py_genlmsg_parse(struct nlmsghdr *nlh, int uhl, int max, in py_genlmsg_parse()
|
/third_party/libnl/include/netlink/genl/ |
D | mngt.h | 43 struct nlmsghdr * nlh; member
|