diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1996-08-23 18:59:07 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1996-08-23 18:59:07 +0000 |
commit | 321a2846251910690d28419c9870fafadef8d36d (patch) | |
tree | d473198a8bcce68dadb106e123088be159894864 /sys/netinet/in_pcb.h | |
parent | 5f87a4a8a6982132b661eb756b215b979f35d8c0 (diff) | |
download | src-321a2846251910690d28419c9870fafadef8d36d.tar.gz src-321a2846251910690d28419c9870fafadef8d36d.zip |
Mark sockets where the kernel chose the port# for.
This can be used by netstat to behave more intelligently.
Notes
Notes:
svn path=/head/; revision=17795
Diffstat (limited to 'sys/netinet/in_pcb.h')
-rw-r--r-- | sys/netinet/in_pcb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h index bc56f9a95bb8..072d884f0b11 100644 --- a/sys/netinet/in_pcb.h +++ b/sys/netinet/in_pcb.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)in_pcb.h 8.1 (Berkeley) 6/10/93 - * $Id: in_pcb.h,v 1.10 1995/12/05 21:26:34 bde Exp $ + * $Id: in_pcb.h,v 1.11 1996/02/22 21:32:22 peter Exp $ */ #ifndef _NETINET_IN_PCB_H_ @@ -80,6 +80,7 @@ struct inpcbinfo { #define INP_HDRINCL 0x08 /* user supplies entire IP header */ #define INP_HIGHPORT 0x10 /* user wants "high" port binding */ #define INP_LOWPORT 0x20 /* user wants "low" port binding */ +#define INP_ANONPORT 0x40 /* port chosen for user */ #define INPLOOKUP_WILDCARD 1 |