Lines Matching refs:ctinfo
174 enum ip_conntrack_info ctinfo; in tcf_ct_flow_table_add_action_meta() local
182 ctinfo = dir == IP_CT_DIR_ORIGINAL ? IP_CT_ESTABLISHED : in tcf_ct_flow_table_add_action_meta()
185 entry->ct_metadata.cookie = (unsigned long)ct | ctinfo; in tcf_ct_flow_table_add_action_meta()
390 enum ip_conntrack_info ctinfo) in tcf_ct_flow_table_process_conn() argument
394 if (ctinfo != IP_CT_ESTABLISHED && ctinfo != IP_CT_ESTABLISHED_REPLY) in tcf_ct_flow_table_process_conn()
511 enum ip_conntrack_info ctinfo; in tcf_ct_flow_table_lookup() local
543 ctinfo = dir == FLOW_OFFLOAD_DIR_ORIGINAL ? IP_CT_ESTABLISHED : in tcf_ct_flow_table_lookup()
548 nf_ct_set(skb, ct, ctinfo); in tcf_ct_flow_table_lookup()
576 enum ip_conntrack_info ctinfo; in tcf_ct_skb_nfct_cached() local
579 ct = nf_ct_get(skb, &ctinfo); in tcf_ct_skb_nfct_cached()
588 if (force && CTINFO2DIR(ctinfo) != IP_CT_DIR_ORIGINAL) { in tcf_ct_skb_nfct_cached()
684 enum ip_conntrack_info ctinfo; in tcf_ct_handle_fragments() local
691 ct = nf_ct_get(skb, &ctinfo); in tcf_ct_handle_fragments()
692 if ((ct && !nf_ct_is_template(ct)) || ctinfo == IP_CT_UNTRACKED) in tcf_ct_handle_fragments()
766 enum ip_conntrack_info ctinfo, in ct_nat_execute() argument
779 switch (ctinfo) { in ct_nat_execute()
784 if (!nf_nat_icmp_reply_translation(skb, ct, ctinfo, in ct_nat_execute()
797 ctinfo, in ct_nat_execute()
832 err = nf_nat_packet(ct, ctinfo, hooknum, skb); in ct_nat_execute()
871 enum ip_conntrack_info ctinfo, in tcf_ct_act_nat() argument
887 if (ctinfo != IP_CT_NEW && (ct->status & IPS_NAT_MASK) && in tcf_ct_act_nat()
888 (ctinfo != IP_CT_RELATED || commit)) { in tcf_ct_act_nat()
890 if (CTINFO2DIR(ctinfo) == IP_CT_DIR_REPLY) in tcf_ct_act_nat()
908 err = ct_nat_execute(skb, ct, ctinfo, range, maniptype); in tcf_ct_act_nat()
916 err = ct_nat_execute(skb, ct, ctinfo, range, in tcf_ct_act_nat()
918 } else if (CTINFO2DIR(ctinfo) == IP_CT_DIR_ORIGINAL) { in tcf_ct_act_nat()
919 err = ct_nat_execute(skb, ct, ctinfo, NULL, in tcf_ct_act_nat()
934 enum ip_conntrack_info ctinfo; in tcf_ct_act() local
956 ct = nf_ct_get(skb, &ctinfo); in tcf_ct_act()
1000 ct = nf_ct_get(skb, &ctinfo); in tcf_ct_act()
1016 ct = nf_ct_get(skb, &ctinfo); in tcf_ct_act()
1021 err = tcf_ct_act_nat(skb, ct, ctinfo, p->ct_action, &p->range, commit); in tcf_ct_act()
1037 tcf_ct_flow_table_process_conn(p->ct_ft, ct, ctinfo); in tcf_ct_act()