IPFW The number of packets matched with ipfw + ALTQ

hi,
I defined ipfw rules and pf queue config on gbeth1 then generated 11 EGP packets.
I need to know how many packet and how much data transferd.
So the result of below commands are different.
# pfctl -vsq
Code:
queue  cegp-gbeth1-out on gbeth1 bandwidth 1 b hfsc( upperlimit 30Kb )
  [ pkts:  11  bytes:  748 dropped pkts:  0 bytes:  0 ]
  [ qlength:  0/ 50 ]
# ipfw -a list
Code:
03001  22  1188 allow altq cegp-gbeth1-out ip from any to any via gbeth1 out

I checked packets in Wireshark and understand that IP total size is 54 and 1188/22=54
and frame size is 68 and 748/11=68.
Can someone tell me what that means?

Thanks
 
According to tests conducted I conclude that packet count reported by IPFW is a double of packet count reported by PF.
The same conditions and the same amount of packets sent When packets do not match with any queue in pf, IPFW reports the count that PF reports.

Does anyone have any ideas?
 
Back
Top