Home
last modified time | relevance | path

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

/openbmc/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_synproxy_core.c49 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()
H A Dnft_exthdr.c32 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()
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()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dparse_tcp_hdr_opt.c22 TCPOPT_MSS, 4, 0x05, 0xB4, TCPOPT_NOP, TCPOPT_NOP,
/openbmc/linux/net/mptcp/
H A Doptions.c385 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in mptcp_get_options()
1428 TCPOPT_NOP << 8 | TCPOPT_NOP, ptr); in mptcp_write_options()
1484 TCPOPT_NOP << 8 | TCPOPT_NOP, ptr); in mptcp_write_options()
1558 put_unaligned_be16(TCPOPT_NOP << 8 | in mptcp_write_options()
1559 TCPOPT_NOP, bptr); in mptcp_write_options()
1564 TCPOPT_NOP << 8 | in mptcp_write_options()
1565 TCPOPT_NOP, ptr); in mptcp_write_options()
1610 opts->backup, TCPOPT_NOP); in mptcp_write_options()
1627 id2 = i + 1 < opts->rm_list.nr ? opts->rm_list.ids[i + 1] : TCPOPT_NOP; in mptcp_write_options()
1628 id3 = i + 2 < opts->rm_list.nr ? opts->rm_list.ids[i + 2] : TCPOPT_NOP; in mptcp_write_options()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dgro.c413 case TCPOPT_NOP: in tcp_write_options()
414 buf[0] = TCPOPT_NOP; in tcp_write_options()
442 tcp_write_options(buf + total_hdr_len, TCPOPT_NOP, 0); in add_standard_tcp_options()
443 tcp_write_options(buf + total_hdr_len + 1, TCPOPT_NOP, 0); in add_standard_tcp_options()
448 tcp_write_options(buf + total_hdr_len, TCPOPT_NOP, 0); in add_standard_tcp_options()
452 TCPOPT_NOP, 0); in add_standard_tcp_options()
457 TCPOPT_NOP, 0); in add_standard_tcp_options()
459 TCPOPT_NOP, 0); in add_standard_tcp_options()
548 tcp_write_options(extpkt2 + MAX_HDR_LEN, TCPOPT_NOP, 0); in send_diff_opt()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_parse_tcp_hdr_opt_dynptr.c48 if (kind == TCPOPT_NOP) { in parse_hdr_opt()
H A Dxdp_synproxy_kern.c27 #define TCPOPT_NOP 1 macro
226 if (*opcode == TCPOPT_NOP) in tscookie_tcpopt_parse()
496 *buf++ = bpf_htonl((TCPOPT_NOP << 24) | in tcp_mkoptions()
497 (TCPOPT_NOP << 16) | in tcp_mkoptions()
504 *buf++ = bpf_htonl((TCPOPT_NOP << 24) | in tcp_mkoptions()
H A Dtest_parse_tcp_hdr_opt.c51 if (kind == TCPOPT_NOP) { in parse_hdr_opt()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_tcp_hdr_options.h52 #define TCPOPT_NOP 1 macro
/openbmc/linux/net/ipv4/
H A Dtcp_output.c434 (TCPOPT_NOP << 16) | in smc_options_write()
625 *ptr++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_options_write()
646 *ptr++ = htonl((TCPOPT_NOP << 24) | in tcp_options_write()
647 (TCPOPT_NOP << 16) | in tcp_options_write()
656 *ptr++ = htonl((TCPOPT_NOP << 24) | in tcp_options_write()
657 (TCPOPT_NOP << 16) | in tcp_options_write()
663 *ptr++ = htonl((TCPOPT_NOP << 24) | in tcp_options_write()
674 *ptr++ = htonl((TCPOPT_NOP << 24) | in tcp_options_write()
675 (TCPOPT_NOP << 16) | in tcp_options_write()
707 p[foc->len] = TCPOPT_NOP; in tcp_options_write()
[all …]
H A Dtcp_ipv4.c782 rep.opt[0] = htonl((TCPOPT_NOP << 24) | in tcp_v4_send_reset()
783 (TCPOPT_NOP << 16) | in tcp_v4_send_reset()
891 rep.opt[0] = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_v4_send_ack()
912 rep.opt[offset++] = htonl((TCPOPT_NOP << 24) | in tcp_v4_send_ack()
913 (TCPOPT_NOP << 16) | in tcp_v4_send_ack()
H A Dtcp_input.c4064 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in tcp_parse_mss_option()
4116 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in tcp_parse_options()
4224 if (*ptr == htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) in tcp_parse_aligned_timestamp()
4282 case TCPOPT_NOP: in tcp_parse_md5sig_option()
/openbmc/linux/net/ipv6/
H A Dtcp_ipv6.c896 *topt++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_v6_send_response()
907 *topt++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_v6_send_response()
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.c963 if (opt == TCPOPT_NOP) { in chcr_ktls_check_tcp_options()
973 case TCPOPT_NOP: in chcr_ktls_check_tcp_options()
/openbmc/linux/net/sched/
H A Dsch_cake.c970 if (opcode == TCPOPT_NOP) { in cake_get_tcpopt()
1109 if (opcode == TCPOPT_NOP) { in cake_tcph_may_drop()
/openbmc/linux/include/net/
H A Dtcp.h182 #define TCPOPT_NOP 1 /* Padding */ macro
/openbmc/linux/net/core/
H A Dfilter.c7487 } else if (kind == TCPOPT_NOP) { in bpf_search_tcp_opt()
7535 if (search_len > len || search_kind == TCPOPT_NOP || in BPF_CALL_4()
7613 if (new_kind_len > len || new_kind == TCPOPT_NOP || in BPF_CALL_4()
/openbmc/linux/drivers/net/ethernet/neterion/
H A Ds2io.c8337 while (*ptr == TCPOPT_NOP) in verify_l3_l4_lro_capable()