Home
last modified time | relevance | path

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

123

/linux/net/netfilter/
H A Dxt_tcpudp.c264 .matchsize = sizeof(struct xt_tcp),
273 .matchsize = sizeof(struct xt_tcp),
282 .matchsize = sizeof(struct xt_udp),
291 .matchsize = sizeof(struct xt_udp),
300 .matchsize = sizeof(struct xt_udp),
309 .matchsize = sizeof(struct xt_udp),
316 .matchsize = sizeof(struct ipt_icmp),
325 .matchsize = sizeof(struct ip6t_icmp),
H A Dxt_dscp.c70 .matchsize = sizeof(struct xt_dscp_info),
78 .matchsize = sizeof(struct xt_dscp_info),
86 .matchsize = sizeof(struct xt_tos_match_info),
94 .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.c499 memcpy(out, in, m->matchsize); in match_compat_from_user()
500 pad = XT_ALIGN(m->matchsize) - m->matchsize; in match_compat_from_user()
502 memset(out + m->matchsize, 0, pad); in match_compat_from_user()
548 priv->info = kmalloc(XT_ALIGN(m->matchsize), GFP_KERNEL_ACCOUNT); in nft_match_large_init()
599 match->matchsize, match->usersize)) in __nft_match_dump()
649 size_t size = XT_ALIGN(match->matchsize); in nft_match_validate()
812 unsigned int matchsize; in nft_match_select_ops() local
830 if (match->matchsize > nla_len(tb[NFTA_MATCH_INFO])) { in nft_match_select_ops()
849 matchsize = NFT_EXPR_SIZE(XT_ALIGN(match->matchsize)); in nft_match_select_ops()
850 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.c82 .matchsize = sizeof(struct xt_ipcomp),
91 .matchsize = sizeof(struct xt_ipcomp),
H A Dxt_esp.c78 .matchsize = sizeof(struct xt_esp),
87 .matchsize = sizeof(struct xt_esp),
H A Dxt_tcpmss.c86 .matchsize = sizeof(struct xt_tcpmss_match_info),
94 .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.c107 .matchsize = sizeof(struct xt_iprange_mtinfo),
115 .matchsize = sizeof(struct xt_iprange_mtinfo),
H A Dxt_cluster.c155 .matchsize = sizeof(struct xt_cluster_match_info),
165 .matchsize = sizeof(struct xt_cluster_match_info),
H A Dxt_physdev.c155 .matchsize = sizeof(struct xt_physdev_info),
164 .matchsize = sizeof(struct xt_physdev_info),
H A Dxt_multiport.c176 .matchsize = sizeof(struct xt_multiport_v1),
185 .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_sctp.c174 .matchsize = sizeof(struct xt_sctp_info),
183 .matchsize = sizeof(struct xt_sctp_info),
H A Dxt_policy.c176 .matchsize = sizeof(struct xt_policy_info),
185 .matchsize = sizeof(struct xt_policy_info),
H A Dxt_comment.c31 .matchsize = sizeof(struct xt_comment_info),
H A Dxt_realm.c33 .matchsize = sizeof(struct xt_realm_info),
/linux/net/ipv6/netfilter/
H A Dip6t_hbh.c186 .matchsize = sizeof(struct ip6t_opts),
194 .matchsize = sizeof(struct ip6t_opts),

123