Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15548
b: refs/heads/master
c: 2271281
h: refs/heads/master
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo authored and David S. Miller committed Jan 3, 2006
1 parent 1a6c50f commit 24e2f9a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 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: d8313f5ca2b1f86b7df6c99fc4b3fffa1f84e92b
refs/heads/master: 22712813620fa8e682dbfb253a60ca0131da1e07
16 changes: 0 additions & 16 deletions trunk/include/linux/tcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,22 +55,6 @@ struct tcphdr {
__u16 urg_ptr;
};

#define TCP_ACTION_FIN (1 << 7)

enum {
TCPF_ESTABLISHED = (1 << 1),
TCPF_SYN_SENT = (1 << 2),
TCPF_SYN_RECV = (1 << 3),
TCPF_FIN_WAIT1 = (1 << 4),
TCPF_FIN_WAIT2 = (1 << 5),
TCPF_TIME_WAIT = (1 << 6),
TCPF_CLOSE = (1 << 7),
TCPF_CLOSE_WAIT = (1 << 8),
TCPF_LAST_ACK = (1 << 9),
TCPF_LISTEN = (1 << 10),
TCPF_CLOSING = (1 << 11)
};

/*
* The union cast uses a gcc extension to avoid aliasing problems
* (union is compatible to any of its members)
Expand Down
16 changes: 16 additions & 0 deletions trunk/include/net/tcp_states.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,20 @@ enum {

#define TCP_STATE_MASK 0xF

#define TCP_ACTION_FIN (1 << 7)

enum {
TCPF_ESTABLISHED = (1 << 1),
TCPF_SYN_SENT = (1 << 2),
TCPF_SYN_RECV = (1 << 3),
TCPF_FIN_WAIT1 = (1 << 4),
TCPF_FIN_WAIT2 = (1 << 5),
TCPF_TIME_WAIT = (1 << 6),
TCPF_CLOSE = (1 << 7),
TCPF_CLOSE_WAIT = (1 << 8),
TCPF_LAST_ACK = (1 << 9),
TCPF_LISTEN = (1 << 10),
TCPF_CLOSING = (1 << 11)
};

#endif /* _LINUX_TCP_STATES_H */

0 comments on commit 24e2f9a

Please sign in to comment.