Searched refs:opsize (Results 1 – 7 of 7) sorted by relevance
| /linux/net/mptcp/ |
| H A D | options.c | 24 const unsigned char *ptr, int opsize, in mptcp_parse_option() argument 71 if (opsize != expected_opsize && in mptcp_parse_option() 73 opsize != TCPOLEN_MPTCP_MPC_ACK_DATA_CSUM)) in mptcp_parse_option() 78 if (opsize != TCPOLEN_MPTCP_MPC_SYN) { in mptcp_parse_option() 97 opsize < TCPOLEN_MPTCP_MPC_ACK_DATA) in mptcp_parse_option() 103 if (opsize >= TCPOLEN_MPTCP_MPC_SYNACK) { in mptcp_parse_option() 107 if (opsize >= TCPOLEN_MPTCP_MPC_ACK) { in mptcp_parse_option() 111 if (opsize >= TCPOLEN_MPTCP_MPC_ACK_DATA) { in mptcp_parse_option() 123 if (opsize == TCPOLEN_MPTCP_MPC_ACK_DATA_CSUM) { in mptcp_parse_option() 129 version, flags, opsize, mp_opt->sndr_key, in mptcp_parse_option() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_tcp_custom_syncookie.c | 222 __u8 *opcode, *opsize, *wscale; in tcp_parse_option() local 238 opsize = next(ctx, 1); in tcp_parse_option() 239 if (!opsize) in tcp_parse_option() 242 if (*opsize < 2) in tcp_parse_option() 248 if (*opsize == TCPOLEN_MSS && ctx->tcp->syn && mss) in tcp_parse_option() 253 if (*opsize == TCPOLEN_WINDOW && ctx->tcp->syn && wscale) { in tcp_parse_option() 261 if (*opsize == TCPOLEN_TIMESTAMP && tsval && tsecr) { in tcp_parse_option() 272 if (*opsize == TCPOLEN_SACK_PERM && ctx->tcp->syn) in tcp_parse_option() 277 ctx->off = off + *opsize; in tcp_parse_option()
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_proto_tcp.c | 355 int opsize; in tcp_options() local 366 opsize=*ptr++; in tcp_options() 367 if (opsize < 2) /* "silly options" */ in tcp_options() 369 if (opsize > length) in tcp_options() 373 && opsize == TCPOLEN_SACK_PERM) in tcp_options() 376 && opsize == TCPOLEN_WINDOW) { in tcp_options() 385 ptr += opsize - 2; in tcp_options() 386 length -= opsize; in tcp_options() 417 int opsize, i; in tcp_sack() local 428 opsize = *ptr++; in tcp_sack() [all …]
|
| /linux/net/sched/ |
| H A D | sch_cake.c | 1028 int opsize; in cake_get_tcpopt() local 1038 opsize = *ptr++; in cake_get_tcpopt() 1039 if (opsize < 2 || opsize > length) in cake_get_tcpopt() 1043 *oplen = opsize; in cake_get_tcpopt() 1047 ptr += opsize - 2; in cake_get_tcpopt() 1048 length -= opsize; in cake_get_tcpopt() 1135 int opsize; in cake_tcph_get_tstamp() local 1137 ptr = cake_get_tcpopt(tcph, TCPOPT_TIMESTAMP, &opsize); in cake_tcph_get_tstamp() 1139 if (ptr && opsize == TCPOLEN_TIMESTAMP) { in cake_tcph_get_tstamp() 1167 int opsize; in cake_tcph_may_drop() local [all …]
|
| /linux/net/ipv4/ |
| H A D | tcp_input.c | 4509 int opsize) in smc_parse_options() 4513 if (th->syn && !(opsize & 1) && in smc_parse_options() 4514 opsize >= TCPOLEN_EXP_SMC_BASE && in smc_parse_options() 4535 int opsize; in tcp_parse_mss_option() 4546 opsize = *ptr++; in tcp_parse_mss_option() 4547 if (opsize < 2) /* "silly options" */ in tcp_parse_mss_option() 4549 if (opsize > length) in tcp_parse_mss_option() 4551 if (opcode == TCPOPT_MSS && opsize == TCPOLEN_MSS) { in tcp_parse_mss_option() 4560 ptr += opsize - 2; 4561 length -= opsize; 4503 smc_parse_options(const struct tcphdr * th,struct tcp_options_received * opt_rx,const unsigned char * ptr,int opsize) smc_parse_options() argument 4529 int opsize; tcp_parse_mss_option() local 4581 int opsize; tcp_parse_options() local [all...] |
| H A D | tcp.c | 4990 int opsize; in tcp_do_parse_auth_options() 4999 opsize = *ptr++; in tcp_do_parse_auth_options() 5000 if (opsize < 2 || opsize > length) in tcp_do_parse_auth_options() 5003 if (opsize != TCPOLEN_MD5SIG) in tcp_do_parse_auth_options() 5009 if (opsize <= sizeof(struct tcp_ao_hdr)) in tcp_do_parse_auth_options() 5016 ptr += opsize - 2; in tcp_do_parse_auth_options() 5017 length -= opsize; in tcp_do_parse_auth_options() 4988 int opsize; tcp_do_parse_auth_options() local
|
| /linux/arch/m68k/ifpsp060/src/ |
| H A D | pfpsp.S | 3925 cmpi.b %d0,&0xc # is opsize ext or packed?
|