login
Header Space

 
 

Read Transport Layer Data form network packets (tcp/ip)

September 11, 2008 - 2:15am
Submitted by lord.t on September 11, 2008 - 2:15am.
Linux

hi,
i want to read the "transport layer data" from network tcp/ip packets..

i done a review and find the "skb_prepare_seq_read" and also "skb_seq_read" functions to read the data from skbuffs..

some questions:
1- is it true that "i should use from this functions"??
2- after read, should i change them to host align (ntoh)?
3- do anyone know any piece of code in the kernel that obviously read the transport layer data from network packets? (for help)

best regards...

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <b> <quote> <pre> <hr> <br> <p> <img> <blockquote> <font> <tt> <table> <tr> <i>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

speck-geostationary