Deleted Added
full compact
socketvar.h (98385) socketvar.h (98849)
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 * @(#)socketvar.h 8.3 (Berkeley) 2/19/95
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 * @(#)socketvar.h 8.3 (Berkeley) 2/19/95
34 * $FreeBSD: head/sys/sys/socketvar.h 98385 2002-06-18 07:42:02Z tanimura $
34 * $FreeBSD: head/sys/sys/socketvar.h 98849 2002-06-26 03:37:47Z ken $
35 */
36
37#ifndef _SYS_SOCKETVAR_H_
38#define _SYS_SOCKETVAR_H_
39
40#include <sys/queue.h> /* for TAILQ macros */
41#include <sys/selinfo.h> /* for struct selinfo */
42

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

386int socheckproc(struct socket *so, struct proc *p);
387struct socket *soalloc(int waitok);
388int sobind(struct socket *so, struct sockaddr *nam, struct thread *td);
389void socantrcvmore(struct socket *so);
390void socantsendmore(struct socket *so);
391int soclose(struct socket *so);
392int soconnect(struct socket *so, struct sockaddr *nam, struct thread *td);
393int soconnect2(struct socket *so1, struct socket *so2);
35 */
36
37#ifndef _SYS_SOCKETVAR_H_
38#define _SYS_SOCKETVAR_H_
39
40#include <sys/queue.h> /* for TAILQ macros */
41#include <sys/selinfo.h> /* for struct selinfo */
42

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

386int socheckproc(struct socket *so, struct proc *p);
387struct socket *soalloc(int waitok);
388int sobind(struct socket *so, struct sockaddr *nam, struct thread *td);
389void socantrcvmore(struct socket *so);
390void socantsendmore(struct socket *so);
391int soclose(struct socket *so);
392int soconnect(struct socket *so, struct sockaddr *nam, struct thread *td);
393int soconnect2(struct socket *so1, struct socket *so2);
394int socow_setup(struct mbuf *m0, struct uio *uio);
394int socreate(int dom, struct socket **aso, int type, int proto,
395 struct ucred *cred, struct thread *td);
396int sodisconnect(struct socket *so);
397void sofree(struct socket *so);
398int sogetopt(struct socket *so, struct sockopt *sopt);
399void sohasoutofband(struct socket *so);
400void soisconnected(struct socket *so);
401void soisconnecting(struct socket *so);

--- 43 unchanged lines hidden ---
395int socreate(int dom, struct socket **aso, int type, int proto,
396 struct ucred *cred, struct thread *td);
397int sodisconnect(struct socket *so);
398void sofree(struct socket *so);
399int sogetopt(struct socket *so, struct sockopt *sopt);
400void sohasoutofband(struct socket *so);
401void soisconnected(struct socket *so);
402void soisconnecting(struct socket *so);

--- 43 unchanged lines hidden ---