From owner-svn-src-all@FreeBSD.ORG Wed Apr 15 20:49:59 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96DE71065675; Wed, 15 Apr 2009 20:49:59 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 853F18FC2E; Wed, 15 Apr 2009 20:49:59 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n3FKnx5c054351; Wed, 15 Apr 2009 20:49:59 GMT (envelope-from kmacy@svn.freebsd.org) Received: (from kmacy@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n3FKnx47054349; Wed, 15 Apr 2009 20:49:59 GMT (envelope-from kmacy@svn.freebsd.org) Message-Id: <200904152049.n3FKnx47054349@svn.freebsd.org> From: Kip Macy Date: Wed, 15 Apr 2009 20:49:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r191120 - head/sys/netinet X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2009 20:50:00 -0000 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. */