/linux-6.12.1/net/netfilter/ |
D | xt_TCPOPTSTRIP.c | 22 if (opt[offset] <= TCPOPT_NOP || opt[offset+1] == 0) in optlen() 74 n = TCPOPT_NOP; in tcpoptstrip_mangle_packet() 82 memset(opt + i, TCPOPT_NOP, optl); in tcpoptstrip_mangle_packet()
|
D | nf_synproxy_core.c | 49 case TCPOPT_NOP: in synproxy_parse_options() 132 *ptr++ = htonl((TCPOPT_NOP << 24) | in synproxy_build_options() 133 (TCPOPT_NOP << 16) | in synproxy_build_options() 140 *ptr++ = htonl((TCPOPT_NOP << 24) | in synproxy_build_options() 141 (TCPOPT_NOP << 16) | in synproxy_build_options() 146 *ptr++ = htonl((TCPOPT_NOP << 24) | in synproxy_build_options() 208 case TCPOPT_NOP: in synproxy_tstamp_adjust()
|
D | nft_exthdr.c | 32 if (opt[offset] <= TCPOPT_NOP || opt[offset + 1] == 0) in optlen() 345 u16 n = TCPOPT_NOP; in nft_exthdr_tcp_strip_eval() 355 memset(opt + i, TCPOPT_NOP, optl); in nft_exthdr_tcp_strip_eval()
|
D | nf_conntrack_proto_tcp.c | 360 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in tcp_options() 409 && *(__be32 *)ptr == htonl((TCPOPT_NOP << 24) in tcp_sack() 410 | (TCPOPT_NOP << 16) in tcp_sack() 422 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in tcp_sack()
|
D | nf_conntrack_seqadj.c | 142 case TCPOPT_NOP: in nf_ct_sack_adjust()
|
D | xt_TCPMSS.c | 37 if (opt[offset] <= TCPOPT_NOP || opt[offset+1] == 0) in optlen()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | parse_tcp_hdr_opt.c | 23 TCPOPT_MSS, 4, 0x05, 0xB4, TCPOPT_NOP, TCPOPT_NOP,
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_tcp_custom_syncookie.c | 235 if (*opcode == TCPOPT_NOP) in tcp_parse_option() 372 *ctx->ptr32++ = bpf_htonl(TCPOPT_NOP << 24 | in tcp_write_options() 384 *ctx->ptr32++ = bpf_htonl(TCPOPT_NOP << 24 | in tcp_write_options() 385 TCPOPT_NOP << 16 | in tcp_write_options() 392 *ctx->ptr32++ = bpf_htonl(TCPOPT_NOP << 24 | in tcp_write_options() 393 TCPOPT_NOP << 16 | in tcp_write_options()
|
D | xdp_synproxy_kern.c | 30 #define TCPOPT_NOP 1 macro 229 if (*opcode == TCPOPT_NOP) in tscookie_tcpopt_parse() 499 *buf++ = bpf_htonl((TCPOPT_NOP << 24) | in tcp_mkoptions() 500 (TCPOPT_NOP << 16) | in tcp_mkoptions() 507 *buf++ = bpf_htonl((TCPOPT_NOP << 24) | in tcp_mkoptions()
|
D | test_parse_tcp_hdr_opt_dynptr.c | 48 if (kind == TCPOPT_NOP) { in parse_hdr_opt()
|
D | test_parse_tcp_hdr_opt.c | 51 if (kind == TCPOPT_NOP) { in parse_hdr_opt()
|
D | bpf_tracing_net.h | 72 #define TCPOPT_NOP 1 macro
|
/linux-6.12.1/net/mptcp/ |
D | options.c | 385 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in mptcp_get_options() 1429 TCPOPT_NOP << 8 | TCPOPT_NOP, ptr); in mptcp_write_options() 1485 TCPOPT_NOP << 8 | TCPOPT_NOP, ptr); in mptcp_write_options() 1559 put_unaligned_be16(TCPOPT_NOP << 8 | in mptcp_write_options() 1560 TCPOPT_NOP, bptr); in mptcp_write_options() 1565 TCPOPT_NOP << 8 | in mptcp_write_options() 1566 TCPOPT_NOP, ptr); in mptcp_write_options() 1611 opts->backup, TCPOPT_NOP); in mptcp_write_options() 1628 id2 = i + 1 < opts->rm_list.nr ? opts->rm_list.ids[i + 1] : TCPOPT_NOP; in mptcp_write_options() 1629 id3 = i + 2 < opts->rm_list.nr ? opts->rm_list.ids[i + 2] : TCPOPT_NOP; in mptcp_write_options() [all …]
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | gro.c | 439 case TCPOPT_NOP: in tcp_write_options() 440 buf[0] = TCPOPT_NOP; in tcp_write_options() 468 tcp_write_options(buf + total_hdr_len, TCPOPT_NOP, 0); in add_standard_tcp_options() 469 tcp_write_options(buf + total_hdr_len + 1, TCPOPT_NOP, 0); in add_standard_tcp_options() 474 tcp_write_options(buf + total_hdr_len, TCPOPT_NOP, 0); in add_standard_tcp_options() 478 TCPOPT_NOP, 0); in add_standard_tcp_options() 483 TCPOPT_NOP, 0); in add_standard_tcp_options() 485 TCPOPT_NOP, 0); in add_standard_tcp_options() 574 tcp_write_options(extpkt2 + MAX_HDR_LEN, TCPOPT_NOP, 0); in send_diff_opt()
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | test_tcp_hdr_options.h | 52 #define TCPOPT_NOP 1 macro
|
/linux-6.12.1/net/ipv4/ |
D | tcp_output.c | 436 *ptr++ = htonl((TCPOPT_NOP << 24) | in smc_options_write() 437 (TCPOPT_NOP << 16) | in smc_options_write() 586 memset(skb->data + first_opt_off + nr_written, TCPOPT_NOP, in bpf_skops_write_hdr_opt() 639 memset(ptr, TCPOPT_NOP, sizeof(*ptr)); in process_tcp_ao_options() 668 *ptr++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_options_write() 690 *ptr++ = htonl((TCPOPT_NOP << 24) | in tcp_options_write() 691 (TCPOPT_NOP << 16) | in tcp_options_write() 700 *ptr++ = htonl((TCPOPT_NOP << 24) | in tcp_options_write() 701 (TCPOPT_NOP << 16) | in tcp_options_write() 707 *ptr++ = htonl((TCPOPT_NOP << 24) | in tcp_options_write() [all …]
|
D | tcp_ipv4.c | 848 rep.opt[0] = htonl((TCPOPT_NOP << 24) | in tcp_v4_send_reset() 849 (TCPOPT_NOP << 16) | in tcp_v4_send_reset() 955 rep.opt[0] = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_v4_send_ack() 976 rep.opt[offset++] = htonl((TCPOPT_NOP << 24) | in tcp_v4_send_ack() 977 (TCPOPT_NOP << 16) | in tcp_v4_send_ack()
|
D | tcp_input.c | 4151 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in tcp_parse_mss_option() 4203 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in tcp_parse_options() 4318 if (*ptr == htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) in tcp_parse_aligned_timestamp() 4384 case TCPOPT_NOP: in tcp_do_parse_auth_options()
|
/linux-6.12.1/net/ipv6/ |
D | tcp_ipv6.c | 917 *topt++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_v6_send_response() 928 *topt++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_v6_send_response()
|
/linux-6.12.1/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
D | chcr_ktls.c | 959 if (opt == TCPOPT_NOP) { in chcr_ktls_check_tcp_options() 969 case TCPOPT_NOP: in chcr_ktls_check_tcp_options()
|
/linux-6.12.1/net/sched/ |
D | sch_cake.c | 953 if (opcode == TCPOPT_NOP) { in cake_get_tcpopt() 1092 if (opcode == TCPOPT_NOP) { in cake_tcph_may_drop()
|
/linux-6.12.1/include/net/ |
D | tcp.h | 192 #define TCPOPT_NOP 1 /* Padding */ macro
|
/linux-6.12.1/net/core/ |
D | filter.c | 7539 } else if (kind == TCPOPT_NOP) { in bpf_search_tcp_opt() 7587 if (search_len > len || search_kind == TCPOPT_NOP || in BPF_CALL_4() 7665 if (new_kind_len > len || new_kind == TCPOPT_NOP || in BPF_CALL_4()
|
/linux-6.12.1/drivers/net/ethernet/neterion/ |
D | s2io.c | 8338 while (*ptr == TCPOPT_NOP) in verify_l3_l4_lro_capable()
|