diff options
author | Bob Beck <beck@cvs.openbsd.org> | 1998-06-10 03:40:08 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 1998-06-10 03:40:08 +0000 |
commit | 33c10bd9ae8695bfa1ca5e5ee23b7654d248285d (patch) | |
tree | 917fe14afd7a04106d7c0521117552d0e95f9afd /sys/netinet/tcp_var.h | |
parent | ebce71cde9046b12ed797121c51fbdb204dd49eb (diff) |
New TCPCTL_IDENT sysctl for identd without kmem insanity.
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r-- | sys/netinet/tcp_var.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h index 89c24a90815..b0572fb81f5 100644 --- a/sys/netinet/tcp_var.h +++ b/sys/netinet/tcp_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_var.h,v 1.10 1998/03/18 02:37:49 angelos Exp $ */ +/* $OpenBSD: tcp_var.h,v 1.11 1998/06/10 03:40:05 beck Exp $ */ /* $NetBSD: tcp_var.h,v 1.17 1996/02/13 23:44:24 christos Exp $ */ /* @@ -240,7 +240,8 @@ struct tcpstat { #define TCPCTL_BADDYNAMIC 6 /* return bad dynamic port bitmap */ #define TCPCTL_RECVSPACE 7 /* receive buffer space */ #define TCPCTL_SENDSPACE 8 /* send buffer space */ -#define TCPCTL_MAXID 9 +#define TCPCTL_IDENT 9 /* get connection owner */ +#define TCPCTL_MAXID 10 #define TCPCTL_NAMES { \ { 0, 0 }, \ @@ -252,8 +253,14 @@ struct tcpstat { { "baddynamic", CTLTYPE_STRUCT }, \ { "recvspace", CTLTYPE_INT }, \ { "sendspace", CTLTYPE_INT }, \ + { "ident", CTLTYPE_STRUCT }, \ } +struct tcp_ident_mapping { + struct sockaddr faddr, laddr; + int euid, ruid; +}; + #ifdef _KERNEL struct inpcbtable tcbtable; /* head of queue of active tcpcb's */ struct tcpstat tcpstat; /* tcp statistics */ |