in_pcb.h (249318) | in_pcb.h (250300) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1990, 1993 3 * The Regents of the University of California. 4 * Copyright (c) 2010-2011 Juniper Networks, Inc. 5 * All rights reserved. 6 * 7 * Portions of this software were developed by Robert N. M. Watson under 8 * contract to Juniper Networks, Inc. --- 18 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)in_pcb.h 8.1 (Berkeley) 6/10/93 | 1/*- 2 * Copyright (c) 1982, 1986, 1990, 1993 3 * The Regents of the University of California. 4 * Copyright (c) 2010-2011 Juniper Networks, Inc. 5 * All rights reserved. 6 * 7 * Portions of this software were developed by Robert N. M. Watson under 8 * contract to Juniper Networks, Inc. --- 18 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)in_pcb.h 8.1 (Berkeley) 6/10/93 |
35 * $FreeBSD: head/sys/netinet/in_pcb.h 249318 2013-04-09 21:02:20Z andre $ | 35 * $FreeBSD: head/sys/netinet/in_pcb.h 250300 2013-05-06 16:42:18Z andre $ |
36 */ 37 38#ifndef _NETINET_IN_PCB_H_ 39#define _NETINET_IN_PCB_H_ 40 41#include <sys/queue.h> 42#include <sys/_lock.h> 43#include <sys/_mutex.h> --- 281 unchanged lines hidden (view full) --- 325 */ 326 struct inpcbgroup *ipi_pcbgroups; /* (c) */ 327 u_int ipi_npcbgroups; /* (c) */ 328 u_int ipi_hashfields; /* (c) */ 329 330 /* 331 * Global lock protecting non-pcbgroup hash lookup tables. 332 */ | 36 */ 37 38#ifndef _NETINET_IN_PCB_H_ 39#define _NETINET_IN_PCB_H_ 40 41#include <sys/queue.h> 42#include <sys/_lock.h> 43#include <sys/_mutex.h> --- 281 unchanged lines hidden (view full) --- 325 */ 326 struct inpcbgroup *ipi_pcbgroups; /* (c) */ 327 u_int ipi_npcbgroups; /* (c) */ 328 u_int ipi_hashfields; /* (c) */ 329 330 /* 331 * Global lock protecting non-pcbgroup hash lookup tables. 332 */ |
333 struct rwlock_padalign ipi_hash_lock; | 333 struct rwlock ipi_hash_lock; |
334 335 /* 336 * Global hash of inpcbs, hashed by local and foreign addresses and 337 * port numbers. 338 */ 339 struct inpcbhead *ipi_hashbase; /* (h) */ 340 u_long ipi_hashmask; /* (h) */ 341 --- 321 unchanged lines hidden --- | 334 335 /* 336 * Global hash of inpcbs, hashed by local and foreign addresses and 337 * port numbers. 338 */ 339 struct inpcbhead *ipi_hashbase; /* (h) */ 340 u_long ipi_hashmask; /* (h) */ 341 --- 321 unchanged lines hidden --- |