Netdev List
 help / color / mirror / Atom feed
* Get TOS from IP header
@ 2011-11-22  1:36 Naveen B N (nbn)
  2011-11-22  5:31 ` Eric Dumazet
  0 siblings, 1 reply; 2+ messages in thread
From: Naveen B N (nbn) @ 2011-11-22  1:36 UTC (permalink / raw)
  To: netdev

Hi All,

I want  to get the TOS field content from IP header at 
my application which is using SCTP protocol.
I know that it can be done by Using RAW socket but 
There is a over head of implementing the sctp at the 
Application layer . 
Is there a better way of getting a TOS field filled
Which we received from IP header.

I taught of adding code in kernel to recognize a socket option at the kernel,
If this option is set just and get TOS contents in receive .

Please let me know if this is the way to go about it or is there 
A better way to achieve the same .

Thanks and Regards
Naveen

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-22  5:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-22  1:36 Get TOS from IP header Naveen B N (nbn)
2011-11-22  5:31 ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox