socket.h (3304) | socket.h (3438) |
---|---|
1/* 2 * Copyright (c) 1982, 1985, 1986, 1988, 1993, 1994 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 * @(#)socket.h 8.4 (Berkeley) 2/21/94 | 1/* 2 * Copyright (c) 1982, 1985, 1986, 1988, 1993, 1994 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 * @(#)socket.h 8.4 (Berkeley) 2/21/94 |
34 * $Id: socket.h,v 1.2 1994/08/02 07:53:35 davidg Exp $ | 34 * $Id: socket.h,v 1.3 1994/10/02 17:24:56 phk Exp $ |
35 */ 36 37#ifndef _SYS_SOCKET_H_ 38#define _SYS_SOCKET_H_ 39 40/* 41 * Definitions related to sockets: types, address families, options. 42 */ --- 289 unchanged lines hidden (view full) --- 332 size_t, int, const struct sockaddr *, int)); 333ssize_t sendmsg __P((int, const struct msghdr *, int)); 334int setsockopt __P((int, int, int, const void *, int)); 335int shutdown __P((int, int)); 336int socket __P((int, int, int)); 337int socketpair __P((int, int, int, int *)); 338__END_DECLS 339 | 35 */ 36 37#ifndef _SYS_SOCKET_H_ 38#define _SYS_SOCKET_H_ 39 40/* 41 * Definitions related to sockets: types, address families, options. 42 */ --- 289 unchanged lines hidden (view full) --- 332 size_t, int, const struct sockaddr *, int)); 333ssize_t sendmsg __P((int, const struct msghdr *, int)); 334int setsockopt __P((int, int, int, const void *, int)); 335int shutdown __P((int, int)); 336int socket __P((int, int, int)); 337int socketpair __P((int, int, int, int *)); 338__END_DECLS 339 |
340#else /* KERNEL */ 341void pfctlinput __P((int, struct sockaddr *)); |
|
340#endif /* !KERNEL */ 341#endif /* !_SYS_SOCKET_H_ */ | 342#endif /* !KERNEL */ 343#endif /* !_SYS_SOCKET_H_ */ |