Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A Dxt_TCPOPTSTRIP.c22 if (opt[offset] <= TCPOPT_NOP || opt[offset+1] == 0) in optlen()
61 * set all octets to %TCPOPT_NOP and adjust checksum. in tcpoptstrip_mangle_packet()
74 n = TCPOPT_NOP; in tcpoptstrip_mangle_packet()
82 memset(opt + i, TCPOPT_NOP, optl); in tcpoptstrip_mangle_packet()
H A Dnft_exthdr.c32 if (opt[offset] <= TCPOPT_NOP || opt[offset + 1] == 0) in optlen()
343 u16 n = TCPOPT_NOP; in nft_exthdr_tcp_strip_eval()
353 memset(opt + i, TCPOPT_NOP, optl); in nft_exthdr_tcp_strip_eval()
H A Dnf_conntrack_proto_tcp.c360 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()
H A Dnf_conntrack_seqadj.c142 case TCPOPT_NOP: in nf_ct_sack_adjust()
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.h77 #define TCPOPT_NOP 1
73 #define TCPOPT_NOP global() macro
/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/ipv4/
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()
H A Dtcp_input.c4504 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in tcp_parse_mss_option()
4556 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in tcp_parse_options()
4677 if (*ptr == htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) in tcp_parse_aligned_timestamp()
H A Dtcp.c4990 case TCPOPT_NOP: in tcp_do_parse_auth_options()
/linux/net/ipv6/
H A Dtcp_ipv6.c894 *topt++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_v6_send_response()
905 *topt++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | 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/include/net/
H A Dtcp.h209 #define TCPOPT_NOP 1 /* Padding */ macro
/linux/net/core/
H A Dfilter.c7776 } else if (kind == TCPOPT_NOP) { in bpf_search_tcp_opt()
7827 if (search_len > len || search_kind == TCPOPT_NOP || in BPF_CALL_4()
7905 if (new_kind_len > len || new_kind == TCPOPT_NOP || in BPF_CALL_4()