Revision: 14393
Author: adrian.chadd
Date: Wed Feb 10 22:50:10 2010
Log: Note that commGetSocketTos() is probably not what developers want.
There is currently no portable way to retrieve the TOS from an incoming
packet stream.


http://code.google.com/p/lusca-cache/source/detail?r=14393

Modified:
 /branches/LUSCA_HEAD/libiapp/comm.c

=======================================
--- /branches/LUSCA_HEAD/libiapp/comm.c Sun Dec  6 03:11:45 2009
+++ /branches/LUSCA_HEAD/libiapp/comm.c Wed Feb 10 22:50:10 2010
@@ -1180,6 +1180,10 @@
  * This returns the current TOS as set on the socket. It does not return
  * the "tos" field from the comm struct.
  *
+ * Note that at least Linux/FreeBSD only return IP_TOS values which have been
+ * previously set on the socket. There is currently no supported method for
+ * fetching the TOS bits set on an incoming packet stream.
+ *
  * If the socket tos could not be read, -1 is returned.
  */
 int

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to