Home
last modified time | relevance | path

Searched refs:l4dst (Results 1 – 14 of 14) sorted by relevance

/external/libnetfilter_conntrack/src/conntrack/
Dgrp_setter.c76 ct->head.orig.l4dst.all = this->dport; in set_attr_grp_orig_port()
83 ct->repl.l4dst.all = this->dport; in set_attr_grp_repl_port()
91 ct->head.orig.l4dst.icmp.type = this->type; in set_attr_grp_icmp()
107 ct->repl.l4dst.icmp.type = rtype - 1; in set_attr_grp_icmp()
109 ct->repl.l4dst.icmp.type = 255; /* -EINVAL */ in set_attr_grp_icmp()
111 ct->head.orig.l4dst.icmp.code = this->code; in set_attr_grp_icmp()
112 ct->repl.l4dst.icmp.code = this->code; in set_attr_grp_icmp()
138 ct->master.l4dst.all = this->dport; in set_attr_grp_master_port()
Dobjopt.c40 this->l4src.all = other->l4dst.all; in __autocomplete()
41 this->l4dst.all = other->l4src.all; in __autocomplete()
100 ct->snat.l4min.all = ct->repl.l4dst.tcp.port; in setobjopt_undo_spat()
102 ct->repl.l4dst.tcp.port = in setobjopt_undo_spat()
112 ct->head.orig.l4dst.tcp.port; in setobjopt_undo_dpat()
192 ct->repl.l4dst.tcp.port != in getobjopt_is_spat()
201 ct->head.orig.l4dst.tcp.port); in getobjopt_is_dpat()
Dgrp_getter.c44 this->dport = ct->head.orig.l4dst.all; in get_attr_grp_orig_port()
51 this->dport = ct->repl.l4dst.all; in get_attr_grp_repl_port()
57 this->type = ct->head.orig.l4dst.icmp.type; in get_attr_grp_icmp()
58 this->code = ct->head.orig.l4dst.icmp.code; in get_attr_grp_icmp()
80 this->dport = ct->master.l4dst.all; in get_attr_grp_master_port()
Dcopy.c77 dest->head.orig.l4dst.all = orig->head.orig.l4dst.all; in copy_attr_orig_port_dst()
89 dest->repl.l4dst.all = orig->repl.l4dst.all; in copy_attr_repl_port_dst()
107 dest->head.orig.l4dst.icmp.type = in copy_attr_icmp_type()
108 orig->head.orig.l4dst.icmp.type; in copy_attr_icmp_type()
115 dest->head.orig.l4dst.icmp.code = in copy_attr_icmp_code()
116 orig->head.orig.l4dst.icmp.code; in copy_attr_icmp_code()
186 dest->master.l4dst.all = orig->master.l4dst.all; in copy_attr_master_port_dst()
Dcompare.c57 return (ct1->head.orig.l4dst.icmp.type == in cmp_icmp_type()
58 ct2->head.orig.l4dst.icmp.type); in cmp_icmp_type()
66 return (ct1->head.orig.l4dst.icmp.code == in cmp_icmp_code()
67 ct2->head.orig.l4dst.icmp.code); in cmp_icmp_code()
83 return (ct1->head.orig.l4dst.all == ct2->head.orig.l4dst.all); in cmp_orig_port_dst()
204 return (ct1->repl.l4dst.all == ct2->repl.l4dst.all); in cmp_repl_port_dst()
Dsetter.c97 ct->head.orig.l4dst.all = *((uint16_t *) value); in set_attr_orig_port_dst()
109 ct->repl.l4dst.all = *((uint16_t *) value); in set_attr_repl_port_dst()
129 ct->head.orig.l4dst.icmp.type = *((uint8_t *) value); in set_attr_icmp_type()
145 ct->repl.l4dst.icmp.type = rtype - 1; in set_attr_icmp_type()
147 ct->repl.l4dst.icmp.type = 255; /* will fail with -EINVAL */ in set_attr_icmp_type()
154 ct->head.orig.l4dst.icmp.code = *((uint8_t *) value); in set_attr_icmp_code()
155 ct->repl.l4dst.icmp.code = *((uint8_t *) value); in set_attr_icmp_code()
338 ct->master.l4dst.all = *((uint16_t *) value); in set_attr_master_port_dst()
Dgetter.c59 return &ct->head.orig.l4dst.all; in get_attr_orig_port_dst()
69 return &ct->repl.l4dst.all; in get_attr_repl_port_dst()
84 return &ct->head.orig.l4dst.icmp.type; in get_attr_icmp_type()
89 return &ct->head.orig.l4dst.icmp.code; in get_attr_icmp_code()
144 return &ct->master.l4dst.all; in get_attr_master_port_dst()
Dparse.c129 tuple->l4dst.tcp.port = in __parse_proto()
145 tuple->l4dst.icmp.type = in __parse_proto()
151 tuple->l4dst.icmp.code = in __parse_proto()
163 tuple->l4dst.icmp.type = in __parse_proto()
169 tuple->l4dst.icmp.code = in __parse_proto()
Dbuild_mnl.c63 mnl_attr_put_u16(nlh, CTA_PROTO_DST_PORT, t->l4dst.tcp.port); in nfct_build_tuple_proto()
66 mnl_attr_put_u8(nlh, CTA_PROTO_ICMP_CODE, t->l4dst.icmp.code); in nfct_build_tuple_proto()
67 mnl_attr_put_u8(nlh, CTA_PROTO_ICMP_TYPE, t->l4dst.icmp.type); in nfct_build_tuple_proto()
71 mnl_attr_put_u8(nlh, CTA_PROTO_ICMPV6_CODE, t->l4dst.icmp.code); in nfct_build_tuple_proto()
72 mnl_attr_put_u8(nlh, CTA_PROTO_ICMPV6_TYPE, t->l4dst.icmp.type); in nfct_build_tuple_proto()
Dsnprintf_default.c153 ntohs(tuple->l4dst.tcp.port)); in __snprintf_proto()
158 ntohs(tuple->l4dst.all)); in __snprintf_proto()
165 tuple->l4dst.icmp.type, in __snprintf_proto()
166 tuple->l4dst.icmp.code, in __snprintf_proto()
Dparse_mnl.c189 tuple->l4dst.tcp.port = in nfct_parse_proto()
205 tuple->l4dst.icmp.type = in nfct_parse_proto()
211 tuple->l4dst.icmp.code = in nfct_parse_proto()
223 tuple->l4dst.icmp.type = in nfct_parse_proto()
229 tuple->l4dst.icmp.code = in nfct_parse_proto()
Dbuild.c61 &t->l4dst.tcp.port, sizeof(uint16_t)); in __build_tuple_proto()
66 &t->l4dst.icmp.code, sizeof(uint8_t)); in __build_tuple_proto()
68 &t->l4dst.icmp.type, sizeof(uint8_t)); in __build_tuple_proto()
75 &t->l4dst.icmp.code, sizeof(uint8_t)); in __build_tuple_proto()
77 &t->l4dst.icmp.type, sizeof(uint8_t)); in __build_tuple_proto()
Dsnprintf_xml.c142 ntohs(tuple->l4dst.tcp.port)); in __snprintf_proto_xml()
153 ntohs(tuple->l4dst.all)); in __snprintf_proto_xml()
/external/libnetfilter_conntrack/include/internal/
Dobject.h113 union __nfct_l4_dst l4dst; member