Lines Matching refs:opsize
949 int opsize; in cake_get_tcpopt() local
959 opsize = *ptr++; in cake_get_tcpopt()
960 if (opsize < 2 || opsize > length) in cake_get_tcpopt()
964 *oplen = opsize; in cake_get_tcpopt()
968 ptr += opsize - 2; in cake_get_tcpopt()
969 length -= opsize; in cake_get_tcpopt()
1056 int opsize; in cake_tcph_get_tstamp() local
1058 ptr = cake_get_tcpopt(tcph, TCPOPT_TIMESTAMP, &opsize); in cake_tcph_get_tstamp()
1060 if (ptr && opsize == TCPOLEN_TIMESTAMP) { in cake_tcph_get_tstamp()
1088 int opsize; in cake_tcph_may_drop() local
1098 opsize = *ptr++; in cake_tcph_may_drop()
1099 if (opsize < 2 || opsize > length) in cake_tcph_may_drop()
1107 if (opsize % 8 != 2) in cake_tcph_may_drop()
1113 if (opsize != TCPOLEN_TIMESTAMP) in cake_tcph_may_drop()
1131 ptr += opsize - 2; in cake_tcph_may_drop()
1132 length -= opsize; in cake_tcph_may_drop()