Home
last modified time | relevance | path

Searched refs:opsize (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/net/mptcp/
Doptions.c22 const unsigned char *ptr, int opsize, in mptcp_parse_option() argument
44 if (opsize != expected_opsize) in mptcp_parse_option()
49 if (opsize != TCPOLEN_MPTCP_MPC_SYN) { in mptcp_parse_option()
78 if (opsize >= TCPOLEN_MPTCP_MPC_SYNACK) { in mptcp_parse_option()
82 if (opsize >= TCPOLEN_MPTCP_MPC_ACK) { in mptcp_parse_option()
86 if (opsize == TCPOLEN_MPTCP_MPC_ACK_DATA) { in mptcp_parse_option()
99 version, flags, opsize, mp_opt->sndr_key, in mptcp_parse_option()
105 if (opsize == TCPOLEN_MPTCP_MPJ_SYN) { in mptcp_parse_option()
115 } else if (opsize == TCPOLEN_MPTCP_MPJ_SYNACK) { in mptcp_parse_option()
125 } else if (opsize == TCPOLEN_MPTCP_MPJ_ACK) { in mptcp_parse_option()
[all …]
/kernel/linux/linux-5.10/arch/s390/kernel/
Ddis.c503 int start, end, opsize, hops, i; in show_code() local
538 opsize = insn_length(code[start]); in show_code()
539 if (start + opsize == 32) in show_code()
547 if (start + opsize >= end) in show_code()
549 for (i = 0; i < opsize; i++) in show_code()
555 start += opsize; in show_code()
567 int opsize, i; in print_fn_code() local
571 opsize = insn_length(*code); in print_fn_code()
572 if (opsize > len) in print_fn_code()
575 for (i = 0; i < opsize; i++) in print_fn_code()
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_proto_tcp.c362 int opsize; in tcp_options() local
373 opsize=*ptr++; in tcp_options()
374 if (opsize < 2) /* "silly options" */ in tcp_options()
376 if (opsize > length) in tcp_options()
380 && opsize == TCPOLEN_SACK_PERM) in tcp_options()
383 && opsize == TCPOLEN_WINDOW) { in tcp_options()
392 ptr += opsize - 2; in tcp_options()
393 length -= opsize; in tcp_options()
423 int opsize, i; in tcp_sack() local
434 opsize = *ptr++; in tcp_sack()
[all …]
Dnf_synproxy_core.c44 int opsize; in synproxy_parse_options() local
55 opsize = *ptr++; in synproxy_parse_options()
56 if (opsize < 2) in synproxy_parse_options()
58 if (opsize > length) in synproxy_parse_options()
63 if (opsize == TCPOLEN_MSS) { in synproxy_parse_options()
69 if (opsize == TCPOLEN_WINDOW) { in synproxy_parse_options()
77 if (opsize == TCPOLEN_TIMESTAMP) { in synproxy_parse_options()
84 if (opsize == TCPOLEN_SACK_PERM) in synproxy_parse_options()
89 ptr += opsize - 2; in synproxy_parse_options()
90 length -= opsize; in synproxy_parse_options()
/kernel/linux/linux-5.10/net/sched/
Dsch_cake.c962 int opsize; in cake_get_tcpopt() local
972 opsize = *ptr++; in cake_get_tcpopt()
973 if (opsize < 2 || opsize > length) in cake_get_tcpopt()
977 *oplen = opsize; in cake_get_tcpopt()
981 ptr += opsize - 2; in cake_get_tcpopt()
982 length -= opsize; in cake_get_tcpopt()
1069 int opsize; in cake_tcph_get_tstamp() local
1071 ptr = cake_get_tcpopt(tcph, TCPOPT_TIMESTAMP, &opsize); in cake_tcph_get_tstamp()
1073 if (ptr && opsize == TCPOLEN_TIMESTAMP) { in cake_tcph_get_tstamp()
1101 int opsize; in cake_tcph_may_drop() local
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_input.c3940 int opsize) in smc_parse_options() argument
3944 if (th->syn && !(opsize & 1) && in smc_parse_options()
3945 opsize >= TCPOLEN_EXP_SMC_BASE && in smc_parse_options()
3966 int opsize; in tcp_parse_mss_option() local
3977 opsize = *ptr++; in tcp_parse_mss_option()
3978 if (opsize < 2) /* "silly options" */ in tcp_parse_mss_option()
3980 if (opsize > length) in tcp_parse_mss_option()
3982 if (opcode == TCPOPT_MSS && opsize == TCPOLEN_MSS) { in tcp_parse_mss_option()
3991 ptr += opsize - 2; in tcp_parse_mss_option()
3992 length -= opsize; in tcp_parse_mss_option()
[all …]
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dtcp_nip_input.c865 int opsize, in tcp_nip_parse_mss() argument
868 if (opsize == TCPOLEN_MSS && th->syn && !estab) { in tcp_nip_parse_mss()
906 int opsize; in tcp_nip_parse_options() local
915 opsize = *ptr++; in tcp_nip_parse_options()
916 if (opsize < 2) /* "2 - silly options" */ in tcp_nip_parse_options()
918 if (opsize > length) in tcp_nip_parse_options()
922 tcp_nip_parse_mss(opt_rx, th, ptr, opsize, estab); in tcp_nip_parse_options()
927 ptr += opsize - TCP_NUM_2; in tcp_nip_parse_options()
928 length -= opsize; in tcp_nip_parse_options()
/kernel/linux/linux-5.10/include/net/
Dmptcp.h159 const unsigned char *ptr, int opsize, in mptcp_parse_option() argument
/kernel/linux/linux-5.10/arch/m68k/ifpsp060/src/
Dpfpsp.S3925 cmpi.b %d0,&0xc # is opsize ext or packed?