Deleted Added
full compact
in_pcb.h (127504) in_pcb.h (127505)
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

--- 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_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

--- 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_pcb.h 8.1 (Berkeley) 6/10/93
34 * $FreeBSD: head/sys/netinet/in_pcb.h 127504 2004-03-27 20:41:32Z pjd $
34 * $FreeBSD: head/sys/netinet/in_pcb.h 127505 2004-03-27 21:05:46Z pjd $
35 */
36
37#ifndef _NETINET_IN_PCB_H_
38#define _NETINET_IN_PCB_H_
39
40#include <sys/queue.h>
41#include <sys/_lock.h>
42#include <sys/_mutex.h>

--- 290 unchanged lines hidden (view full) ---

333extern int ipport_lowlastauto;
334extern int ipport_firstauto;
335extern int ipport_lastauto;
336extern int ipport_hifirstauto;
337extern int ipport_hilastauto;
338
339void in_pcbpurgeif0(struct inpcbinfo *, struct ifnet *);
340int in_pcballoc(struct socket *, struct inpcbinfo *, const char *);
35 */
36
37#ifndef _NETINET_IN_PCB_H_
38#define _NETINET_IN_PCB_H_
39
40#include <sys/queue.h>
41#include <sys/_lock.h>
42#include <sys/_mutex.h>

--- 290 unchanged lines hidden (view full) ---

333extern int ipport_lowlastauto;
334extern int ipport_firstauto;
335extern int ipport_lastauto;
336extern int ipport_hifirstauto;
337extern int ipport_hilastauto;
338
339void in_pcbpurgeif0(struct inpcbinfo *, struct ifnet *);
340int in_pcballoc(struct socket *, struct inpcbinfo *, const char *);
341int in_pcbbind(struct inpcb *, struct sockaddr *, struct thread *);
341int in_pcbbind(struct inpcb *, struct sockaddr *, struct ucred *);
342int in_pcbbind_setup(struct inpcb *, struct sockaddr *, in_addr_t *,
342int in_pcbbind_setup(struct inpcb *, struct sockaddr *, in_addr_t *,
343 u_short *, struct thread *);
344int in_pcbconnect(struct inpcb *, struct sockaddr *, struct thread *);
343 u_short *, struct ucred *);
344int in_pcbconnect(struct inpcb *, struct sockaddr *, struct ucred *);
345int in_pcbconnect_setup(struct inpcb *, struct sockaddr *, in_addr_t *,
346 u_short *, in_addr_t *, u_short *, struct inpcb **,
345int in_pcbconnect_setup(struct inpcb *, struct sockaddr *, in_addr_t *,
346 u_short *, in_addr_t *, u_short *, struct inpcb **,
347 struct thread *);
347 struct ucred *);
348void in_pcbdetach(struct inpcb *);
349void in_pcbdisconnect(struct inpcb *);
350int in_pcbinshash(struct inpcb *);
351struct inpcb *
352 in_pcblookup_local(struct inpcbinfo *,
353 struct in_addr, u_int, int);
354struct inpcb *
355 in_pcblookup_hash(struct inpcbinfo *, struct in_addr, u_int,

--- 14 unchanged lines hidden ---
348void in_pcbdetach(struct inpcb *);
349void in_pcbdisconnect(struct inpcb *);
350int in_pcbinshash(struct inpcb *);
351struct inpcb *
352 in_pcblookup_local(struct inpcbinfo *,
353 struct in_addr, u_int, int);
354struct inpcb *
355 in_pcblookup_hash(struct inpcbinfo *, struct in_addr, u_int,

--- 14 unchanged lines hidden ---