Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36842
b: refs/heads/master
c: 46a9732
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and David S. Miller committed Sep 29, 2006
1 parent fcecce7 commit 9333fc0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 63007727e0bb09e8d906f73d36a09b9fac0d5893
refs/heads/master: 46a97324a5ebdc1e343a0223d993e79551adab0f
16 changes: 8 additions & 8 deletions trunk/include/linux/tcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#include <asm/byteorder.h>

struct tcphdr {
__u16 source;
__u16 dest;
__u32 seq;
__u32 ack_seq;
__be16 source;
__be16 dest;
__be32 seq;
__be32 ack_seq;
#if defined(__LITTLE_ENDIAN_BITFIELD)
__u16 res1:4,
doff:4,
Expand All @@ -50,9 +50,9 @@ struct tcphdr {
#else
#error "Adjust your <asm/byteorder.h> defines"
#endif
__u16 window;
__u16 check;
__u16 urg_ptr;
__be16 window;
__be16 check;
__be16 urg_ptr;
};

/*
Expand All @@ -62,7 +62,7 @@ struct tcphdr {
*/
union tcp_word_hdr {
struct tcphdr hdr;
__u32 words[5];
__be32 words[5];
};

#define tcp_flag_word(tp) ( ((union tcp_word_hdr *)(tp))->words [3])
Expand Down

0 comments on commit 9333fc0

Please sign in to comment.