Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2002 21:07:36 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 12244 for review
Message-ID:  <200206010407.g5147a666551@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=12244

Change 12244 by rwatson@rwatson_curry on 2002/05/31 21:07:24

	#ifdef _KERNEL 'struct ipq', since it's used in the kernel
	fragment reassembly code.  Once you slap stuff like 'struct label'
	into ipq, you don't want it exported to userland.

Affected files ...

... //depot/projects/trustedbsd/mac/sys/netinet/ip_var.h#5 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/netinet/ip_var.h#5 (text+ko) ====

@@ -50,6 +50,7 @@
 	struct	in_addr ih_dst;		/* destination internet address */
 };
 
+#ifdef _KERNEL
 /*
  * Ip reassembly queue structure.  Each fragment
  * being reassembled is attached to one of these structures.
@@ -69,6 +70,7 @@
 #endif
 	struct label ipq_label;		/* MAC label */
 };
+#endif /* _KERNEL */
 
 /*
  * Structure stored in mbuf in inpcb.ip_options

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206010407.g5147a666551>