PERFORCE change 127730 for review

Marko Zec zec at FreeBSD.org
Thu Oct 18 16:10:10 PDT 2007


http://perforce.freebsd.org/chv.cgi?CH=127730

Change 127730 by zec at zec_tpx32 on 2007/10/18 23:09:08

	Cosmetic field renaming.

Affected files ...

.. //depot/projects/vimage/src/sys/netinet/in_pcb.h#11 edit

Differences ...

==== //depot/projects/vimage/src/sys/netinet/in_pcb.h#11 (text+ko) ====

@@ -120,7 +120,6 @@
 
 	void	*inp_ppcb;		/* pointer to per-protocol pcb */
 	struct	inpcbinfo *inp_pcbinfo;	/* PCB list info */
-#define inp_vnet inp_pcbinfo->vnet
 	struct	socket *inp_socket;	/* back pointer to socket */
 					/* list for this PCB's local port */
 	struct	label *inp_label;	/* MAC label */
@@ -187,6 +186,8 @@
 #define	in6p_lport	inp_lport  /* for KAME src sync over BSD*'s */
 #define	in6p_fport	inp_fport  /* for KAME src sync over BSD*'s */
 #define	in6p_ppcb	inp_ppcb  /* for KAME src sync over BSD*'s */
+
+#define	inp_vnet	inp_pcbinfo->ipi_vnet
 };
 /*
  * The range of the generation count, as used in this implementation, is 9e19.
@@ -263,7 +264,7 @@
 	 */
 	u_quad_t		 ipi_gencnt;
 	struct mtx		 ipi_mtx;
-	struct	vnet *vnet;
+	struct vnet		*ipi_vnet;
 };
 
 #define INP_LOCK_INIT(inp, d, t) \


More information about the p4-projects mailing list