Home
last modified time | relevance | path

Searched refs:ctmask (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/net/netfilter/
Dnf_conntrack_ecache.c137 if (!((events | missed) & e->ctmask)) in __nf_conntrack_eventmask_report()
300 bool nf_ct_ecache_ext_add(struct nf_conn *ct, u16 ctmask, u16 expmask, gfp_t gfp) in nf_ct_ecache_ext_add() argument
308 if (ctmask || expmask) in nf_ct_ecache_ext_add()
317 if (!ctmask && !expmask) { in nf_ct_ecache_ext_add()
318 ctmask = ~0; in nf_ct_ecache_ext_add()
329 e->ctmask = ctmask; in nf_ct_ecache_ext_add()
Dxt_connmark.c42 newmark = (oldmark & ~info->ctmask) ^ info->ctmark; in connmark_tg_shift()
60 newmark = (READ_ONCE(ct->mark) & ~info->ctmask) ^ in connmark_tg_shift()
68 new_targetmark = (READ_ONCE(ct->mark) & info->ctmask); in connmark_tg_shift()
88 .ctmask = info->ctmask, in connmark_tg()
Dnft_ct.c316 u32 ctmask = regs->data[priv->sreg]; in nft_ct_set_eval() local
319 if (e->ctmask != ctmask) in nft_ct_set_eval()
320 e->ctmask = ctmask; in nft_ct_set_eval()
324 if (ctmask && !nf_ct_is_confirmed(ct)) in nft_ct_set_eval()
325 nf_ct_ecache_ext_add(ct, ctmask, 0, GFP_ATOMIC); in nft_ct_set_eval()
Dnf_conntrack_core.c1748 !nf_ct_ecache_ext_add(ct, ecache ? ecache->ctmask : 0, in init_conntrack()
/linux-6.6.21/include/uapi/linux/netfilter/
Dxt_connmark.h23 __u32 ctmark, ctmask, nfmask; member
28 __u32 ctmark, ctmask, nfmask; member
/linux-6.6.21/include/net/netfilter/
Dnf_conntrack_ecache.h23 u16 ctmask; /* bitmask of ct events to be delivered */ member
76 bool nf_ct_ecache_ext_add(struct nf_conn *ct, u16 ctmask, u16 expmask, gfp_t gfp);
91 static inline bool nf_ct_ecache_ext_add(struct nf_conn *ct, u16 ctmask, u16 expmask, gfp_t gfp) in nf_ct_ecache_ext_add() argument
/linux-6.6.21/net/openvswitch/
Dconntrack.c969 cache->ctmask = info->eventmask; in ovs_ct_commit()