Home
last modified time | relevance | path

Searched refs:TCPOPT_NOP (Results 1 – 18 of 18) sorted by relevance

/linux/net/netfilter/
H A Dxt_TCPOPTSTRIP.c22 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 Dnf_conntrack_proto_tcp.c360 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 Dxt_TCPMSS.c37 if (opt[offset] <= TCPOPT_NOP || opt[offset+1] == 0) in optlen()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dparse_tcp_hdr_opt.c23 TCPOPT_MSS, 4, 0x05, 0xB4, TCPOPT_NOP, TCPOPT_NOP,
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_custom_syncookie.c235 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 Dtest_parse_tcp_hdr_opt_dynptr.c48 if (kind == TCPOPT_NOP) { in parse_hdr_opt()
H A Dtest_parse_tcp_hdr_opt.c51 if (kind == TCPOPT_NOP) { in parse_hdr_opt()
H A Dbpf_tracing_net.h82 #define TCPOPT_NOP 1 macro
/linux/net/mptcp/
H A Doptions.c445 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 Dtcp_output.c416 *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 Dtcp_ipv4.c823 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 Dtcp_input.c4534 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 Dgro.c
/linux/tools/testing/selftests/bpf/
H A Dtest_tcp_hdr_options.h52 #define TCPOPT_NOP 1 macro
/linux/net/ipv6/
H A Dtcp_ipv6.c902 *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 Dchcr_ktls.c959 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 Dsch_cake.c1032 if (opcode == TCPOPT_NOP) { in cake_get_tcpopt()
1171 if (opcode == TCPOPT_NOP) { in cake_tcph_may_drop()
/linux/net/core/
H A Dfilter.c8026 } 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()