Forward-declare `struct inpcb' so that including this file doesn't cause
lots of warnings. Should be in 2.2. Previous version shouldn't have been in 2.2.
This commit is contained in:
parent
679f1a2242
commit
ca5d5e7397
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=19669
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)ip_var.h 8.2 (Berkeley) 1/9/95
|
||||
* $Id: ip_var.h,v 1.24 1996/10/25 17:57:46 fenner Exp $
|
||||
* $Id: ip_var.h,v 1.25 1996/11/11 04:56:21 fenner Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETINET_IP_VAR_H_
|
||||
@ -156,6 +156,7 @@ struct ipstat {
|
||||
#define IP_ROUTETOIF SO_DONTROUTE /* bypass routing tables */
|
||||
#define IP_ALLOWBROADCAST SO_BROADCAST /* can send broadcast packets */
|
||||
|
||||
struct inpcb;
|
||||
struct route;
|
||||
|
||||
extern struct ipstat ipstat;
|
||||
|
Loading…
Reference in New Issue
Block a user