From owner-svn-src-head@FreeBSD.ORG Wed Mar 4 02:55:05 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53EDB1065670; Wed, 4 Mar 2009 02:55:05 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 42D5A8FC25; Wed, 4 Mar 2009 02:55:05 +0000 (UTC) (envelope-from bms@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 n242t5Ba029309; Wed, 4 Mar 2009 02:55:05 GMT (envelope-from bms@svn.freebsd.org) Received: (from bms@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n242t5kt029308; Wed, 4 Mar 2009 02:55:05 GMT (envelope-from bms@svn.freebsd.org) Message-Id: <200903040255.n242t5kt029308@svn.freebsd.org> From: Bruce M Simpson Date: Wed, 4 Mar 2009 02:55:05 +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: r189345 - head/sys/sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2009 02:55:05 -0000 Author: bms Date: Wed Mar 4 02:55:04 2009 New Revision: 189345 URL: http://svn.freebsd.org/changeset/base/189345 Log: Overlay a uint16_t field suitable for use by the IGMPv3 code. It is used to maintain the number of group records contained in a pending IGMPv3 output mbuf chain. Modified: head/sys/sys/mbuf.h Modified: head/sys/sys/mbuf.h ============================================================================== --- head/sys/sys/mbuf.h Wed Mar 4 02:54:11 2009 (r189344) +++ head/sys/sys/mbuf.h Wed Mar 4 02:55:04 2009 (r189345) @@ -122,9 +122,13 @@ struct pkthdr { int csum_flags; /* flags regarding checksum */ int csum_data; /* data field used by csum routines */ u_int16_t tso_segsz; /* TSO segment size */ - u_int16_t ether_vtag; /* Ethernet 802.1p+q vlan tag */ + union { + u_int16_t vt_vtag; /* Ethernet 802.1p+q vlan tag */ + u_int16_t vt_nrecs; /* # of IGMPv3 records in this chain */ + } PH_vt; SLIST_HEAD(packet_tags, m_tag) tags; /* list of packet tags */ }; +#define ether_vtag PH_vt.vt_vtag /* * Description of external storage mapped into mbuf; valid only if M_EXT is