Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 2009 20:49:59 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r191120 - head/sys/netinet
Message-ID:  <200904152049.n3FKnx47054349@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kmacy
Date: Wed Apr 15 20:49:59 2009
New Revision: 191120
URL: http://svn.freebsd.org/changeset/base/191120

Log:
  make LLTABLE visible to netinet

Modified:
  head/sys/netinet/if_ether.c
  head/sys/netinet/in_var.h

Modified: head/sys/netinet/if_ether.c
==============================================================================
--- head/sys/netinet/if_ether.c	Wed Apr 15 20:46:47 2009	(r191119)
+++ head/sys/netinet/if_ether.c	Wed Apr 15 20:49:59 2009	(r191120)
@@ -81,8 +81,6 @@ __FBSDID("$FreeBSD$");
 
 #define SIN(s) ((struct sockaddr_in *)s)
 #define SDL(s) ((struct sockaddr_dl *)s)
-#define LLTABLE(ifp)	\
-	((struct in_ifinfo *)(ifp)->if_afdata[AF_INET])->ii_llt
 
 SYSCTL_DECL(_net_link_ether);
 SYSCTL_NODE(_net_link_ether, PF_INET, inet, CTLFLAG_RW, 0, "");

Modified: head/sys/netinet/in_var.h
==============================================================================
--- head/sys/netinet/in_var.h	Wed Apr 15 20:46:47 2009	(r191119)
+++ head/sys/netinet/in_var.h	Wed Apr 15 20:49:59 2009	(r191120)
@@ -95,6 +95,8 @@ struct	in_aliasreq {
 #ifdef	_KERNEL
 extern	u_char	inetctlerrmap[];
 
+#define LLTABLE(ifp)	\
+	((struct in_ifinfo *)(ifp)->if_afdata[AF_INET])->ii_llt
 /*
  * Hash table for IP addresses.
  */



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