Home
last modified time | relevance | path

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

/Linux-v6.6/include/uapi/linux/netfilter/
Dx_tables.h60 .target_size = XT_ALIGN(__size), \
100 #define XT_ALIGN(s) __ALIGN_KERNEL((s), __alignof__(struct _xt_align)) macro
/Linux-v6.6/net/netfilter/
Dnft_compat.c190 pad = XT_ALIGN(t->targetsize) - t->targetsize; in target_compat_from_user()
242 size_t size = XT_ALIGN(nla_len(tb[NFTA_TARGET_INFO])); in nft_target_init()
313 unsigned int info_size, aligned_size = XT_ALIGN(size); in nft_extension_dump_info()
468 pad = XT_ALIGN(m->matchsize) - m->matchsize; in match_compat_from_user()
480 size_t size = XT_ALIGN(nla_len(tb[NFTA_MATCH_INFO])); in __nft_match_init()
516 priv->info = kmalloc(XT_ALIGN(m->matchsize), GFP_KERNEL); in nft_match_large_init()
789 matchsize = NFT_EXPR_SIZE(XT_ALIGN(match->matchsize)); in nft_match_select_ops()
871 ops->size = NFT_EXPR_SIZE(XT_ALIGN(target->targetsize)); in nft_target_select_ops()
Dxt_l2tp.c319 .matchsize = XT_ALIGN(sizeof(struct xt_l2tp_info)),
333 .matchsize = XT_ALIGN(sizeof(struct xt_l2tp_info)),
Dx_tables.c330 XT_ALIGN(K->u.kernel.TYPE->TYPE##size))
485 if (XT_ALIGN(par->match->matchsize) != size && in xt_check_match()
494 XT_ALIGN(par->match->matchsize), size); in xt_check_match()
747 return XT_ALIGN(match->matchsize) - COMPAT_XT_ALIGN(csize); in xt_compat_match_offset()
938 if (XT_ALIGN(target_offset + sizeof(*st)) != next_offset) in xt_check_entry_offsets()
1005 if (XT_ALIGN(par->target->targetsize) != size) { in xt_check_target()
1009 XT_ALIGN(par->target->targetsize), size); in xt_check_target()
1127 return XT_ALIGN(target->targetsize) - COMPAT_XT_ALIGN(csize); in xt_compat_target_offset()
Dxt_ipvs.c176 .matchsize = XT_ALIGN(sizeof(struct xt_ipvs_mtinfo)),
/Linux-v6.6/net/sched/
Dem_ipt.c159 mdata_len = XT_ALIGN(nla_len(tb[TCA_EM_IPT_MATCH_DATA])); in em_ipt_change()
/Linux-v6.6/net/bridge/netfilter/
Debtables.c1450 XT_ALIGN(datasize))) in ebt_obj_to_user()
1632 return XT_ALIGN(userlen) - COMPAT_XT_ALIGN(userlen); in ebt_compat_match_offset()
2014 pad = XT_ALIGN(size_kern) - size_kern; in compat_mtw_from_user()