From: "Pham Viet Ha" <hapvbk@yahoo.co.uk>
To: lartc@vger.kernel.org
Subject: [LARTC] Port number problem
Date: Wed, 06 Nov 2002 08:11:29 +0000 [thread overview]
Message-ID: <marc-lartc-103657036108008@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 438 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1127 bytes --]
next reply other threads:[~2002-11-06 8:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-06 8:11 Pham Viet Ha [this message]
2002-11-06 11:14 ` [LARTC] Port number problem EGAL Vincent
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-103657036108008@msgid-missing \
--to=hapvbk@yahoo.co.uk \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.