Home
last modified time | relevance | path

Searched defs:nlh (Results 1 – 25 of 90) sorted by relevance

1234

/external/libnetfilter_conntrack/src/conntrack/
Dbuild_mnl.c17 nfct_build_tuple_ip(struct nlmsghdr *nlh, const struct __nfct_tuple *t) in nfct_build_tuple_ip()
45 nfct_build_tuple_proto(struct nlmsghdr *nlh, const struct __nfct_tuple *t) in nfct_build_tuple_proto()
84 nfct_build_tuple_raw(struct nlmsghdr *nlh, const struct __nfct_tuple *t) in nfct_build_tuple_raw()
95 nfct_build_tuple(struct nlmsghdr *nlh, const struct __nfct_tuple *t, int type) in nfct_build_tuple()
114 nfct_build_protoinfo(struct nlmsghdr *nlh, const struct nf_conntrack *ct) in nfct_build_protoinfo()
219 nfct_nat_seq_adj(struct nlmsghdr *nlh, const struct nf_conntrack *ct, int dir) in nfct_nat_seq_adj()
231 nfct_build_nat_seq_adj(struct nlmsghdr *nlh, const struct nf_conntrack *ct, in nfct_build_nat_seq_adj()
246 nfct_build_protonat(struct nlmsghdr *nlh, const struct nf_conntrack *ct, in nfct_build_protonat()
267 nfct_build_nat(struct nlmsghdr *nlh, const struct __nfct_nat *nat, in nfct_build_nat()
285 nfct_build_snat(struct nlmsghdr *nlh, const struct nf_conntrack *ct, in nfct_build_snat()
[all …]
/external/iproute2/tipc/
Dnode.c27 static int node_list_cb(const struct nlmsghdr *nlh, void *data) in node_list_cb()
56 static int cmd_node_list(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_node_list()
74 static int cmd_node_set_addr(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_node_set_addr()
105 static int cmd_node_get_addr(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_node_get_addr()
133 static int netid_get_cb(const struct nlmsghdr *nlh, void *data) in netid_get_cb()
152 static int cmd_node_get_netid(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_node_get_netid()
170 static int cmd_node_set_netid(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_node_set_netid()
211 static int cmd_node_set(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_node_set()
233 static int cmd_node_get(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_node_get()
256 int cmd_node(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl, in cmd_node()
Dbearer.c70 static int enable_l2_bearer(struct nlmsghdr *nlh, struct opt *opts, in enable_l2_bearer()
86 static int get_netid_cb(const struct nlmsghdr *nlh, void *data) in get_netid_cb()
108 struct nlmsghdr *nlh; in generate_multicast() local
126 static int enable_udp_bearer(struct nlmsghdr *nlh, struct opt *opts, in enable_udp_bearer()
224 static int cmd_bearer_enable(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_bearer_enable()
301 static int add_l2_bearer(struct nlmsghdr *nlh, struct opt *opts) in add_l2_bearer()
317 static int add_udp_bearer(struct nlmsghdr *nlh, struct opt *opts) in add_udp_bearer()
352 static int cmd_bearer_disable(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_bearer_disable()
436 static int cmd_bearer_set_prop(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_bearer_set_prop()
516 static int cmd_bearer_set(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_bearer_set()
[all …]
Dlink.c26 static int link_list_cb(const struct nlmsghdr *nlh, void *data) in link_list_cb()
50 static int cmd_link_list(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_list()
68 static int link_get_cb(const struct nlmsghdr *nlh, void *data) in link_get_cb()
94 static int cmd_link_get_prop(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_get_prop()
146 static int cmd_link_get(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_get()
164 static int cmd_link_stat_reset(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_stat_reset()
317 static int link_stat_show_cb(const struct nlmsghdr *nlh, void *data) in link_stat_show_cb()
361 static int cmd_link_stat_show(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_stat_show()
400 static int cmd_link_stat(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_stat()
422 static int cmd_link_set_prop(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_set_prop()
[all …]
Dmsg.c33 static int family_id_cb(const struct nlmsghdr *nlh, void *data) in family_id_cb()
48 static struct mnl_socket *msg_send(struct nlmsghdr *nlh) in msg_send()
97 static int msg_query(struct nlmsghdr *nlh, mnl_cb_t callback, void *data) in msg_query()
116 struct nlmsghdr *nlh; in get_family() local
137 int msg_doit(struct nlmsghdr *nlh, mnl_cb_t callback, void *data) in msg_doit()
143 int msg_dumpit(struct nlmsghdr *nlh, mnl_cb_t callback, void *data) in msg_dumpit()
152 struct nlmsghdr *nlh; in msg_init() local
Dmedia.c26 static int media_list_cb(const struct nlmsghdr *nlh, void *data) in media_list_cb()
45 static int cmd_media_list(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_media_list()
63 static int media_get_cb(const struct nlmsghdr *nlh, void *data) in media_get_cb()
88 static int cmd_media_get_prop(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_media_get_prop()
143 static int cmd_media_get(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_media_get()
166 static int cmd_media_set_prop(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_media_set_prop()
224 static int cmd_media_set(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_media_set()
249 int cmd_media(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl, in cmd_media()
Dsocket.c26 static int publ_list_cb(const struct nlmsghdr *nlh, void *data) in publ_list_cb()
48 struct nlmsghdr *nlh; in publ_list() local
64 static int sock_list_cb(const struct nlmsghdr *nlh, void *data) in sock_list_cb()
104 static int cmd_socket_list(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_socket_list()
131 int cmd_socket(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl, in cmd_socket()
Dpeer.c27 static int cmd_peer_rm_addr(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_peer_rm_addr()
64 static int cmd_peer_rm(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_peer_rm()
84 int cmd_peer(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl, in cmd_peer()
Dnametable.c26 static int nametable_show_cb(const struct nlmsghdr *nlh, void *data) in nametable_show_cb()
72 static int cmd_nametable_show(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_nametable_show()
100 int cmd_nametable(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl, in cmd_nametable()
/external/libnl/lib/genl/
Dgenl.c117 int genlmsg_valid_hdr(struct nlmsghdr *nlh, int hdrlen) in genlmsg_valid_hdr()
151 int genlmsg_validate(struct nlmsghdr *nlh, int hdrlen, int maxtype, in genlmsg_validate()
191 int genlmsg_parse(struct nlmsghdr *nlh, int hdrlen, struct nlattr *tb[], in genlmsg_parse()
210 struct genlmsghdr *genlmsg_hdr(struct nlmsghdr *nlh) in genlmsg_hdr()
226 const struct nlmsghdr *nlh; in genlmsg_len() local
351 struct nlmsghdr *nlh; in genlmsg_put() local
/external/libnl/lib/netfilter/
Dnfnl.c131 uint8_t nfnlmsg_subsys(struct nlmsghdr *nlh) in nfnlmsg_subsys()
140 uint8_t nfnlmsg_subtype(struct nlmsghdr *nlh) in nfnlmsg_subtype()
149 uint8_t nfnlmsg_family(struct nlmsghdr *nlh) in nfnlmsg_family()
160 uint16_t nfnlmsg_res_id(struct nlmsghdr *nlh) in nfnlmsg_res_id()
234 struct nlmsghdr *nlh; in nfnlmsg_put() local
Dqueue_msg.c63 int nfnlmsg_queue_msg_parse(struct nlmsghdr *nlh, in nfnlmsg_queue_msg_parse()
150 struct nlmsghdr *nlh, struct nl_parser_param *pp) in queue_msg_parser()
213 int nfnl_queue_msg_send_verdict(struct nl_sock *nlh, in nfnl_queue_msg_send_verdict()
236 int nfnl_queue_msg_send_verdict_batch(struct nl_sock *nlh, in nfnl_queue_msg_send_verdict_batch()
261 int nfnl_queue_msg_send_verdict_payload(struct nl_sock *nlh, in nfnl_queue_msg_send_verdict_payload()
Dlog.c74 int nfnl_log_pf_bind(struct nl_sock *nlh, uint8_t pf) in nfnl_log_pf_bind()
90 int nfnl_log_pf_unbind(struct nl_sock *nlh, uint8_t pf) in nfnl_log_pf_unbind()
182 int nfnl_log_create(struct nl_sock *nlh, const struct nfnl_log *log) in nfnl_log_create()
199 int nfnl_log_change(struct nl_sock *nlh, const struct nfnl_log *log) in nfnl_log_change()
220 int nfnl_log_delete(struct nl_sock *nlh, const struct nfnl_log *log) in nfnl_log_delete()
Dqueue.c84 int nfnl_queue_pf_bind(struct nl_sock *nlh, uint8_t pf) in nfnl_queue_pf_bind()
100 int nfnl_queue_pf_unbind(struct nl_sock *nlh, uint8_t pf) in nfnl_queue_pf_unbind()
182 int nfnl_queue_create(struct nl_sock *nlh, const struct nfnl_queue *queue) in nfnl_queue_create()
199 int nfnl_queue_change(struct nl_sock *nlh, const struct nfnl_queue *queue) in nfnl_queue_change()
220 int nfnl_queue_delete(struct nl_sock *nlh, const struct nfnl_queue *queue) in nfnl_queue_delete()
/external/libnl/lib/
Dmsg.c105 void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data()
110 void *nlmsg_tail(const struct nlmsghdr *nlh) in nlmsg_tail()
121 int nlmsg_datalen(const struct nlmsghdr *nlh) in nlmsg_datalen()
126 static int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len()
143 struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrdata()
154 int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrlen()
166 int nlmsg_valid_hdr(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_valid_hdr()
179 int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok()
194 struct nlmsghdr *nlmsg_next(struct nlmsghdr *nlh, int *remaining) in nlmsg_next()
213 int nlmsg_parse(struct nlmsghdr *nlh, int hdrlen, struct nlattr *tb[], in nlmsg_parse()
[all …]
/external/libnfnetlink/src/
Dlibnfnetlink.c98 void nfnl_dump_packet(struct nlmsghdr *nlh, int received_len, char *desc) in nfnl_dump_packet()
437 struct nlmsghdr *nlh, unsigned int len, in nfnl_fill_hdr()
470 const struct nlmsghdr *nlh, in nfnl_parse_hdr()
1050 struct nlmsghdr *nlh; in nfnl_get_msg_first() local
1069 struct nlmsghdr *nlh; in nfnl_get_msg_next() local
1155 const struct nlmsghdr *nlh, in nfnl_check_attributes()
1210 static int __nfnl_handle_msg(struct nfnl_handle *h, struct nlmsghdr *nlh, in __nfnl_handle_msg()
1246 struct nlmsghdr *nlh = (struct nlmsghdr *)buf; in nfnl_handle_packet() local
1265 static int nfnl_is_error(struct nfnl_handle *h, struct nlmsghdr *nlh) in nfnl_is_error()
1284 static int nfnl_step(struct nfnl_handle *h, struct nlmsghdr *nlh) in nfnl_step()
[all …]
/external/libnfnetlink/include/libnfnetlink/
Dlibnfnetlink.h38 #define NLMSG_TAIL(nlh) \ argument
51 struct nlmsghdr nlh; member
192 #define nfnl_nest(nlh, bufsize, type) \ argument
196 #define nfnl_nest_end(nlh, tail) \ argument
/external/libnetfilter_conntrack/src/expect/
Dparse.c12 int __parse_expect_message_type(const struct nlmsghdr *nlh) in __parse_expect_message_type()
29 void __parse_expect(const struct nlmsghdr *nlh, in __parse_expect()
/external/libnetfilter_conntrack/examples/
Dnfct-mnl-set-label.c20 struct nlmsghdr *nlh; in set_label() local
64 static int data_cb(const struct nlmsghdr *nlh, void *data) in data_cb()
124 struct nlmsghdr *nlh; in main() local
Dnfct-mnl-dump.c10 static int data_cb(const struct nlmsghdr *nlh, void *data) in data_cb()
32 struct nlmsghdr *nlh; in main() local
Dnfexp-mnl-dump.c10 static int data_cb(const struct nlmsghdr *nlh, void *data) in data_cb()
37 struct nlmsghdr *nlh; in main() local
Dnfct-mnl-get.c12 static int data_cb(const struct nlmsghdr *nlh, void *data) in data_cb()
34 struct nlmsghdr *nlh; in main() local
Dnfct-mnl-dump-labels.c23 static int data_cb(const struct nlmsghdr *nlh, void *data) in data_cb()
47 struct nlmsghdr *nlh; in main() local
/external/libnetfilter_conntrack/src/
Dcallback.c12 static int __parse_message(const struct nlmsghdr *nlh) in __parse_message()
32 int __callback(struct nlmsghdr *nlh, struct nfattr *nfa[], void *data) in __callback()
/external/wpa_supplicant_8/src/drivers/
Dpriv_netlink.h53 #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

1234