Quick hack to make altq handle pppoe/llcsnap links better. A good solution would be to have multiple converters selectable from config file per interface or queue.
Please let me know if I misunderstood how altq works. /Tony Index: altq_subr.c =================================================================== RCS file: /cvs/src/sys/altq/altq_subr.c,v retrieving revision 1.20 diff -r1.20 altq_subr.c 249,250c249,254 < if (m != NULL && op == ALTDQ_REMOVE) < tbr->tbr_token -= TBR_SCALE(m_pktlen(m)); --- > if (m != NULL && op == ALTDQ_REMOVE) { > if (m_pktlen(m) > 38) > tbr->tbr_token -= > TBR_SCALE((m_pktlen(m)+8+3+3+2+2+18+6+2+47)/48*53); > else > tbr->tbr_token -= TBR_SCALE(106); > } -- --- Tony Sarendal - [EMAIL PROTECTED] IP/Unix -= The scorpion replied, "I couldn't help it, it's my nature" =-