Searched refs:opsize (Results 1 – 4 of 4) sorted by relevance
362 int opsize; in tcp_options() local373 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() local434 opsize = *ptr++; in tcp_sack()[all …]
41 int opsize; in synproxy_parse_options() local50 opsize = *ptr++; in synproxy_parse_options()51 if (opsize < 2) in synproxy_parse_options()53 if (opsize > length) in synproxy_parse_options()58 if (opsize == TCPOLEN_MSS) { in synproxy_parse_options()64 if (opsize == TCPOLEN_WINDOW) { in synproxy_parse_options()72 if (opsize == TCPOLEN_TIMESTAMP) { in synproxy_parse_options()79 if (opsize == TCPOLEN_SACK_PERM) in synproxy_parse_options()84 ptr += opsize - 2; in synproxy_parse_options()85 length -= opsize; in synproxy_parse_options()
926 int opsize; in cake_get_tcpopt() local934 opsize = *ptr++; in cake_get_tcpopt()935 if (opsize < 2 || opsize > length) in cake_get_tcpopt()939 *oplen = opsize; in cake_get_tcpopt()943 ptr += opsize - 2; in cake_get_tcpopt()944 length -= opsize; in cake_get_tcpopt()1031 int opsize; in cake_tcph_get_tstamp() local1033 ptr = cake_get_tcpopt(tcph, TCPOPT_TIMESTAMP, &opsize); in cake_tcph_get_tstamp()1035 if (ptr && opsize == TCPOLEN_TIMESTAMP) { in cake_tcph_get_tstamp()1063 int opsize; in cake_tcph_may_drop() local[all …]
3780 int opsize) in smc_parse_options() argument3784 if (th->syn && !(opsize & 1) && in smc_parse_options()3785 opsize >= TCPOLEN_EXP_SMC_BASE && in smc_parse_options()3803 int opsize; in tcp_parse_mss_option() local3814 opsize = *ptr++; in tcp_parse_mss_option()3815 if (opsize < 2) /* "silly options" */ in tcp_parse_mss_option()3817 if (opsize > length) in tcp_parse_mss_option()3819 if (opcode == TCPOPT_MSS && opsize == TCPOLEN_MSS) { in tcp_parse_mss_option()3828 ptr += opsize - 2; in tcp_parse_mss_option()3829 length -= opsize; in tcp_parse_mss_option()[all …]