| /external/libnetfilter_conntrack/src/conntrack/ |
| D | build_mnl.c | 17 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/ |
| D | node.c | 27 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() 134 static int netid_get_cb(const struct nlmsghdr *nlh, void *data) in netid_get_cb() 153 static int cmd_node_get_netid(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_node_get_netid() 171 static int cmd_node_set_netid(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_node_set_netid() 212 static int cmd_node_set(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_node_set() 234 static int cmd_node_get(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_node_get() 257 int cmd_node(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl, in cmd_node()
|
| D | link.c | 27 static int link_list_cb(const struct nlmsghdr *nlh, void *data) in link_list_cb() 51 static int cmd_link_list(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_list() 70 static int link_get_cb(const struct nlmsghdr *nlh, void *data) in link_get_cb() 95 static int cmd_link_get_prop(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_get_prop() 149 static int cmd_link_get(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_get() 167 static int cmd_link_stat_reset(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_stat_reset() 321 static int link_stat_show_cb(const struct nlmsghdr *nlh, void *data) in link_stat_show_cb() 365 static int cmd_link_stat_show(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_stat_show() 406 static int cmd_link_stat(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_stat() 428 static int cmd_link_set_prop(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_link_set_prop() [all …]
|
| D | msg.c | 33 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
|
| D | media.c | 26 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()
|
| D | bearer.c | 36 struct nlmsghdr *nlh; member 83 static int get_netid_cb(const struct nlmsghdr *nlh, void *data) in get_netid_cb() 105 struct nlmsghdr *nlh; in generate_multicast() local 123 static int nl_add_udp_enable_opts(struct nlmsghdr *nlh, struct opt *opts, in nl_add_udp_enable_opts() 197 static int nl_add_bearer_name(struct nlmsghdr *nlh, const struct cmd *cmd, in nl_add_bearer_name() 266 static int udp_bearer_add(struct nlmsghdr *nlh, struct opt *opts, in udp_bearer_add() 306 static int cmd_bearer_add_media(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_bearer_add_media() 366 static int cmd_bearer_add(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_bearer_add() 388 static int cmd_bearer_enable(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_bearer_enable() 471 static int cmd_bearer_disable(struct nlmsghdr *nlh, const struct cmd *cmd, in cmd_bearer_disable() [all …]
|
| D | socket.c | 26 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()
|
| D | peer.c | 27 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()
|
| D | nametable.c | 26 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/ |
| D | genl.c | 112 int genlmsg_valid_hdr(struct nlmsghdr *nlh, int hdrlen) in genlmsg_valid_hdr() 146 int genlmsg_validate(struct nlmsghdr *nlh, int hdrlen, int maxtype, in genlmsg_validate() 186 int genlmsg_parse(struct nlmsghdr *nlh, int hdrlen, struct nlattr *tb[], in genlmsg_parse() 205 struct genlmsghdr *genlmsg_hdr(struct nlmsghdr *nlh) in genlmsg_hdr() 221 const struct nlmsghdr *nlh; in genlmsg_len() local 346 struct nlmsghdr *nlh; in genlmsg_put() local
|
| /external/libnl/lib/netfilter/ |
| D | nfnl.c | 128 uint8_t nfnlmsg_subsys(struct nlmsghdr *nlh) in nfnlmsg_subsys() 137 uint8_t nfnlmsg_subtype(struct nlmsghdr *nlh) in nfnlmsg_subtype() 146 uint8_t nfnlmsg_family(struct nlmsghdr *nlh) in nfnlmsg_family() 157 uint16_t nfnlmsg_res_id(struct nlmsghdr *nlh) in nfnlmsg_res_id() 231 struct nlmsghdr *nlh; in nfnlmsg_put() local
|
| D | queue_msg.c | 45 int nfnlmsg_queue_msg_parse(struct nlmsghdr *nlh, in nfnlmsg_queue_msg_parse() 132 struct nlmsghdr *nlh, struct nl_parser_param *pp) in queue_msg_parser() 195 int nfnl_queue_msg_send_verdict(struct nl_sock *nlh, in nfnl_queue_msg_send_verdict() 218 int nfnl_queue_msg_send_verdict_batch(struct nl_sock *nlh, in nfnl_queue_msg_send_verdict_batch() 243 int nfnl_queue_msg_send_verdict_payload(struct nl_sock *nlh, in nfnl_queue_msg_send_verdict_payload()
|
| D | log.c | 68 int nfnl_log_pf_bind(struct nl_sock *nlh, uint8_t pf) in nfnl_log_pf_bind() 84 int nfnl_log_pf_unbind(struct nl_sock *nlh, uint8_t pf) in nfnl_log_pf_unbind() 181 int nfnl_log_create(struct nl_sock *nlh, const struct nfnl_log *log) in nfnl_log_create() 198 int nfnl_log_change(struct nl_sock *nlh, const struct nfnl_log *log) in nfnl_log_change() 219 int nfnl_log_delete(struct nl_sock *nlh, const struct nfnl_log *log) in nfnl_log_delete()
|
| D | queue.c | 78 int nfnl_queue_pf_bind(struct nl_sock *nlh, uint8_t pf) in nfnl_queue_pf_bind() 94 int nfnl_queue_pf_unbind(struct nl_sock *nlh, uint8_t pf) in nfnl_queue_pf_unbind() 176 int nfnl_queue_create(struct nl_sock *nlh, const struct nfnl_queue *queue) in nfnl_queue_create() 193 int nfnl_queue_change(struct nl_sock *nlh, const struct nfnl_queue *queue) in nfnl_queue_change() 214 int nfnl_queue_delete(struct nl_sock *nlh, const struct nfnl_queue *queue) in nfnl_queue_delete()
|
| /external/libnl/lib/ |
| D | msg.c | 100 void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data() 105 void *nlmsg_tail(const struct nlmsghdr *nlh) in nlmsg_tail() 116 int nlmsg_datalen(const struct nlmsghdr *nlh) in nlmsg_datalen() 121 static int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len() 138 struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrdata() 149 int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrlen() 161 int nlmsg_valid_hdr(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_valid_hdr() 174 int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok() 189 struct nlmsghdr *nlmsg_next(struct nlmsghdr *nlh, int *remaining) in nlmsg_next() 208 int nlmsg_parse(struct nlmsghdr *nlh, int hdrlen, struct nlattr *tb[], in nlmsg_parse() [all …]
|
| /external/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 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
|
| /external/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()
|
| /external/strace/tests-mx32/ |
| D | netlink_protocol.c | 50 struct nlmsghdr nlh; in send_query() member 207 struct nlmsghdr *nlh; in test_nlmsgerr() local 322 struct nlmsghdr *nlh; in test_nlmsg_done() local 373 struct nlmsghdr nlh = { in test_ack_flags() local
|
| /external/strace/tests-m32/ |
| D | netlink_protocol.c | 50 struct nlmsghdr nlh; in send_query() member 207 struct nlmsghdr *nlh; in test_nlmsgerr() local 322 struct nlmsghdr *nlh; in test_nlmsg_done() local 373 struct nlmsghdr nlh = { in test_ack_flags() local
|
| /external/strace/tests/ |
| D | netlink_protocol.c | 50 struct nlmsghdr nlh; in send_query() member 207 struct nlmsghdr *nlh; in test_nlmsgerr() local 322 struct nlmsghdr *nlh; in test_nlmsg_done() local 373 struct nlmsghdr nlh = { in test_ack_flags() local
|
| D | nfnetlink_cttimeout.c | 43 struct nlmsghdr nlh = { in test_nlmsg_type() local 70 struct nlmsghdr nlh = { in test_nlmsg_flags() local
|
| /external/linux-kselftest/tools/testing/selftests/netfilter/ |
| D | nf-queue.c | 77 static int queue_cb(const struct nlmsghdr *nlh, void *data) in queue_cb() 123 struct nlmsghdr *nlh = mnl_nlmsg_put_header(buf); in nfq_build_cfg_request() local 147 struct nlmsghdr *nlh = mnl_nlmsg_put_header(buf); in nfq_build_cfg_params() local 174 struct nlmsghdr *nlh; in nfq_build_verdict() local 212 struct nlmsghdr *nlh; in open_queue() local 274 struct nlmsghdr *nlh; in mainloop() local
|
| /external/iproute2/devlink/ |
| D | mnlg.c | 36 struct nlmsghdr *nlh; in __mnlg_msg_prepare() local 58 int mnlg_socket_send(struct mnlg_socket *nlg, const struct nlmsghdr *nlh) in mnlg_socket_send() 145 static int get_group_id_cb(const struct nlmsghdr *nlh, void *data) in get_group_id_cb() 160 struct nlmsghdr *nlh; in mnlg_socket_group_add() local 206 static int get_family_id_cb(const struct nlmsghdr *nlh, void *data) in get_family_id_cb() 222 struct nlmsghdr *nlh; in mnlg_socket_open() local
|
| /external/libnfnetlink/include/libnfnetlink/ |
| D | libnfnetlink.h | 39 #define NLMSG_TAIL(nlh) \ argument 52 struct nlmsghdr nlh; member 199 #define nfnl_nest(nlh, bufsize, type) \ argument 203 #define nfnl_nest_end(nlh, tail) \ argument
|