Home
last modified time | relevance | path

Searched refs:optsize (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dtcp_hdr_options.c259 size_t optsize = sizeof(struct bpf_test_option); in reset_test() local
262 memset(&skel->bss->passive_synack_out, 0, optsize); in reset_test()
263 memset(&skel->bss->passive_fin_out, 0, optsize); in reset_test()
265 memset(&skel->bss->passive_estab_in, 0, optsize); in reset_test()
266 memset(&skel->bss->passive_fin_in, 0, optsize); in reset_test()
268 memset(&skel->bss->active_syn_out, 0, optsize); in reset_test()
269 memset(&skel->bss->active_fin_out, 0, optsize); in reset_test()
271 memset(&skel->bss->active_estab_in, 0, optsize); in reset_test()
272 memset(&skel->bss->active_fin_in, 0, optsize); in reset_test()
279 memset(&exp_passive_estab_in, 0, optsize); in reset_test()
[all …]
/linux-6.1.9/net/netfilter/
Dnfnetlink_osf.c61 unsigned int optsize; member
91 ctx->optsize > MAX_IPOPTLEN || in nf_osf_match_one()
92 ctx->optsize != foptsize) in nf_osf_match_one()
185 ctx->optsize = tcp->doff * 4 - sizeof(struct tcphdr); in nf_osf_hdr_ctx_init()
188 sizeof(struct tcphdr), ctx->optsize, opts); in nf_osf_hdr_ctx_init()
Dnf_log_syslog.c239 unsigned int optsize = th->doff * 4 - sizeof(struct tcphdr); in nf_log_dump_tcp_header() local
245 optsize, _opt); in nf_log_dump_tcp_header()
253 for (i = 0; i < optsize; i++) in nf_log_dump_tcp_header()
344 unsigned int i, optsize; in dump_ipv4_packet() local
346 optsize = ih->ihl * 4 - sizeof(struct iphdr); in dump_ipv4_packet()
348 optsize, _opt); in dump_ipv4_packet()
356 for (i = 0; i < optsize; i++) in dump_ipv4_packet()
/linux-6.1.9/net/tls/
Dtls_main.c675 size_t optsize; in do_tls_setsockopt_conf() local
718 optsize = sizeof(struct tls12_crypto_info_aes_gcm_128); in do_tls_setsockopt_conf()
721 optsize = sizeof(struct tls12_crypto_info_aes_gcm_256); in do_tls_setsockopt_conf()
725 optsize = sizeof(struct tls12_crypto_info_aes_ccm_128); in do_tls_setsockopt_conf()
728 optsize = sizeof(struct tls12_crypto_info_chacha20_poly1305); in do_tls_setsockopt_conf()
731 optsize = sizeof(struct tls12_crypto_info_sm4_gcm); in do_tls_setsockopt_conf()
734 optsize = sizeof(struct tls12_crypto_info_sm4_ccm); in do_tls_setsockopt_conf()
741 optsize = sizeof(struct tls12_crypto_info_aria_gcm_128); in do_tls_setsockopt_conf()
748 optsize = sizeof(struct tls12_crypto_info_aria_gcm_256); in do_tls_setsockopt_conf()
755 if (optlen != optsize) { in do_tls_setsockopt_conf()