summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in_pcb.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-08-23 18:59:07 +0000
committerphk <phk@FreeBSD.org>1996-08-23 18:59:07 +0000
commitb8aebaca2624179f7a6d556675d3c246c8aca35c (patch)
treed473198a8bcce68dadb106e123088be159894864 /sys/netinet/in_pcb.h
parent983e14a6bcb3cb9b4197b2dc8fcb1358101a1606 (diff)
downloadFreeBSD-src-b8aebaca2624179f7a6d556675d3c246c8aca35c.zip
FreeBSD-src-b8aebaca2624179f7a6d556675d3c246c8aca35c.tar.gz
Mark sockets where the kernel chose the port# for.
This can be used by netstat to behave more intelligently.
Diffstat (limited to 'sys/netinet/in_pcb.h')
-rw-r--r--sys/netinet/in_pcb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/in_pcb.h b/sys/netinet/in_pcb.h
index bc56f9a..072d884 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
OpenPOWER on IntegriCloud