in_pcb.h (133128) | in_pcb.h (133874) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1990, 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 --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)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. 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 --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)in_pcb.h 8.1 (Berkeley) 6/10/93 |
30 * $FreeBSD: head/sys/netinet/in_pcb.h 133128 2004-08-04 18:27:55Z rwatson $ | 30 * $FreeBSD: head/sys/netinet/in_pcb.h 133874 2004-08-16 18:32:07Z rwatson $ |
31 */ 32 33#ifndef _NETINET_IN_PCB_H_ 34#define _NETINET_IN_PCB_H_ 35 36#include <sys/queue.h> 37#include <sys/_lock.h> 38#include <sys/_mutex.h> --- 278 unchanged lines hidden (view full) --- 317 */ 318 319#define INPLOOKUP_WILDCARD 1 320#define sotoinpcb(so) ((struct inpcb *)(so)->so_pcb) 321#define sotoin6pcb(so) sotoinpcb(so) /* for KAME src sync over BSD*'s */ 322 323#define INP_SOCKAF(so) so->so_proto->pr_domain->dom_family 324 | 31 */ 32 33#ifndef _NETINET_IN_PCB_H_ 34#define _NETINET_IN_PCB_H_ 35 36#include <sys/queue.h> 37#include <sys/_lock.h> 38#include <sys/_mutex.h> --- 278 unchanged lines hidden (view full) --- 317 */ 318 319#define INPLOOKUP_WILDCARD 1 320#define sotoinpcb(so) ((struct inpcb *)(so)->so_pcb) 321#define sotoin6pcb(so) sotoinpcb(so) /* for KAME src sync over BSD*'s */ 322 323#define INP_SOCKAF(so) so->so_proto->pr_domain->dom_family 324 |
325#define INP_CHECK_SOCKAF(so, af) (INP_SOCKAF(so) == af) | 325#define INP_CHECK_SOCKAF(so, af) (INP_SOCKAF(so) == af) |
326 327#ifdef _KERNEL 328extern int ipport_lowfirstauto; 329extern int ipport_lowlastauto; 330extern int ipport_firstauto; 331extern int ipport_lastauto; 332extern int ipport_hifirstauto; 333extern int ipport_hilastauto; --- 32 unchanged lines hidden --- | 326 327#ifdef _KERNEL 328extern int ipport_lowfirstauto; 329extern int ipport_lowlastauto; 330extern int ipport_firstauto; 331extern int ipport_lastauto; 332extern int ipport_hifirstauto; 333extern int ipport_hilastauto; --- 32 unchanged lines hidden --- |