From 5ede7a3e25680029d8ae5518ff9a6f1a1542a512 Mon Sep 17 00:00:00 2001 From: archie Date: Wed, 28 Nov 2001 19:39:58 +0000 Subject: When a socket is not connected, allow the peer "struct sockaddr" to be included in the meta information that is associated with incoming and outgoing packets. Reviewed by: julian MFC after: 1 week --- sys/netgraph/ng_ksocket.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/netgraph/ng_ksocket.h') diff --git a/sys/netgraph/ng_ksocket.h b/sys/netgraph/ng_ksocket.h index efb65aa..6caf752 100644 --- a/sys/netgraph/ng_ksocket.h +++ b/sys/netgraph/ng_ksocket.h @@ -98,4 +98,7 @@ enum { NGM_KSOCKET_GETOPT, }; +/* Meta information ID's */ +#define NG_KSOCKET_META_SOCKADDR 1 /* data is struct sockaddr */ + #endif /* _NETGRAPH_KSOCKET_H_ */ -- cgit v1.1