Thread (7 messages) flat view 7 messages, 3 authors, 2011-12-21

Re: [PATCH 1/1] tcp: Replace constants with #define macros

From: Vijay Subramanian <hidden>
Date: 2011-12-21 19:43:45

Given the values are currently:
quoted
quoted
+#define SACK_SEEN     (1 << 0)   /*1 = peer is SACK capable, */
+#define FACK_ENABLED  (1 << 1)   /*1 = FACK is enabled locally*/
+#define DSACK_SEEN    (1 << 2)   /*1 = DSACK was received from
peer*/

But the structure field member is 'sack_ok', unless it generates
very silly long lines - which in this case it probably doesn't -
it might even be worth prefixing with TCP_SACK_OK_ although
that might be deemed excessive!
Thanks for all the feedback. I will follow these suggestions in future.

Vijay
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help