Home
last modified time | relevance | path

Searched refs:protoinfo (Results 1 – 12 of 12) sorted by relevance

/external/libnetfilter_conntrack/src/conntrack/
Dcopy.c204 dest->protoinfo.tcp.state = orig->protoinfo.tcp.state; in copy_attr_tcp_state()
210 dest->protoinfo.tcp.flags[__DIR_ORIG].value = in copy_attr_tcp_flags_orig()
211 orig->protoinfo.tcp.flags[__DIR_ORIG].value; in copy_attr_tcp_flags_orig()
217 dest->protoinfo.tcp.flags[__DIR_REPL].value = in copy_attr_tcp_flags_repl()
218 orig->protoinfo.tcp.flags[__DIR_REPL].value; in copy_attr_tcp_flags_repl()
224 dest->protoinfo.tcp.flags[__DIR_ORIG].mask = in copy_attr_tcp_mask_orig()
225 orig->protoinfo.tcp.flags[__DIR_ORIG].mask; in copy_attr_tcp_mask_orig()
231 dest->protoinfo.tcp.flags[__DIR_REPL].mask = in copy_attr_tcp_mask_repl()
232 orig->protoinfo.tcp.flags[__DIR_REPL].mask; in copy_attr_tcp_mask_repl()
238 dest->protoinfo.tcp.wscale[__DIR_ORIG] = in copy_attr_tcp_wscale_orig()
[all …]
Dgetter.c159 return &ct->protoinfo.tcp.state; in get_attr_tcp_state()
164 return &ct->protoinfo.tcp.flags[__DIR_ORIG].value; in get_attr_tcp_flags_orig()
169 return &ct->protoinfo.tcp.flags[__DIR_ORIG].mask; in get_attr_tcp_mask_orig()
174 return &ct->protoinfo.tcp.flags[__DIR_REPL].value; in get_attr_tcp_flags_repl()
179 return &ct->protoinfo.tcp.flags[__DIR_REPL].mask; in get_attr_tcp_mask_repl()
184 return &ct->protoinfo.tcp.wscale[__DIR_ORIG]; in get_attr_tcp_wscale_orig()
189 return &ct->protoinfo.tcp.wscale[__DIR_REPL]; in get_attr_tcp_wscale_repl()
194 return &ct->protoinfo.sctp.state; in get_attr_sctp_state()
199 return &ct->protoinfo.sctp.vtag[__DIR_ORIG]; in get_attr_sctp_vtag_orig()
204 return &ct->protoinfo.sctp.vtag[__DIR_REPL]; in get_attr_sctp_vtag_repl()
[all …]
Dsetter.c192 ct->protoinfo.tcp.state = *((uint8_t *) value); in set_attr_tcp_state()
198 ct->protoinfo.tcp.flags[__DIR_ORIG].value = *((uint8_t *) value); in set_attr_tcp_flags_orig()
204 ct->protoinfo.tcp.flags[__DIR_ORIG].mask = *((uint8_t *) value); in set_attr_tcp_mask_orig()
210 ct->protoinfo.tcp.flags[__DIR_REPL].value = *((uint8_t *) value); in set_attr_tcp_flags_repl()
216 ct->protoinfo.tcp.flags[__DIR_REPL].mask = *((uint8_t *) value); in set_attr_tcp_mask_repl()
222 ct->protoinfo.sctp.state = *((uint8_t *) value); in set_attr_sctp_state()
228 ct->protoinfo.sctp.vtag[__DIR_ORIG] = *((uint32_t *) value); in set_attr_sctp_vtag_orig()
234 ct->protoinfo.sctp.vtag[__DIR_REPL] = *((uint32_t *) value); in set_attr_sctp_vtag_repl()
399 ct->protoinfo.dccp.state = *((uint8_t *) value); in set_attr_dccp_state()
405 ct->protoinfo.dccp.role = *((uint8_t *) value); in set_attr_dccp_role()
[all …]
Dparse.c216 ct->protoinfo.tcp.state = in __parse_protoinfo_tcp()
222 memcpy(&ct->protoinfo.tcp.wscale[__DIR_ORIG], in __parse_protoinfo_tcp()
229 memcpy(&ct->protoinfo.tcp.wscale[__DIR_REPL], in __parse_protoinfo_tcp()
236 memcpy(&ct->protoinfo.tcp.flags[0], in __parse_protoinfo_tcp()
244 memcpy(&ct->protoinfo.tcp.flags[1], in __parse_protoinfo_tcp()
260 ct->protoinfo.sctp.state = in __parse_protoinfo_sctp()
266 ct->protoinfo.sctp.vtag[__DIR_ORIG] = in __parse_protoinfo_sctp()
272 ct->protoinfo.sctp.vtag[__DIR_REPL] = in __parse_protoinfo_sctp()
287 ct->protoinfo.dccp.state = in __parse_protoinfo_dccp()
292 ct->protoinfo.dccp.role = in __parse_protoinfo_dccp()
[all …]
Dbuild_mnl.c136 ct->protoinfo.tcp.state); in nfct_build_protoinfo()
142 &ct->protoinfo.tcp.flags[0]); in nfct_build_protoinfo()
148 &ct->protoinfo.tcp.flags[1]); in nfct_build_protoinfo()
152 ct->protoinfo.tcp.wscale[__DIR_ORIG]); in nfct_build_protoinfo()
156 ct->protoinfo.tcp.wscale[__DIR_REPL]); in nfct_build_protoinfo()
173 ct->protoinfo.sctp.state); in nfct_build_protoinfo()
177 htonl(ct->protoinfo.sctp.vtag[__DIR_ORIG])); in nfct_build_protoinfo()
181 htonl(ct->protoinfo.sctp.vtag[__DIR_REPL])); in nfct_build_protoinfo()
197 ct->protoinfo.dccp.state); in nfct_build_protoinfo()
201 ct->protoinfo.dccp.role); in nfct_build_protoinfo()
[all …]
Dbuild.c130 &ct->protoinfo.tcp.state, in __build_protoinfo()
136 &ct->protoinfo.tcp.flags[0], in __build_protoinfo()
142 &ct->protoinfo.tcp.flags[1], in __build_protoinfo()
147 &ct->protoinfo.tcp.wscale[__DIR_ORIG], in __build_protoinfo()
152 &ct->protoinfo.tcp.wscale[__DIR_REPL], in __build_protoinfo()
169 &ct->protoinfo.sctp.state, in __build_protoinfo()
174 htonl(ct->protoinfo.sctp.vtag[__DIR_ORIG])); in __build_protoinfo()
178 htonl(ct->protoinfo.sctp.vtag[__DIR_REPL])); in __build_protoinfo()
194 &ct->protoinfo.dccp.state, in __build_protoinfo()
199 &ct->protoinfo.dccp.role, in __build_protoinfo()
[all …]
Dparse_mnl.c338 ct->protoinfo.tcp.state = in nfct_parse_protoinfo_tcp()
344 memcpy(&ct->protoinfo.tcp.wscale[__DIR_ORIG], in nfct_parse_protoinfo_tcp()
351 memcpy(&ct->protoinfo.tcp.wscale[__DIR_REPL], in nfct_parse_protoinfo_tcp()
358 memcpy(&ct->protoinfo.tcp.flags[0], in nfct_parse_protoinfo_tcp()
366 memcpy(&ct->protoinfo.tcp.flags[1], in nfct_parse_protoinfo_tcp()
409 ct->protoinfo.sctp.state = in nfct_parse_protoinfo_sctp()
415 ct->protoinfo.sctp.vtag[__DIR_ORIG] = in nfct_parse_protoinfo_sctp()
421 ct->protoinfo.sctp.vtag[__DIR_REPL] = in nfct_parse_protoinfo_sctp()
462 ct->protoinfo.dccp.state = mnl_attr_get_u8(tb[CTA_PROTOINFO_DCCP_STATE]); in nfct_parse_protoinfo_dccp()
466 ct->protoinfo.dccp.role = mnl_attr_get_u8(tb[CTA_PROTOINFO_DCCP_ROLE]); in nfct_parse_protoinfo_dccp()
[all …]
Dcompare.c360 return (ct1->protoinfo.tcp.state == ct2->protoinfo.tcp.state); in cmp_tcp_state()
368 return (ct1->protoinfo.sctp.state == ct2->protoinfo.sctp.state); in cmp_sctp_state()
376 return (ct1->protoinfo.dccp.state == ct2->protoinfo.dccp.state); in cmp_dccp_state()
Dsnprintf_default.c44 ct->protoinfo.tcp.state < TCP_CONNTRACK_MAX ? in __snprintf_protoinfo()
45 states[ct->protoinfo.tcp.state] : in __snprintf_protoinfo()
54 ct->protoinfo.sctp.state < SCTP_CONNTRACK_MAX ? in __snprintf_protoinfo_sctp()
55 sctp_states[ct->protoinfo.sctp.state] : in __snprintf_protoinfo_sctp()
64 ct->protoinfo.dccp.state < DCCP_CONNTRACK_MAX ? in __snprintf_protoinfo_dccp()
65 sctp_states[ct->protoinfo.dccp.state] : in __snprintf_protoinfo_dccp()
Dsnprintf_xml.c434 ct->protoinfo.tcp.state < TCP_CONNTRACK_MAX ? in __snprintf_conntrack_xml()
435 states[ct->protoinfo.tcp.state] : in __snprintf_conntrack_xml()
442 ct->protoinfo.sctp.state < SCTP_CONNTRACK_MAX ? in __snprintf_conntrack_xml()
443 states[ct->protoinfo.sctp.state] : in __snprintf_conntrack_xml()
450 ct->protoinfo.sctp.state < DCCP_CONNTRACK_MAX ? in __snprintf_conntrack_xml()
451 states[ct->protoinfo.dccp.state] : in __snprintf_conntrack_xml()
/external/iptables/extensions/
Dlibxt_CT.t4 -j CT --ctevents new,related,destroy,reply,assured,protoinfo,helper,mark;=;OK
/external/libnetfilter_conntrack/include/internal/
Dobject.h176 union __nfct_protoinfo protoinfo; member