Home
last modified time | relevance | path

Searched refs:xt (Results 1 – 3 of 3) sorted by relevance

/net/netfilter/
Dx_tables.c78 static struct xt_af *xt __read_mostly;
93 mutex_lock(&xt[af].mutex); in xt_register_target()
94 list_add(&target->list, &xt[af].target); in xt_register_target()
95 mutex_unlock(&xt[af].mutex); in xt_register_target()
105 mutex_lock(&xt[af].mutex); in xt_unregister_target()
107 mutex_unlock(&xt[af].mutex); in xt_unregister_target()
143 mutex_lock(&xt[af].mutex); in xt_register_match()
144 list_add(&match->list, &xt[af].match); in xt_register_match()
145 mutex_unlock(&xt[af].mutex); in xt_register_match()
155 mutex_lock(&xt[af].mutex); in xt_unregister_match()
[all …]
Dnft_compat.c63 const void *xt, const void *xt_info) in nft_compat_set_par() argument
68 par->target = xt; in nft_compat_set_par()
80 struct xt_action_param xt; in nft_target_eval_xt() local
83 nft_compat_set_par(&xt, pkt, target, info); in nft_target_eval_xt()
85 ret = target->target(skb, &xt); in nft_target_eval_xt()
87 if (xt.hotdrop) in nft_target_eval_xt()
107 struct xt_action_param xt; in nft_target_eval_bridge() local
110 nft_compat_set_par(&xt, pkt, target, info); in nft_target_eval_bridge()
112 ret = target->target(skb, &xt); in nft_target_eval_bridge()
114 if (xt.hotdrop) in nft_target_eval_bridge()
[all …]
/net/xfrm/
Dxfrm_user.c3232 struct xfrm_tmpl *xt, struct xfrm_policy *xp) in build_acquire() argument
3248 ua->aalgos = xt->aalgos; in build_acquire()
3249 ua->ealgos = xt->ealgos; in build_acquire()
3250 ua->calgos = xt->calgos; in build_acquire()
3271 static int xfrm_send_acquire(struct xfrm_state *x, struct xfrm_tmpl *xt, in xfrm_send_acquire() argument
3282 err = build_acquire(skb, x, xt, xp); in xfrm_send_acquire()