• Home
  • Raw
  • Download

Lines Matching refs:opsize

3988 			      int opsize)  in smc_parse_options()  argument
3992 if (th->syn && !(opsize & 1) && in smc_parse_options()
3993 opsize >= TCPOLEN_EXP_SMC_BASE && in smc_parse_options()
4014 int opsize; in tcp_parse_mss_option() local
4025 opsize = *ptr++; in tcp_parse_mss_option()
4026 if (opsize < 2) /* "silly options" */ in tcp_parse_mss_option()
4028 if (opsize > length) in tcp_parse_mss_option()
4030 if (opcode == TCPOPT_MSS && opsize == TCPOLEN_MSS) { in tcp_parse_mss_option()
4039 ptr += opsize - 2; in tcp_parse_mss_option()
4040 length -= opsize; in tcp_parse_mss_option()
4065 int opsize; in tcp_parse_options() local
4076 opsize = *ptr++; in tcp_parse_options()
4077 if (opsize < 2) /* "silly options" */ in tcp_parse_options()
4079 if (opsize > length) in tcp_parse_options()
4083 if (opsize == TCPOLEN_MSS && th->syn && !estab) { in tcp_parse_options()
4094 if (opsize == TCPOLEN_WINDOW && th->syn && in tcp_parse_options()
4109 if ((opsize == TCPOLEN_TIMESTAMP) && in tcp_parse_options()
4118 if (opsize == TCPOLEN_SACK_PERM && th->syn && in tcp_parse_options()
4126 if ((opsize >= (TCPOLEN_SACK_BASE + TCPOLEN_SACK_PERBLOCK)) && in tcp_parse_options()
4127 !((opsize - TCPOLEN_SACK_BASE) % TCPOLEN_SACK_PERBLOCK) && in tcp_parse_options()
4142 opsize - TCPOLEN_FASTOPEN_BASE, in tcp_parse_options()
4150 if (opsize >= TCPOLEN_EXP_FASTOPEN_BASE && in tcp_parse_options()
4153 tcp_parse_fastopen_option(opsize - in tcp_parse_options()
4159 if (smc_parse_options(th, opt_rx, ptr, opsize)) in tcp_parse_options()
4168 ptr += opsize-2; in tcp_parse_options()
4169 length -= opsize; in tcp_parse_options()
4232 int opsize; in tcp_parse_md5sig_option() local
4241 opsize = *ptr++; in tcp_parse_md5sig_option()
4242 if (opsize < 2 || opsize > length) in tcp_parse_md5sig_option()
4245 return opsize == TCPOLEN_MD5SIG ? ptr : NULL; in tcp_parse_md5sig_option()
4247 ptr += opsize - 2; in tcp_parse_md5sig_option()
4248 length -= opsize; in tcp_parse_md5sig_option()