Lines Matching refs:tn
38 struct tc_action_net tn; /* Must be first */ member
599 struct tc_ct_action_net *tn = net_generic(net, ct_net_id); in tcf_ct_fill_params() local
635 if (!tn->labels) { in tcf_ct_fill_params()
676 struct tc_action_net *tn = net_generic(net, ct_net_id); in tcf_ct_init() local
700 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_ct_init()
705 err = tcf_idr_create(tn, index, est, a, in tcf_ct_init()
708 tcf_idr_cleanup(tn, index); in tcf_ct_init()
903 struct tc_action_net *tn = net_generic(net, ct_net_id); in tcf_ct_walker() local
905 return tcf_generic_walker(tn, skb, cb, type, ops, extack); in tcf_ct_walker()
910 struct tc_action_net *tn = net_generic(net, ct_net_id); in tcf_ct_search() local
912 return tcf_idr_search(tn, a, index); in tcf_ct_search()
945 struct tc_ct_action_net *tn = net_generic(net, ct_net_id); in ct_init_net() local
948 tn->labels = false; in ct_init_net()
951 tn->labels = true; in ct_init_net()
954 return tc_action_net_init(net, &tn->tn, &act_ct_ops); in ct_init_net()
963 struct tc_ct_action_net *tn = net_generic(net, ct_net_id); in ct_exit_net() local
965 if (tn->labels) in ct_exit_net()