Lines Matching refs:opsize
962 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
1111 opsize = *ptr++; in cake_tcph_may_drop()
1112 if (opsize < 2 || opsize > length) in cake_tcph_may_drop()
1120 if (opsize % 8 != 2) in cake_tcph_may_drop()
1126 if (opsize != TCPOLEN_TIMESTAMP) in cake_tcph_may_drop()
1144 ptr += opsize - 2; in cake_tcph_may_drop()
1145 length -= opsize; in cake_tcph_may_drop()