Add flags for upcoming patches related to improved ECN handling.
No functional change. Submitted by: Richard Scheffenegger Reviewed by: rgrimes@, tuexen@ Differential Revision: https://reviews.freebsd.org/D22429
This commit is contained in:
parent
83a2839fb9
commit
493c98c6d2
@ -71,8 +71,9 @@ struct tcphdr {
|
||||
#define TH_URG 0x20
|
||||
#define TH_ECE 0x40
|
||||
#define TH_CWR 0x80
|
||||
#define TH_AE 0x100 /* maps into th_x2 */
|
||||
#define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|TH_ECE|TH_CWR)
|
||||
#define PRINT_TH_FLAGS "\20\1FIN\2SYN\3RST\4PUSH\5ACK\6URG\7ECE\10CWR"
|
||||
#define PRINT_TH_FLAGS "\20\1FIN\2SYN\3RST\4PUSH\5ACK\6URG\7ECE\10CWR\11AE"
|
||||
|
||||
u_short th_win; /* window */
|
||||
u_short th_sum; /* checksum */
|
||||
|
@ -90,6 +90,10 @@ struct syncache {
|
||||
#define SCF_SIGNATURE 0x20 /* send MD5 digests */
|
||||
#define SCF_SACK 0x80 /* send SACK option */
|
||||
#define SCF_ECN 0x100 /* send ECN setup packet */
|
||||
#define SCF_ACE_N 0x200 /* send ACE non-ECT setup */
|
||||
#define SCF_ACE_0 0x400 /* send ACE ECT0 setup */
|
||||
#define SCF_ACE_1 0x800 /* send ACE ECT1 setup */
|
||||
#define SCF_ACE_CE 0x1000 /* send ACE CE setup */
|
||||
|
||||
struct syncache_head {
|
||||
struct mtx sch_mtx;
|
||||
|
Loading…
x
Reference in New Issue
Block a user