Home
last modified time | relevance | path

Searched refs:matchsize (Results 1 – 25 of 68) sorted by relevance

123

/linux/net/netfilter/
H A Dxt_tcpudp.c258 .matchsize = sizeof(struct xt_tcp),
267 .matchsize = sizeof(struct xt_tcp),
276 .matchsize = sizeof(struct xt_udp),
285 .matchsize = sizeof(struct xt_udp),
294 .matchsize = sizeof(struct xt_udp),
303 .matchsize = sizeof(struct xt_udp),
310 .matchsize = sizeof(struct ipt_icmp),
319 .matchsize = sizeof(struct ip6t_icmp),
H A Dxt_dscp.c80 .matchsize = sizeof(struct xt_dscp_info),
88 .matchsize = sizeof(struct xt_dscp_info),
97 .matchsize = sizeof(struct xt_tos_match_info),
106 .matchsize = sizeof(struct xt_tos_match_info),
H A Dxt_socket.c235 .matchsize = sizeof(struct xt_socket_mtinfo1),
247 .matchsize = sizeof(struct xt_socket_mtinfo1),
261 .matchsize = sizeof(struct xt_socket_mtinfo1),
274 .matchsize = sizeof(struct xt_socket_mtinfo1),
287 .matchsize = sizeof(struct xt_socket_mtinfo1),
300 .matchsize = sizeof(struct xt_socket_mtinfo1),
H A Dnft_compat.c515 memcpy(out, in, m->matchsize); in match_compat_from_user()
516 pad = XT_ALIGN(m->matchsize) - m->matchsize; in match_compat_from_user()
518 memset(out + m->matchsize, 0, pad); in match_compat_from_user()
564 priv->info = kmalloc(XT_ALIGN(m->matchsize), GFP_KERNEL_ACCOUNT); in nft_match_large_init()
615 match->matchsize, match->usersize)) in __nft_match_dump()
665 size_t size = XT_ALIGN(match->matchsize); in nft_match_validate()
828 unsigned int matchsize; in nft_match_select_ops() local
846 if (match->matchsize > nla_len(tb[NFTA_MATCH_INFO])) { in nft_match_select_ops()
865 matchsize = NFT_EXPR_SIZE(XT_ALIGN(match->matchsize)); in nft_match_select_ops()
866 if (matchsize > NFT_MATCH_LARGE_THRESH) { in nft_match_select_ops()
[all …]
H A Dxt_length.c43 .matchsize = sizeof(struct xt_length_info),
50 .matchsize = sizeof(struct xt_length_info),
H A Dxt_set.c535 .matchsize = sizeof(struct xt_set_info_match_v0),
545 .matchsize = sizeof(struct xt_set_info_match_v1),
555 .matchsize = sizeof(struct xt_set_info_match_v1),
566 .matchsize = sizeof(struct xt_set_info_match_v1),
576 .matchsize = sizeof(struct xt_set_info_match_v1),
587 .matchsize = sizeof(struct xt_set_info_match_v3),
597 .matchsize = sizeof(struct xt_set_info_match_v3),
608 .matchsize = sizeof(struct xt_set_info_match_v4),
618 .matchsize = sizeof(struct xt_set_info_match_v4),
H A Dxt_nfacct.c65 .matchsize = sizeof(struct xt_nfacct_match_info),
76 .matchsize = sizeof(struct xt_nfacct_match_info_v1),
H A Dxt_ipcomp.c76 .matchsize = sizeof(struct xt_ipcomp),
85 .matchsize = sizeof(struct xt_ipcomp),
H A Dxt_esp.c72 .matchsize = sizeof(struct xt_esp),
81 .matchsize = sizeof(struct xt_esp),
H A Dxt_tcpmss.c99 .matchsize = sizeof(struct xt_tcpmss_match_info),
108 .matchsize = sizeof(struct xt_tcpmss_match_info),
H A Dxt_cgroup.c204 .matchsize = sizeof(struct xt_cgroup_info_v0),
216 .matchsize = sizeof(struct xt_cgroup_info_v1),
230 .matchsize = sizeof(struct xt_cgroup_info_v2),
H A Dxt_addrtype.c217 .matchsize = sizeof(struct xt_addrtype_info),
227 .matchsize = sizeof(struct xt_addrtype_info_v1),
238 .matchsize = sizeof(struct xt_addrtype_info_v1),
H A Dxt_bpf.c125 .matchsize = sizeof(struct xt_bpf_info),
136 .matchsize = sizeof(struct xt_bpf_info_v1),
H A Dxt_ecn.c155 .matchsize = sizeof(struct xt_ecn_info),
163 .matchsize = sizeof(struct xt_ecn_info),
H A Dxt_iprange.c83 .matchsize = sizeof(struct xt_iprange_mtinfo), in iprange_mt6()
91 .matchsize = sizeof(struct xt_iprange_mtinfo), in iprange_mt6()
H A Dxt_cluster.c155 .matchsize = sizeof(struct xt_cluster_match_info),
165 .matchsize = sizeof(struct xt_cluster_match_info),
H A Dxt_physdev.c150 .matchsize = sizeof(struct xt_physdev_info),
159 .matchsize = sizeof(struct xt_physdev_info),
H A Dxt_multiport.c172 .matchsize = sizeof(struct xt_multiport_v1),
181 .matchsize = sizeof(struct xt_multiport_v1),
H A Dxt_dccp.c143 .matchsize = sizeof(struct xt_dccp_info),
152 .matchsize = sizeof(struct xt_dccp_info),
H A Dxt_conntrack.c287 .matchsize = sizeof(struct xt_conntrack_mtinfo1),
297 .matchsize = sizeof(struct xt_conntrack_mtinfo2),
307 .matchsize = sizeof(struct xt_conntrack_mtinfo3),
H A Dxt_comment.c31 .matchsize = sizeof(struct xt_comment_info),
H A Dxt_sctp.c157 .matchsize = sizeof(struct xt_sctp_info), in sctp_mt_check()
166 .matchsize = sizeof(struct xt_sctp_info), in sctp_mt_check()
H A Dxt_policy.c176 .matchsize = sizeof(struct xt_policy_info),
185 .matchsize = sizeof(struct xt_policy_info),
H A Dxt_realm.c33 .matchsize = sizeof(struct xt_realm_info),
/linux/net/ipv6/netfilter/
H A Dip6t_hbh.c169 .matchsize = sizeof(struct ip6t_opts), in hbh_mt6_check()
177 .matchsize = sizeof(struct ip6t_opts), in hbh_mt6_check()

123