]> bbs.cooldavid.org Git - net-next-2.6.git/commit
tcp: unify tcp flag macros
authorChangli Gao <xiaosuo@gmail.com>
Sat, 12 Jun 2010 14:01:43 +0000 (14:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jun 2010 18:56:19 +0000 (11:56 -0700)
commita3433f35a55f7604742cae620c6dc6edfc70db6a
tree4ce6d169e402c03a48319a9db4055cc31df00d42
parentf350a0a87374418635689471606454abc7beaa3a
tcp: unify tcp flag macros

unify tcp flag macros: TCPHDR_FIN, TCPHDR_SYN, TCPHDR_RST, TCPHDR_PSH,
TCPHDR_ACK, TCPHDR_URG, TCPHDR_ECE and TCPHDR_CWR. TCBCB_FLAG_* are replaced
with the corresponding TCPHDR_*.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
----
 include/net/tcp.h                      |   24 ++++++-------
 net/ipv4/tcp.c                         |    8 ++--
 net/ipv4/tcp_input.c                   |    2 -
 net/ipv4/tcp_output.c                  |   59 ++++++++++++++++-----------------
 net/netfilter/nf_conntrack_proto_tcp.c |   32 ++++++-----------
 net/netfilter/xt_TCPMSS.c              |    4 --
 6 files changed, 58 insertions(+), 71 deletions(-)
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp.c
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c
net/netfilter/nf_conntrack_proto_tcp.c
net/netfilter/xt_TCPMSS.c