Home
last modified time | relevance | path

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

/linux/net/netfilter/
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()
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()
A Dnf_conntrack_proto_tcp.c354 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in tcp_options()
403 && *(__be32 *)ptr == htonl((TCPOPT_NOP << 24) in tcp_sack()
404 | (TCPOPT_NOP << 16) in tcp_sack()
416 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in tcp_sack()
A Dnf_conntrack_seqadj.c142 case TCPOPT_NOP: in nf_ct_sack_adjust()
A Dxt_TCPMSS.c37 if (opt[offset] <= TCPOPT_NOP || opt[offset+1] == 0) in optlen()
A Dnft_exthdr.c32 if (opt[offset] <= TCPOPT_NOP || opt[offset + 1] == 0) in optlen()
/linux/net/mptcp/
A Doptions.c377 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in mptcp_get_options()
1317 TCPOPT_NOP << 8 | TCPOPT_NOP, ptr); in mptcp_write_options()
1367 TCPOPT_NOP << 8 | TCPOPT_NOP, ptr); in mptcp_write_options()
1439 put_unaligned_be16(TCPOPT_NOP << 8 | in mptcp_write_options()
1440 TCPOPT_NOP, bptr); in mptcp_write_options()
1445 TCPOPT_NOP << 8 | in mptcp_write_options()
1446 TCPOPT_NOP, ptr); in mptcp_write_options()
1461 opts->backup, TCPOPT_NOP); in mptcp_write_options()
1476 id2 = i + 1 < opts->rm_list.nr ? opts->rm_list.ids[i + 1] : TCPOPT_NOP; in mptcp_write_options()
1477 id3 = i + 2 < opts->rm_list.nr ? opts->rm_list.ids[i + 2] : TCPOPT_NOP; in mptcp_write_options()
[all …]
/linux/tools/testing/selftests/net/
A Dgro.c412 case TCPOPT_NOP: in tcp_write_options()
413 buf[0] = TCPOPT_NOP; in tcp_write_options()
441 tcp_write_options(buf + total_hdr_len, TCPOPT_NOP, 0); in add_standard_tcp_options()
442 tcp_write_options(buf + total_hdr_len + 1, TCPOPT_NOP, 0); in add_standard_tcp_options()
447 tcp_write_options(buf + total_hdr_len, TCPOPT_NOP, 0); in add_standard_tcp_options()
451 TCPOPT_NOP, 0); in add_standard_tcp_options()
456 TCPOPT_NOP, 0); in add_standard_tcp_options()
458 TCPOPT_NOP, 0); in add_standard_tcp_options()
547 tcp_write_options(extpkt2 + MAX_HDR_LEN, TCPOPT_NOP, 0); in send_diff_opt()
/linux/tools/testing/selftests/bpf/
A Dtest_tcp_hdr_options.h52 #define TCPOPT_NOP 1 macro
/linux/net/ipv4/
A Dtcp_output.c425 (TCPOPT_NOP << 16) | in smc_options_write()
614 *ptr++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_options_write()
635 *ptr++ = htonl((TCPOPT_NOP << 24) | in tcp_options_write()
636 (TCPOPT_NOP << 16) | in tcp_options_write()
645 *ptr++ = htonl((TCPOPT_NOP << 24) | in tcp_options_write()
646 (TCPOPT_NOP << 16) | in tcp_options_write()
652 *ptr++ = htonl((TCPOPT_NOP << 24) | in tcp_options_write()
663 *ptr++ = htonl((TCPOPT_NOP << 24) | in tcp_options_write()
664 (TCPOPT_NOP << 16) | in tcp_options_write()
696 p[foc->len] = TCPOPT_NOP; in tcp_options_write()
[all …]
A Dtcp_ipv4.c767 rep.opt[0] = htonl((TCPOPT_NOP << 24) | in tcp_v4_send_reset()
768 (TCPOPT_NOP << 16) | in tcp_v4_send_reset()
868 rep.opt[0] = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_v4_send_ack()
889 rep.opt[offset++] = htonl((TCPOPT_NOP << 24) | in tcp_v4_send_ack()
890 (TCPOPT_NOP << 16) | in tcp_v4_send_ack()
A Dtcp_input.c3977 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in tcp_parse_mss_option()
4028 case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */ in tcp_parse_options()
4137 if (*ptr == htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) in tcp_parse_aligned_timestamp()
4195 case TCPOPT_NOP: in tcp_parse_md5sig_option()
/linux/net/ipv6/
A Dtcp_ipv6.c947 *topt++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_v6_send_response()
958 *topt++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) | in tcp_v6_send_response()
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
A Dchcr_ktls.c963 if (opt == TCPOPT_NOP) { in chcr_ktls_check_tcp_options()
973 case TCPOPT_NOP: in chcr_ktls_check_tcp_options()
/linux/net/sched/
A Dsch_cake.c966 if (opcode == TCPOPT_NOP) { in cake_get_tcpopt()
1105 if (opcode == TCPOPT_NOP) { in cake_tcph_may_drop()
/linux/include/net/
A Dtcp.h181 #define TCPOPT_NOP 1 /* Padding */ macro
/linux/net/core/
A Dfilter.c6877 } else if (kind == TCPOPT_NOP) { in bpf_search_tcp_opt()
6925 if (search_len > len || search_kind == TCPOPT_NOP || in BPF_CALL_4()
7003 if (new_kind_len > len || new_kind == TCPOPT_NOP || in BPF_CALL_4()
/linux/drivers/net/ethernet/neterion/
A Ds2io.c8343 while (*ptr == TCPOPT_NOP) in verify_l3_l4_lro_capable()

Completed in 86 milliseconds