diff options
author | jlemon <jlemon@FreeBSD.org> | 2003-02-19 22:32:43 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2003-02-19 22:32:43 +0000 |
commit | a8bc02dcb257f24a8246bb1c31abe58bf12ebd04 (patch) | |
tree | 6317b858b0555a797efb2e5b5bd4c2eebbdc0d10 /sys/netinet/in_pcb.h | |
parent | 79a1ebfa6f53d733dc4775c2031ff3d16e53b75c (diff) | |
download | FreeBSD-src-a8bc02dcb257f24a8246bb1c31abe58bf12ebd04.zip FreeBSD-src-a8bc02dcb257f24a8246bb1c31abe58bf12ebd04.tar.gz |
Add a TCP TIMEWAIT state which uses less space than a fullblown TCP
control block. Allow the socket and tcpcb structures to be freed
earlier than inpcb. Update code to understand an inp w/o a socket.
Reviewed by: hsu, silby, jayanth
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'sys/netinet/in_pcb.h')
-rw-r--r-- | sys/netinet/in_pcb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h index 018d7b4..efb7862 100644 --- a/sys/netinet/in_pcb.h +++ b/sys/netinet/in_pcb.h @@ -140,6 +140,8 @@ struct inpcb { u_char inp_vflag; /* IP version flag (v4/v6) */ #define INP_IPV4 0x1 #define INP_IPV6 0x2 +#define INP_IPV6PROTO 0x4 /* opened under IPv6 protocol */ +#define INP_TIMEWAIT 0x8 /* .. probably doesn't go here */ u_char inp_ip_ttl; /* time to live proto */ u_char inp_ip_p; /* protocol proto */ |