in_var.h (111888) | in_var.h (119180) |
---|---|
1/* 2 * Copyright (c) 1985, 1986, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)in_var.h 8.2 (Berkeley) 1/9/95 | 1/* 2 * Copyright (c) 1985, 1986, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)in_var.h 8.2 (Berkeley) 1/9/95 |
34 * $FreeBSD: head/sys/netinet/in_var.h 111888 2003-03-04 23:19:55Z jlemon $ | 34 * $FreeBSD: head/sys/netinet/in_var.h 119180 2003-08-20 17:09:01Z rwatson $ |
35 */ 36 37#ifndef _NETINET_IN_VAR_H_ 38#define _NETINET_IN_VAR_H_ 39 40#include <sys/queue.h> 41#include <sys/fnv_hash.h> 42 --- 92 unchanged lines hidden (view full) --- 135 * This information should be part of the ifnet structure but we don't wish 136 * to change that - as it might break a number of things 137 */ 138 139struct router_info { 140 struct ifnet *rti_ifp; 141 int rti_type; /* type of router which is querier on this interface */ 142 int rti_time; /* # of slow timeouts since last old query */ | 35 */ 36 37#ifndef _NETINET_IN_VAR_H_ 38#define _NETINET_IN_VAR_H_ 39 40#include <sys/queue.h> 41#include <sys/fnv_hash.h> 42 --- 92 unchanged lines hidden (view full) --- 135 * This information should be part of the ifnet structure but we don't wish 136 * to change that - as it might break a number of things 137 */ 138 139struct router_info { 140 struct ifnet *rti_ifp; 141 int rti_type; /* type of router which is querier on this interface */ 142 int rti_time; /* # of slow timeouts since last old query */ |
143 struct router_info *rti_next; | 143 SLIST_ENTRY(router_info) rti_list; |
144}; 145 146/* 147 * Internet multicast address structure. There is one of these for each IP 148 * multicast group to which this host belongs on a given network interface. 149 * For every entry on the interface's if_multiaddrs list which represents 150 * an IP multicast group, there is one of these structures. They are also 151 * kept on a system-wide list to make it easier to keep our legacy IGMP code --- 91 unchanged lines hidden --- | 144}; 145 146/* 147 * Internet multicast address structure. There is one of these for each IP 148 * multicast group to which this host belongs on a given network interface. 149 * For every entry on the interface's if_multiaddrs list which represents 150 * an IP multicast group, there is one of these structures. They are also 151 * kept on a system-wide list to make it easier to keep our legacy IGMP code --- 91 unchanged lines hidden --- |