Home
last modified time | relevance | path

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

/linux/net/netfilter/
A 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()
467 pad = XT_ALIGN(m->matchsize) - m->matchsize; in match_compat_from_user()
479 size_t size = XT_ALIGN(nla_len(tb[NFTA_MATCH_INFO])); in __nft_match_init()
515 priv->info = kmalloc(XT_ALIGN(m->matchsize), GFP_KERNEL); in nft_match_large_init()
777 matchsize = NFT_EXPR_SIZE(XT_ALIGN(match->matchsize)); in nft_match_select_ops()
859 ops->size = NFT_EXPR_SIZE(XT_ALIGN(target->targetsize)); in nft_target_select_ops()
A Dxt_l2tp.c319 .matchsize = XT_ALIGN(sizeof(struct xt_l2tp_info)),
333 .matchsize = XT_ALIGN(sizeof(struct xt_l2tp_info)),
A 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()
A Dxt_ipvs.c176 .matchsize = XT_ALIGN(sizeof(struct xt_ipvs_mtinfo)),
/linux/include/uapi/linux/netfilter/
A Dx_tables.h60 .target_size = XT_ALIGN(__size), \
100 #define XT_ALIGN(s) __ALIGN_KERNEL((s), __alignof__(struct _xt_align)) macro
/linux/net/sched/
A Dem_ipt.c159 mdata_len = XT_ALIGN(nla_len(tb[TCA_EM_IPT_MATCH_DATA])); in em_ipt_change()
/linux/net/bridge/netfilter/
A Debtables.c1454 XT_ALIGN(datasize))) in ebt_obj_to_user()
1636 return XT_ALIGN(userlen) - COMPAT_XT_ALIGN(userlen); in ebt_compat_match_offset()
2018 pad = XT_ALIGN(size_kern) - size_kern; in compat_mtw_from_user()

Completed in 17 milliseconds