Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107166771
D43231.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
466 B
Referenced Files
None
Subscribers
None
D43231.diff
View Options
diff --git a/sys/netinet/tcp.h b/sys/netinet/tcp.h
--- a/sys/netinet/tcp.h
+++ b/sys/netinet/tcp.h
@@ -79,13 +79,13 @@
u_short th_urp; /* urgent pointer */
};
-static inline uint16_t
+static __inline uint16_t
tcp_get_flags(const struct tcphdr *th)
{
return (((uint16_t)th->th_x2 << 8) | th->th_flags);
}
-static inline void
+static __inline void
tcp_set_flags(struct tcphdr *th, uint16_t flags)
{
th->th_x2 = (flags >> 8) & 0x0f;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 12, 3:41 AM (20 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15760728
Default Alt Text
D43231.diff (466 B)
Attached To
Mode
D43231: tcp: fix ports
Attached
Detach File
Event Timeline
Log In to Comment