• Home
  • Raw
  • Download

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
518 ct = nf_ct_get(skb, &ctinfo); in tcf_ct_flow_table_lookup()
519 if ((ct && !nf_ct_is_template(ct)) || ctinfo == IP_CT_UNTRACKED) in tcf_ct_flow_table_lookup()
548 ctinfo = dir == FLOW_OFFLOAD_DIR_ORIGINAL ? IP_CT_ESTABLISHED : in tcf_ct_flow_table_lookup()
553 nf_ct_set(skb, ct, ctinfo); in tcf_ct_flow_table_lookup()
581 enum ip_conntrack_info ctinfo; in tcf_ct_skb_nfct_cached() local
584 ct = nf_ct_get(skb, &ctinfo); in tcf_ct_skb_nfct_cached()
593 if (force && CTINFO2DIR(ctinfo) != IP_CT_DIR_ORIGINAL) { in tcf_ct_skb_nfct_cached()
689 enum ip_conntrack_info ctinfo; in tcf_ct_handle_fragments() local
696 ct = nf_ct_get(skb, &ctinfo); in tcf_ct_handle_fragments()
697 if ((ct && !nf_ct_is_template(ct)) || ctinfo == IP_CT_UNTRACKED) in tcf_ct_handle_fragments()
771 enum ip_conntrack_info ctinfo, in ct_nat_execute() argument
784 switch (ctinfo) { in ct_nat_execute()
789 if (!nf_nat_icmp_reply_translation(skb, ct, ctinfo, in ct_nat_execute()
802 ctinfo, in ct_nat_execute()
837 err = nf_nat_packet(ct, ctinfo, hooknum, skb); in ct_nat_execute()
876 enum ip_conntrack_info ctinfo, in tcf_ct_act_nat() argument
892 if (ctinfo != IP_CT_NEW && (ct->status & IPS_NAT_MASK) && in tcf_ct_act_nat()
893 (ctinfo != IP_CT_RELATED || commit)) { in tcf_ct_act_nat()
895 if (CTINFO2DIR(ctinfo) == IP_CT_DIR_REPLY) in tcf_ct_act_nat()
913 err = ct_nat_execute(skb, ct, ctinfo, range, maniptype); in tcf_ct_act_nat()
921 err = ct_nat_execute(skb, ct, ctinfo, range, in tcf_ct_act_nat()
923 } else if (CTINFO2DIR(ctinfo) == IP_CT_DIR_ORIGINAL) { in tcf_ct_act_nat()
924 err = ct_nat_execute(skb, ct, ctinfo, NULL, in tcf_ct_act_nat()
939 enum ip_conntrack_info ctinfo; in tcf_ct_act() local
961 ct = nf_ct_get(skb, &ctinfo); in tcf_ct_act()
1005 ct = nf_ct_get(skb, &ctinfo); in tcf_ct_act()
1021 ct = nf_ct_get(skb, &ctinfo); in tcf_ct_act()
1026 err = tcf_ct_act_nat(skb, ct, ctinfo, p->ct_action, &p->range, commit); in tcf_ct_act()
1042 tcf_ct_flow_table_process_conn(p->ct_ft, ct, ctinfo); in tcf_ct_act()