TCPOPT_NOP
if (opt == TCPOPT_NOP) {
case TCPOPT_NOP:
} else if (kind == TCPOPT_NOP) {
if (search_len > len || search_kind == TCPOPT_NOP ||
if (new_kind_len > len || new_kind == TCPOPT_NOP ||
case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */
case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */
if (*ptr == htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16)
case TCPOPT_NOP:
rep.opt[0] = htonl((TCPOPT_NOP << 24) |
(TCPOPT_NOP << 16) |
rep.opt[0] = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) |
rep.opt[offset++] = htonl((TCPOPT_NOP << 24) |
(TCPOPT_NOP << 16) |
*ptr++ = htonl((TCPOPT_NOP << 24) |
(TCPOPT_NOP << 16) |
memset(skb->data + first_opt_off + nr_written, TCPOPT_NOP,
memset(ptr, TCPOPT_NOP, sizeof(*ptr));
u8 leftover_highbyte = TCPOPT_NOP; /* replace 1st NOP if avail */
u8 leftover_lowbyte = TCPOPT_NOP; /* replace 2nd NOP in succession */
*ptr++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) |
*ptr++ = htonl((TCPOPT_NOP << 24) |
(TCPOPT_NOP << 16) |
leftover_lowbyte = TCPOPT_NOP;
TCPOPT_NOP);
leftover_highbyte = TCPOPT_NOP;
leftover_lowbyte = TCPOPT_NOP;
u8 highbyte = TCPOPT_NOP;
if (unlikely(leftover_highbyte != TCPOPT_NOP &&
leftover_lowbyte == TCPOPT_NOP)) {
leftover_highbyte = TCPOPT_NOP;
leftover_highbyte = TCPOPT_NOP;
leftover_lowbyte = TCPOPT_NOP;
} else if (unlikely(leftover_highbyte != TCPOPT_NOP ||
leftover_lowbyte != TCPOPT_NOP)) {
(TCPOPT_NOP << 8) |
TCPOPT_NOP);
leftover_highbyte = TCPOPT_NOP;
leftover_lowbyte = TCPOPT_NOP;
p[foc->len] = TCPOPT_NOP;
p[foc->len + 1] = TCPOPT_NOP;
*topt++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) |
*topt++ = htonl((TCPOPT_NOP << 24) | (TCPOPT_NOP << 16) |
TCPOPT_NOP << 8 | TCPOPT_NOP, ptr);
TCPOPT_NOP << 8 | TCPOPT_NOP, ptr);
put_unaligned_be16(TCPOPT_NOP << 8 |
TCPOPT_NOP, bptr);
TCPOPT_NOP << 8 |
TCPOPT_NOP, ptr);
opts->backup, TCPOPT_NOP);
id2 = i + 1 < opts->rm_list.nr ? opts->rm_list.ids[i + 1] : TCPOPT_NOP;
id3 = i + 2 < opts->rm_list.nr ? opts->rm_list.ids[i + 2] : TCPOPT_NOP;
id4 = i + 3 < opts->rm_list.nr ? opts->rm_list.ids[i + 3] : TCPOPT_NOP;
case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */
case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */
&& *(__be32 *)ptr == htonl((TCPOPT_NOP << 24)
| (TCPOPT_NOP << 16)
case TCPOPT_NOP: /* Ref: RFC 793 section 3.1 */
case TCPOPT_NOP:
*ptr++ = htonl((TCPOPT_NOP << 24) |
(TCPOPT_NOP << 16) |
*ptr++ = htonl((TCPOPT_NOP << 24) |
(TCPOPT_NOP << 16) |
*ptr++ = htonl((TCPOPT_NOP << 24) |
case TCPOPT_NOP:
case TCPOPT_NOP:
if (opt[offset] <= TCPOPT_NOP || opt[offset + 1] == 0)
u16 n = TCPOPT_NOP;
memset(opt + i, TCPOPT_NOP, optl);
if (opt[offset] <= TCPOPT_NOP || opt[offset+1] == 0)
if (opt[offset] <= TCPOPT_NOP || opt[offset+1] == 0)
n = TCPOPT_NOP;
memset(opt + i, TCPOPT_NOP, optl);
if (opcode == TCPOPT_NOP) {
if (opcode == TCPOPT_NOP) {
TCPOPT_MSS, 4, 0x05, 0xB4, TCPOPT_NOP, TCPOPT_NOP,
if (kind == TCPOPT_NOP) {
if (kind == TCPOPT_NOP) {
if (*opcode == TCPOPT_NOP)
*ctx->ptr32++ = bpf_htonl(TCPOPT_NOP << 24 |
*ctx->ptr32++ = bpf_htonl(TCPOPT_NOP << 24 |
TCPOPT_NOP << 16 |
*ctx->ptr32++ = bpf_htonl(TCPOPT_NOP << 24 |
TCPOPT_NOP << 16 |
if (*opcode == TCPOPT_NOP)
*buf++ = bpf_htonl((TCPOPT_NOP << 24) |
(TCPOPT_NOP << 16) |
*buf++ = bpf_htonl((TCPOPT_NOP << 24) |
case TCPOPT_NOP:
buf[0] = TCPOPT_NOP;
tcp_write_options(buf + total_hdr_len, TCPOPT_NOP, 0);
tcp_write_options(buf + total_hdr_len + 1, TCPOPT_NOP, 0);
tcp_write_options(buf + total_hdr_len, TCPOPT_NOP, 0);
TCPOPT_NOP, 0);
TCPOPT_NOP, 0);
TCPOPT_NOP, 0);
tcp_write_options(extpkt2 + MAX_HDR_LEN, TCPOPT_NOP, 0);