/macosx-10.9.5/xnu-2422.115.4/tools/tests/perf_index/ |
H A D | test_controller.py | 38 client_socket.shutdown(socket.SHUT_WR)
|
/macosx-10.9.5/Heimdal-323.92.1/lib/roken/ |
H A D | roken-common.h | 267 #ifndef SHUT_WR 268 #define SHUT_WR 1 macro
|
/macosx-10.9.5/remote_cmds-41.90.1/rsh.tproj/ |
H A D | rsh.c | 234 (void)shutdown(rem, SHUT_WR); 289 (void)shutdown(rem, SHUT_WR);
|
/macosx-10.9.5/OpenSSH-186/openssh/ |
H A D | defines.h | 37 SHUT_WR, /* No more transmissions. */ enumerator in enum:__anon3308 41 # define SHUT_WR SHUT_WR macro
|
H A D | nchan.c | 496 if (shutdown(c->sock, SHUT_WR) < 0)
|
H A D | serverloop.c | 490 shutdown(fdin, SHUT_WR); /* We will no longer send. */ 650 shutdown(fdin, SHUT_WR); /* We will no longer send. */
|
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KerberosSupport/ |
H A D | Sockets.h | 109 /* $Copyright:
*
* Copyright 1998-2000 by the Massachusetts Institute of Technology.
*
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose and without fee is hereby granted,
* provided that the above copyright notice appear in all copies and that
* both that copyright notice and this permission notice appear in
* supporting documentation, and that the name of M.I.T. not be used in
* advertising or publicity pertaining to distribution of the software
* without specific, written prior permission. Furthermore if you modify
* this software you must label your software as modified software and not
* distribute it in such a fashion that it might be confused with the
* original MIT software. M.I.T. makes no representations about the
* suitability of this software for any purpose. It is provided "as is"
* without express or implied warranty.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* Individual source code files are copyright MIT, Cygnus Support,
* OpenVision, Oracle, Sun Soft, FundsXpress, and others.
*
* Project Athena, Athena, Athena MUSE, Discuss, Hesiod, Kerberos, Moira,
* and Zephyr are trademarks of the Massachusetts Institute of Technology
* (MIT). No commercial use of these trademarks may be made without prior
* written permission of MIT.
*
* "Commercial use" means use of a name in a product or other for-profit
* manner. It does NOT prevent a commercial firm from referring to the MIT
* trademarks in order to convey information (although in doing so,
* recognition of their trademark status should be given).
* $
*/
/* $Header: /Volumes/backup/dsmigrate/Dumps/../CVS/passwordserver_sasl/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KerberosSupport/Sockets.h,v 1.4 2005/01/10 19:10:48 snsimon Exp $ */
/*
*
* Sockets.h -- Main external header file for the sockets library.
*
*/
#include <KerberosSupport/ErrorLib.h>
#include <KerberosSupport/Utilities.h>
#include <KerberosSupport/SocketErrors.h>
#include <unix.h>
#include <MacTypes.h>
#include <Events.h>
#include <OpenTptInternet.h>
#ifndef _SOCKETS_
#define _SOCKETS_
#ifdef __cplusplus
extern "C" {
#endif
#if defined(__CFM68K__) && !defined(__USING_STATIC_LIBS__)
# pragma import on
#endif
/*******************/
/* API Definitions */
/*******************/
#define FD_SETSIZE 256 /* The maximum # of sockets -- cannot be changed */
/* socket types */
#define SOCK_STREAM 0 /* stream socket -- connection oriented */
#define SOCK_DGRAM 1 /* datagram socket -- connectionless */
#define SOCK_RAW 2 /* raw socket */
#define SOCK_SEQPACKET 3 /* sequenced packet socket */
#define SOCK_RDM 4 /* reliably delivered message socket */
/* address families -- get AF_INET from OpenTptInternet.h */
#define AF_UNSPEC 0 /* Unspecified */
#define AF_UNIX 1 /* Unix internal protocols */
/* protocol families */
#define PF_UNSPEC AF_UNSPEC /* Unspecified */
#define PF_UNIX AF_UNIX /* Unix internal protocols */
#define PF_INET AF_INET /* Internet protocols */
/* IP Address Wildcard */
#define INADDR_ANY kOTAnyInetAddress
#define INADDR_NONE 0xffffffff
/* recv and send flags */
#define MSG_DONTROUTE 1
#define MSG_DONTWAIT 2
#define MSG_OOB 4
#define MSG_PEEK 8
#define MSG_WAITALL 16
#define NUMBITSPERBYTE 8 /* Number of bits per byte */
/* socket_fnctl() requests */
#define F_GETFL 3 /* Get file flags */
#define F_SETFL 4 /* Set file flags */
/* shutdown() flags */
#define SHUT_RD 0 /* Shutdown read side of the connection */
#define SHUT_WR 1 /* Shutdown write side of the connection */
#define SHUT_RDWR 2 /* Shutdown read and writ (…)
|
/macosx-10.9.5/ksh-20/ksh/src/cmd/ksh93/sh/ |
H A D | io.c | 84 # ifndef SHUT_WR 85 # define SHUT_WR 1 macro 88 # define pipe(v) ((socketpair(AF_UNIX,SOCK_STREAM,0,v)<0||shutdown((v)[1],SHUT_RD)<0||fchmod((v)[1],S_IWUSR)<0||shutdown((v)[0],SHUT_WR)<0||fchmod((v)[0],S_IRUSR)<0)?(-1):0) 90 # define pipe(v) ((socketpair(AF_UNIX,SOCK_STREAM,0,v)<0||shutdown((v)[1],SHUT_RD)<0||shutdown((v)[0],SHUT_WR)<0)?(-1):0) 905 #if defined(SHUT_RD) && defined(SHUT_WR) 906 shutdown(pv[out],out?SHUT_RD:SHUT_WR);
|
/macosx-10.9.5/postfix-252/postfix/src/global/ |
H A D | smtp_stream.c | 203 (void) shutdown(vstream_fileno(stream), SHUT_WR); local
|
/macosx-10.9.5/ruby-104/ruby/lib/net/ |
H A D | ftp.rb | 436 sock.shutdown(Socket::SHUT_WR) rescue nil 493 conn.shutdown(Socket::SHUT_WR) 520 conn.shutdown(Socket::SHUT_WR) 951 @sock.shutdown(Socket::SHUT_WR) rescue nil
|
/macosx-10.9.5/text_cmds-87/cat/ |
H A D | cat.c | 300 if (shutdown(fd, SHUT_WR) == -1)
|
/macosx-10.9.5/curl-78.94.1/curl/lib/ |
H A D | curl_setup.h | 689 # define SHUT_WR 0x01 macro
|
/macosx-10.9.5/curl-78.94.1/curl/tests/server/ |
H A D | sws.c | 1597 shutdown(clientfd[i], SHUT_WR); 1617 shutdown(serverfd[i], SHUT_WR); 1650 shutdown(clientfd[i], SHUT_WR); 1663 shutdown(serverfd[i], SHUT_WR);
|
/macosx-10.9.5/ruby-104/ruby/ext/socket/ |
H A D | basicsocket.c | 43 * s.shutdown(Socket::SHUT_WR) disallows further write. 49 * - :WR, :SHUT_WR, "WR" and "SHUT_WR" are accepted as Socket::SHUT_WR. 77 if (how != SHUT_WR && how != SHUT_RD && how != SHUT_RDWR) { 78 rb_raise(rb_eArgError, "`how' should be either :SHUT_RD, :SHUT_WR, :SHUT_RDWR");
|
/macosx-10.9.5/ruby-104/ruby/test/net/ftp/ |
H A D | test_ftp.rb | 559 conn.shutdown(Socket::SHUT_WR) 799 sock.shutdown(Socket::SHUT_WR)
|
/macosx-10.9.5/sudo-72/src/ |
H A D | exec.c | 582 (void) shutdown(sv[0], SHUT_WR);
|
/macosx-10.9.5/xnu-2422.115.4/bsd/sys/ |
H A D | socket.h | 867 #define SHUT_WR 1 /* shut down the writing side */ macro
|
/macosx-10.9.5/xnu-2422.115.4/bsd/netinet/ |
H A D | flow_divert.c | 614 if (how != SHUT_WR) { 1076 return SHUT_WR; 1102 how = SHUT_WR; 1114 if (how != SHUT_WR) { 1560 } else if (how == SHUT_WR) { 2102 flow_divert_update_closed_state(fd_cb, SHUT_WR, FALSE);
|
H A D | mptcp_subr.c | 1457 (void) soshutdownlock(so, SHUT_WR);
|
/macosx-10.9.5/Heimdal-323.92.1/appl/rsh/ |
H A D | rsh.c | 145 shutdown (s, SHUT_WR);
|
/macosx-10.9.5/netcat-20/ |
H A D | netcat.c | 952 shutdown(nfd, SHUT_WR);
|
/macosx-10.9.5/ruby-104/ruby/test/socket/ |
H A D | test_unix.rb | 391 s1.shutdown(Socket::SHUT_WR)
|
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/ |
H A D | uipc_socket.c | 3033 case SHUT_WR: 3060 if (how != SHUT_WR) { 4934 (void) soshutdownlock(so, SHUT_WR);
|
/macosx-10.9.5/ruby-104/ruby/ |
H A D | io.c | 4422 #ifndef SHUT_WR 4423 # define SHUT_WR 1 macro 4425 if (shutdown(fptr->fd, SHUT_WR) < 0)
|