Searched refs:NFA_DATA (Results 1 – 11 of 11) sorted by relevance
/external/libnetfilter_conntrack/src/conntrack/ |
D | parse.c | 26 tuple->src.v4 = *(uint32_t *)NFA_DATA(tb[CTA_IP_V4_SRC-1]); in __parse_ip() 41 tuple->dst.v4 = *(uint32_t *)NFA_DATA(tb[CTA_IP_V4_DST-1]); in __parse_ip() 56 memcpy(&tuple->src.v6, NFA_DATA(tb[CTA_IP_V6_SRC-1]), in __parse_ip() 72 memcpy(&tuple->dst.v6, NFA_DATA(tb[CTA_IP_V6_DST-1]), in __parse_ip() 98 tuple->protonum = *(uint8_t *)NFA_DATA(tb[CTA_PROTO_NUM-1]); in __parse_proto() 114 *(uint16_t *)NFA_DATA(tb[CTA_PROTO_SRC_PORT-1]); in __parse_proto() 130 *(uint16_t *)NFA_DATA(tb[CTA_PROTO_DST_PORT-1]); in __parse_proto() 146 *(uint8_t *)NFA_DATA(tb[CTA_PROTO_ICMP_TYPE-1]); in __parse_proto() 152 *(uint8_t *)NFA_DATA(tb[CTA_PROTO_ICMP_CODE-1]); in __parse_proto() 158 *(uint16_t *)NFA_DATA(tb[CTA_PROTO_ICMP_ID-1]); in __parse_proto() [all …]
|
D | api.c | 929 nfnl_parse_attr(cda, CTA_MAX, NFA_DATA(nfhdr), len); in nfct_parse_conntrack()
|
D | parse_mnl.c | 744 ct->secctx = strdup(NFA_DATA(tb[CTA_SECCTX_NAME])); in nfct_parse_secctx()
|
/external/libnetfilter_conntrack/src/expect/ |
D | parse.c | 68 ntohl(*(uint32_t *)NFA_DATA(cda[CTA_EXPECT_TIMEOUT-1])); in __parse_expect() 74 ntohs(*(uint16_t *)NFA_DATA(cda[CTA_EXPECT_ZONE-1])); in __parse_expect() 79 ntohl(*(uint32_t *)NFA_DATA(cda[CTA_EXPECT_FLAGS-1])); in __parse_expect() 83 strncpy(exp->helper_name, NFA_DATA(cda[CTA_EXPECT_HELP_NAME-1]), in __parse_expect() 89 ntohl(*(uint32_t *)NFA_DATA(cda[CTA_EXPECT_CLASS-1])); in __parse_expect() 111 NFA_DATA(tb[CTA_EXPECT_NAT_DIR-1]))); in __parse_expect() 116 strcpy(exp->expectfn, NFA_DATA(cda[CTA_EXPECT_FN-1])); in __parse_expect()
|
D | api.c | 643 nfnl_parse_attr(cda, CTA_EXPECT_MAX, NFA_DATA(nfhdr), len); in nfexp_parse_expect()
|
/external/libnfnetlink/include/libnfnetlink/ |
D | libnfnetlink.h | 173 __ret = *(type *)NFA_DATA(tb[attr-1]); \ 180 __ret = NFA_DATA(tb[attr-1]); \ 198 nfnl_parse_attr((tb), (max), NFA_DATA((nfa)), NFA_PAYLOAD((nfa)))
|
D | linux_nfnetlink_compat.h | 42 #define NFA_DATA(nfa) ((void *)(((char *)(nfa)) + NFA_LENGTH(0))) macro
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
D | nfnetlink_compat.h | 45 #define NFA_DATA(nfa) ((void *)(((char *)(nfa)) + NFA_LENGTH(0))) macro
|
/external/libnl/include/linux-private/linux/netfilter/ |
D | nfnetlink_compat.h | 44 #define NFA_DATA(nfa) ((void *)(((char *)(nfa)) + NFA_LENGTH(0))) macro
|
/external/libpcap/ |
D | pcap-netfilter-linux.c | 207 … const struct nfqnl_msg_packet_hdr *pkt_hdr = (const struct nfqnl_msg_packet_hdr *) NFA_DATA(attr); in netfilter_read_linux() 229 payload = NFA_DATA(payload_attr); in netfilter_read_linux() 344 memcpy(NFA_DATA(nfa), mynfa->data, mynfa->nfa_len); in netfilter_send_config_msg()
|
/external/libnfnetlink/src/ |
D | libnfnetlink.c | 893 memcpy(NFA_DATA(nfa), data, alen); in nfnl_addattr_l() 926 memcpy(NFA_DATA(subnfa), data, alen); in nfnl_nfa_addattr_l()
|