Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153158793
D43152.id131687.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
463 B
Referenced Files
None
Subscribers
None
D43152.id131687.diff
View Options
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -1576,6 +1576,7 @@
th->th_win = htons(th->th_win);
th->th_urp = htons(th->th_urp);
}
+#endif /* _KERNEL */
static inline uint16_t
tcp_get_flags(const struct tcphdr *th)
@@ -1589,6 +1590,4 @@
th->th_x2 = (flags >> 8) & 0x0f;
th->th_flags = flags & 0xff;
}
-#endif /* _KERNEL */
-
#endif /* _NETINET_TCP_VAR_H_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 20, 1:00 PM (5 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31820334
Default Alt Text
D43152.id131687.diff (463 B)
Attached To
Mode
D43152: tcp: allow userspace use of tcp header flags accessor functions
Attached
Detach File
Event Timeline
Log In to Comment