Home
last modified time | relevance | path

Searched refs:ct_general (Results 1 – 16 of 16) sorted by relevance

/linux/include/net/netfilter/
H A Dnf_conntrack.h86 struct nf_conntrack ct_general; member
131 return container_of(nfct, struct nf_conn, ct_general); in nf_ct_to_nf_conn()
185 if (ct && refcount_dec_and_test(&ct->ct_general.use)) in nf_ct_put()
186 nf_ct_destroy(&ct->ct_general); in nf_ct_put()
/linux/net/netfilter/
H A Dnf_conntrack_core.c547 refcount_set(&tmpl->ct_general.use, 1); in nf_ct_tmpl_alloc()
717 if (!refcount_inc_not_zero(&ct->ct_general.use)) in nf_ct_gc_expired()
786 if (likely(refcount_inc_not_zero(&ct->ct_general.use))) { in __nf_conntrack_find_get()
931 refcount_set(&ct->ct_general.use, 2); in nf_conntrack_hash_check_insert()
983 refcount_inc(&ct->ct_general.use); in __nf_conntrack_insert_prepare()
1055 nf_conntrack_get(&ct->ct_general); in __nf_ct_resolve_clash()
1428 if (!refcount_inc_not_zero(&tmp->ct_general.use)) in early_drop_list()
1586 if (!refcount_inc_not_zero(&tmp->ct_general.use)) in gc_worker()
1697 refcount_set(&ct->ct_general.use, 0); in __nf_conntrack_alloc()
1722 WARN_ON(refcount_read(&ct->ct_general.use) != 0); in nf_conntrack_free()
[all …]
H A Dxt_CT.c27 refcount_inc(&ct->ct_general.use); in xt_ct_target()
H A Dnf_conntrack_standalone.c301 if (unlikely(!refcount_inc_not_zero(&ct->ct_general.use))) in ct_seq_show()
369 seq_printf(s, "use=%u\n", refcount_read(&ct->ct_general.use)); in ct_seq_show()
H A Dnft_ct.c253 if (likely(refcount_read(&ct->ct_general.use) == 1)) { in nft_ct_set_zone_eval()
254 refcount_inc(&ct->ct_general.use); in nft_ct_set_zone_eval()
H A Dnf_synproxy_core.c530 synproxy_send_tcp(net, skb, nskb, &snet->tmpl->ct_general, IP_CT_NEW, in synproxy_send_server_syn()
944 synproxy_send_tcp_ipv6(net, skb, nskb, &snet->tmpl->ct_general, in synproxy_send_server_syn_ipv6()
H A Dnf_conntrack_expect.c211 !refcount_inc_not_zero(&exp->master->ct_general.use))) in nf_ct_find_expectation()
H A Dnf_flow_table_core.c63 refcount_inc(&ct->ct_general.use); in flow_offload_alloc()
H A Dnfnetlink_queue.c853 use = refcount_read(&ct->ct_general.use); in nf_ct_drop_unconfirmed()
858 if (!refcount_dec_not_one(&ct->ct_general.use)) in nf_ct_drop_unconfirmed()
H A Dnf_conntrack_netlink.c526 if (nla_put_be32(skb, CTA_USE, htonl(refcount_read(&ct->ct_general.use)))) in ctnetlink_dump_use()
1224 refcount_inc_not_zero(&ct->ct_general.use)) in ctnetlink_dump_table()
1249 nf_conntrack_get(&ct->ct_general); in ctnetlink_dump_table()
1752 if (!refcount_inc_not_zero(&ct->ct_general.use)) in ctnetlink_dump_one_entry()
/linux/include/net/tc_act/
H A Dtc_ct.h87 nf_conntrack_get(&ct->ct_general); in tcf_ct_flow_table_restore_skb()
/linux/net/bridge/netfilter/
H A Dnf_conntrack_bridge.c313 ct = container_of(nfct, struct nf_conn, ct_general); in nf_ct_bridge_in()
/linux/net/bridge/
H A Dbr_netfilter_hooks.c626 ct = container_of(nfct, struct nf_conn, ct_general); in br_nf_local_in()
657 ct = container_of(nfct, struct nf_conn, ct_general); in br_nf_local_in()
/linux/net/sched/
H A Dact_ct.c721 nf_conntrack_get(&ct->ct_general); in tcf_ct_flow_table_lookup()
1031 nf_conntrack_get(&tmpl->ct_general); in tcf_ct_act()
/linux/include/net/
H A Dip_vs.h1749 nf_conntrack_put(&ct->ct_general); in ip_vs_notrack()
/linux/net/openvswitch/
H A Dconntrack.c750 nf_conntrack_get(&tmpl->ct_general); in __ovs_ct_lookup()