| /linux/net/netfilter/ |
| H A 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()
|
| H A D | nf_conntrack_proto_tcp.c | 360 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in tcp_options() 409 get_unaligned_be32(ptr) == ((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()
|
| H A D | xt_TCPMSS.c | 37 if (opt[offset] <= TCPOPT_NOP || opt[offset+1] == 0) in optlen()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | parse_tcp_hdr_opt.c | 23 TCPOPT_MSS, 4, 0x05, 0xB4, TCPOPT_NOP, TCPOPT_NOP,
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_tcp_custom_syncookie.c | 235 if (*opcode == TCPOPT_NOP) in tcp_parse_option() 374 *ctx->ptr32++ = bpf_htonl(TCPOPT_NOP << 24 | in tcp_write_options() 386 *ctx->ptr32++ = bpf_htonl(TCPOPT_NOP << 24 | in tcp_write_options() 387 TCPOPT_NOP << 16 | in tcp_write_options() 394 *ctx->ptr32++ = bpf_htonl(TCPOPT_NOP << 24 | in tcp_write_options() 395 TCPOPT_NOP << 16 | in tcp_write_options()
|
| H A D | test_parse_tcp_hdr_opt_dynptr.c | 48 if (kind == TCPOPT_NOP) { in parse_hdr_opt()
|
| H A D | test_parse_tcp_hdr_opt.c | 51 if (kind == TCPOPT_NOP) { in parse_hdr_opt()
|
| H A D | bpf_tracing_net.h | 82 #define TCPOPT_NOP 1 macro
|
| /linux/net/mptcp/ |
| H A D | options.c | 445 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in mptcp_get_options() 1565 TCPOPT_NOP << 8 | TCPOPT_NOP, ptr); in mptcp_write_options() 1621 TCPOPT_NOP << 8 | TCPOPT_NOP, ptr); in mptcp_write_options() 1695 put_unaligned_be16(TCPOPT_NOP << 8 | in mptcp_write_options() 1696 TCPOPT_NOP, bptr); in mptcp_write_options() 1701 TCPOPT_NOP << 8 | in mptcp_write_options() 1702 TCPOPT_NOP, ptr); in mptcp_write_options() 1751 opts->backup, TCPOPT_NOP); in mptcp_write_options() 1768 id2 = i + 1 < opts->rm_list.nr ? opts->rm_list.ids[i + 1] : TCPOPT_NOP; in mptcp_write_options() 1769 id3 = i + 2 < opts->rm_list.nr ? opts->rm_list.ids[i + 2] : TCPOPT_NOP; in mptcp_write_options() [all …]
|
| /linux/net/ipv4/ |
| H A D | tcp_output.c | 416 *ptr++ = htonl((TCPOPT_NOP << 24) | in smc_options_write() 417 (TCPOPT_NOP << 16) | in smc_options_write() 574 memset(skb->data + first_opt_off + nr_written, TCPOPT_NOP, in bpf_skops_write_hdr_opt() 628 memset(ptr, TCPOPT_NOP, sizeof(*ptr)); in process_tcp_ao_options() 658 u8 leftover_highbyte = TCPOPT_NOP; /* replace 1st NOP if avail */ in tcp_options_write() 659 u8 leftover_lowbyte = TCPOPT_NOP; /* replace 2nd NOP in succession */ in tcp_options_write() 664 *ptr++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_options_write() 686 *ptr++ = htonl((TCPOPT_NOP << 24) | in tcp_options_write() 687 (TCPOPT_NOP << 1 in tcp_options_write() [all...] |
| H A D | tcp_ipv4.c | 823 rep.opt[0] = htonl((TCPOPT_NOP << 24) | in tcp_v4_send_reset() 824 (TCPOPT_NOP << 16) | in tcp_v4_send_reset() 931 rep.opt[0] = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_v4_send_ack() 952 rep.opt[offset++] = htonl((TCPOPT_NOP << 24) | in tcp_v4_send_ack() 953 (TCPOPT_NOP << 16) | in tcp_v4_send_ack() 975 TCPOPT_NOP, tcp_ao_len_aligned(key->ao_key) - in tcp_v4_send_ack()
|
| H A D | tcp_input.c | 4534 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in tcp_parse_mss_option() 4586 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in tcp_parse_options() 4707 if (*ptr == htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) in tcp_parse_aligned_timestamp()
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | gro.c | |
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_tcp_hdr_options.h | 52 #define TCPOPT_NOP 1 macro
|
| /linux/net/ipv6/ |
| H A D | tcp_ipv6.c | 902 *topt++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_v6_send_response() 913 *topt++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_v6_send_response() 926 memset((u8 *)topt + tcp_ao_maclen(key->ao_key), TCPOPT_NOP, in tcp_v6_send_response()
|
| /linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
| H A 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/net/sched/ |
| H A D | sch_cake.c | 1032 if (opcode == TCPOPT_NOP) { in cake_get_tcpopt() 1171 if (opcode == TCPOPT_NOP) { in cake_tcph_may_drop()
|
| /linux/net/core/ |
| H A D | filter.c | 8026 } else if (kind == TCPOPT_NOP) { in bpf_search_tcp_opt() 8077 if (search_len > len || search_kind == TCPOPT_NOP || in BPF_CALL_4() 8155 if (new_kind_len > len || new_kind == TCPOPT_NOP || in BPF_CALL_4()
|