Hello there,
I am just a newbie. I got a bug when modifying CBQ
scheduler in Linux Kernel 2.4. I just want to get the soure and destination port
number of the packet (TCP/UDP). I used ntohs(skb->h.th->dest) for the
destination port number of a TCP packet. It doesn't work. The printed value is
not correct (we used FTP, port 21 to test).
Did anyone meet the same issue? Please give me a
hand.
Thanks so much in advance.
VietHa
|