socketvar.h (179027) | socketvar.h (180198) |
---|---|
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 * @(#)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 --- 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 * @(#)socketvar.h 8.3 (Berkeley) 2/19/95 |
30 * $FreeBSD: head/sys/sys/socketvar.h 179027 2008-05-15 20:18:44Z gnn $ | 30 * $FreeBSD: head/sys/sys/socketvar.h 180198 2008-07-02 23:23:27Z rwatson $ |
31 */ 32 33#ifndef _SYS_SOCKETVAR_H_ 34#define _SYS_SOCKETVAR_H_ 35 36#include <sys/queue.h> /* for TAILQ macros */ 37#include <sys/selinfo.h> /* for struct selinfo */ 38#include <sys/_lock.h> --- 504 unchanged lines hidden (view full) --- 543int soopt_mcopyout(struct sockopt *sopt, struct mbuf *m); 544 545int sopoll(struct socket *so, int events, struct ucred *active_cred, 546 struct thread *td); 547int sopoll_generic(struct socket *so, int events, 548 struct ucred *active_cred, struct thread *td); 549int soreceive(struct socket *so, struct sockaddr **paddr, struct uio *uio, 550 struct mbuf **mp0, struct mbuf **controlp, int *flagsp); | 31 */ 32 33#ifndef _SYS_SOCKETVAR_H_ 34#define _SYS_SOCKETVAR_H_ 35 36#include <sys/queue.h> /* for TAILQ macros */ 37#include <sys/selinfo.h> /* for struct selinfo */ 38#include <sys/_lock.h> --- 504 unchanged lines hidden (view full) --- 543int soopt_mcopyout(struct sockopt *sopt, struct mbuf *m); 544 545int sopoll(struct socket *so, int events, struct ucred *active_cred, 546 struct thread *td); 547int sopoll_generic(struct socket *so, int events, 548 struct ucred *active_cred, struct thread *td); 549int soreceive(struct socket *so, struct sockaddr **paddr, struct uio *uio, 550 struct mbuf **mp0, struct mbuf **controlp, int *flagsp); |
551int soreceive_dgram(struct socket *so, struct sockaddr **paddr, 552 struct uio *uio, struct mbuf **mp0, struct mbuf **controlp, 553 int *flagsp); |
|
551int soreceive_generic(struct socket *so, struct sockaddr **paddr, 552 struct uio *uio, struct mbuf **mp0, struct mbuf **controlp, 553 int *flagsp); 554int soreserve(struct socket *so, u_long sndcc, u_long rcvcc); 555void sorflush(struct socket *so); 556int sosend(struct socket *so, struct sockaddr *addr, struct uio *uio, 557 struct mbuf *top, struct mbuf *control, int flags, 558 struct thread *td); --- 40 unchanged lines hidden --- | 554int soreceive_generic(struct socket *so, struct sockaddr **paddr, 555 struct uio *uio, struct mbuf **mp0, struct mbuf **controlp, 556 int *flagsp); 557int soreserve(struct socket *so, u_long sndcc, u_long rcvcc); 558void sorflush(struct socket *so); 559int sosend(struct socket *so, struct sockaddr *addr, struct uio *uio, 560 struct mbuf *top, struct mbuf *control, int flags, 561 struct thread *td); --- 40 unchanged lines hidden --- |