Searched refs:optsize (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | tcp_hdr_options.c | 295 size_t optsize = sizeof(struct bpf_test_option); in reset_test() local 298 memset(&skel->bss->passive_synack_out, 0, optsize); in reset_test() 299 memset(&skel->bss->passive_fin_out, 0, optsize); in reset_test() 301 memset(&skel->bss->passive_estab_in, 0, optsize); in reset_test() 302 memset(&skel->bss->passive_fin_in, 0, optsize); in reset_test() 304 memset(&skel->bss->active_syn_out, 0, optsize); in reset_test() 305 memset(&skel->bss->active_fin_out, 0, optsize); in reset_test() 307 memset(&skel->bss->active_estab_in, 0, optsize); in reset_test() 308 memset(&skel->bss->active_fin_in, 0, optsize); in reset_test() 315 memset(&exp_passive_estab_in, 0, optsize); in reset_test() [all …]
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nfnetlink_osf.c | 61 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()
|
D | nf_log_common.c | 111 unsigned int optsize = th->doff*4 - sizeof(struct tcphdr); in nf_log_dump_tcp_header() local 114 optsize, _opt); in nf_log_dump_tcp_header() 122 for (i = 0; i < optsize; i++) in nf_log_dump_tcp_header()
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
D | nf_log_ipv4.c | 80 unsigned int i, optsize; in dump_ipv4_packet() local 82 optsize = ih->ihl * 4 - sizeof(struct iphdr); in dump_ipv4_packet() 84 optsize, _opt); in dump_ipv4_packet() 92 for (i = 0; i < optsize; i++) in dump_ipv4_packet()
|
/kernel/linux/linux-5.10/net/tls/ |
D | tls_main.c | 473 size_t optsize; in do_tls_setsockopt_conf() local 520 optsize = sizeof(struct tls12_crypto_info_aes_gcm_128); in do_tls_setsockopt_conf() 523 optsize = sizeof(struct tls12_crypto_info_aes_gcm_256); in do_tls_setsockopt_conf() 527 optsize = sizeof(struct tls12_crypto_info_aes_ccm_128); in do_tls_setsockopt_conf() 534 if (optlen != optsize) { in do_tls_setsockopt_conf()
|