| /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/common/ |
| socket.c | 30 #include <sys/socket.h> 36 socket(family, type, protocol) function
|
| /onnv/onnv-gate/usr/src/lib/libnisdb/ |
| ldap_cto.c | 30 #include <sys/socket.h> 41 * Interpose socket(3SOCKET), so that we can set the connect timeout. 42 * Obviously, this will affect every socket in the application. However, 47 socket(int domain, int type, int protocol) { function 54 fptr = (int (*)())dlsym(RTLD_NEXT, "socket"); 57 "socket: load error: %s",
|
| /onnv/onnv-gate/usr/src/lib/libsocket/socket/ |
| socket.c | 43 #include <sys/socket.h> 57 #pragma weak socket = _socket macro 87 * Create a socket endpoint for socket() and socketpair(). 147 * but socket() should fail with
|
| /onnv/onnv-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
| iscsit_radiusauth.c | 70 void *socket; local 109 socket = idm_socreate(PF_INET, SOCK_DGRAM, 0); 110 if (socket == NULL) { 111 /* Error obtaining socket for RADIUS use */ 116 if (iscsit_snd_radius_request(socket, 120 idm_soshutdown(socket); 121 idm_sodestroy(socket); 126 /* Analyze the response coming through from the same socket. */ 127 rcv_status = iscsit_rcv_radius_response(socket, 146 /* Done! Close the socket. * [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
| radius_auth.c | 29 #include <sys/socket.h> 74 void *socket; local 114 socket = iscsi_net->socket(AF_INET, SOCK_DGRAM, 0); 115 if (socket == NULL) { 116 /* Error obtaining socket for RADIUS use */ 121 if (snd_radius_request(socket, 129 /* Analyze the response coming through from the same socket. */ 130 rcv_status = rcv_radius_response(socket, 150 iscsi_net->close(socket); [all...] |
| iscsi_net.c | 28 #include <sys/socket.h> /* networking stuff */ 64 * socket - Creates TCP/IP socket connection. In the 84 * getsockopt - Gets socket option for specified socket. 85 * setsockopt - Sets socket option for specified socket. 87 * The current socket options that are used by the initiator 97 * iscsi_net_poll - Poll socket interface for a specified amount 100 * iscsi_net_sendmsg - Send message on socket connectio 272 ksocket_t socket; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/IO/lib/IO/ |
| Socket.pm | 1 # IO::Socket.pm 7 package IO::Socket; 12 use Socket 1.3; 21 require IO::Socket::INET; 22 require IO::Socket::UNIX if ($^O ne 'epoc'); 33 Exporter::export_to_level('IO::Socket', 1, $pkg, 'sockatmark'); 36 Exporter::export 'Socket', $callpkg, @_; 63 croak 'IO::Socket: Cannot configure a generic socket' 66 croak "IO::Socket: Unsupported socket domain 76 sub socket { subroutine [all...] |
| /onnv/onnv-gate/usr/src/lib/libnsl/rpc/ |
| pmap_clnt.c | 53 #include <sys/socket.h> 123 pmap_common(const struct netconfig *nconf, int *socket) 137 timeout, socket, RPCSMALLMSGSIZE, RPCSMALLMSGSIZE); 141 socket, RPCSMALLMSGSIZE, RPCSMALLMSGSIZE); 167 int socket = RPC_ANYSOCK; local 178 if ((client = pmap_common(nconf, &socket)) == NULL) 197 (void) close(socket); 211 int socket = RPC_ANYSOCK; local 214 if ((client = pmap_common(NULL, &socket)) == NULL) 227 (void) close(socket); [all...] |
| /onnv/onnv-gate/usr/src/lib/libbc/inc/include/sys/ |
| socketvar.h | 15 * Kernel structure per socket. 20 struct socket { struct 21 short so_type; /* generic type, see socket.h */ 22 short so_options; /* from socket call, see socket.h */ 29 * Socket where accepts occur is so_head in all subsidiary sockets. 30 * If so_head is 0, socket is not related to an accept. 31 * For head socket so_q0 queues partially completed connections, 36 * and limit on number of queued connections for this socket. 38 struct socket *so_head; /* back pointer to accept socket * [all...] |
| /onnv/onnv-gate/usr/src/common/openssl/ |
| e_os.h | 246 # include <sys/socket.h> 463 * Even though sizeof(SOCKET) is 8, it's safe to cast it to int, because 467 # define socket(d,t,p) ((int)socket(d,t,p)) macro 493 # include <sys/socket.h> 519 # include <socket.h> 523 # include <sys/socket.h>
|
| /onnv/onnv-gate/usr/src/stand/lib/sock/ |
| socket.c | 25 * socket.c, Code implementing a simple socket interface. 35 #include <sys/socket.h> 52 /* Default send and receive socket buffer size */ 56 /* Default max socket buffer size */ 65 /* Check the validity of a fd and return the socket index of that fd. */ 92 socket(int domain, int type, int protocol) function 109 /* Find available socket */ 119 /* Some socket initialization... */ 176 * The socket options we support are [all...] |
| /onnv/onnv-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
| chip_amd.c | 135 * below each, regardless of actual socket type, processor revision and so on. 643 char *socket; local 651 * the socket 754 package has a single channel. 653 if (topo_prop_get_string(pnode, PGNAME(MCT), "socket", 654 &socket, &err) == 0 && strcmp(socket, "Socket 754") == 0) 659 topo_mod_strfree(mod, socket);
|
| /onnv/onnv-gate/usr/src/uts/sun/io/ |
| stp4020.c | 300 * structure which contains both the dip and socket services entry 340 drt->pc_csr->socket[sn].stat0); 467 drt->pc_csr->socket[i].ctl1 = 0; /* turn things off */ 468 drt->pc_csr->socket[i].ctl0 = 0; /* before we touch anything */ 471 drt->pc_csr->socket[i].stat1 = 0x3FFF; 472 drt->pc_csr->socket[i].stat0 = 0x3FFF; 475 * enable the socket as well 483 drt->pc_csr->socket[i].stat0); 486 drt->pc_csr->socket[i].ctl0 = DRT_CHANGE_DEFAULT; 488 /* now we need per-socket I/O space allocation * 986 int which, socket, win; local 1297 int socket, win; local 1374 int socket, window; local 1475 int socket, win; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/devfsadm/ |
| port_link.c | 680 * socket # the device is plugged into. 690 int socket, *intp; local 698 if (di_prop_lookup_ints(DDI_DEV_T_ANY, node, "socket", &intp) <= 0) { 699 devfsadm_errprint("%s: failed pcmcia socket lookup\n\t%s\n", 705 socket = PCMCIA_SOCKETNO(*intp); 709 (void) sprintf(l_path, "term/pc%d", socket); 718 * socket number the device is plugged into. 725 int socket, *intp; local 733 if (di_prop_lookup_ints(DDI_DEV_T_ANY, node, "socket", &intp) <= 0) { 734 devfsadm_errprint("%s: failed socket lookup\n\t%s\n" [all...] |
| /onnv/onnv-gate/usr/src/uts/common/pcmcia/pem/ |
| pem.c | 819 tuple.Socket = treq->em_socket; 875 pem_event_ind(queue_t *q, uint32_t event, uint32_t socket, void *arg) 900 ind->em_logical_socket = socket; 956 pem_event_dispatch(int id, int event, int socket, void *arg) 967 id, event, socket, (void *)arg); 994 pem_event_ind(RD(q), event, socket, arg); local 1002 pem_event_handler(int id, int event, int socket, void *arg) 1011 id, event, socket, (void *)arg); 1016 pe->pe_socket = socket; 1099 inquire_socket_t socket; local 1126 get_socket_t socket; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/rpcinfo/ |
| rpcinfo.c | 69 #include <sys/socket.h> 486 int socket = RPC_ANYSOCK; local 511 PMAPVERS, &socket, 50, 500)) == NULL) { [all...] |
| /onnv/onnv-gate/usr/src/uts/sun/sys/ |
| stp4020_reg.h | 45 #define DRWINDOWS 3 /* number of windows per socket */ 62 * Socket interface control register definitions 64 * Each PCMCIA socket has two interface control registers and two inteface 70 * of the socket. 73 * various interrupt and status signals on the PC card and socket, as 77 * the socket is configured for an interface type of memory-only or 82 * bit definitions for socket interface control register 0 123 * bit definitions for socket interface control register 1 138 * should be switched onto Vpp for this socket 157 * Socket interface status register definition 340 struct stp4020_socket_csr_t socket[DRSOCKETS]; \/* socket CSRs *\/ member in struct:stp4020_regs_t [all...] |
| /onnv/onnv-gate/usr/src/cmd/lms/ |
| Protocol.cpp | 36 #include <sys/socket.h> 165 Channel *Protocol::_getSockOpenChannel(SOCKET s) 275 bool Protocol::_checkListen(std::string address, in_port_t port, int &socket) 282 socket = it->second[0]->GetListeningSocket(); 313 int socket = INVALID_SOCKET; local 314 bool exists = _checkListen("127.0.0.1", port, socket); 357 SOCKET s_new = accept(_serverSignalSocket, (struct sockaddr *)&addr, &addrLen); 392 bool Protocol::_acceptConnection(SOCKET s, unsigned int port) 402 SOCKET s_new = ATNetworkTool::Accept(s, addr, error); 501 SOCKET serverSocket = it->second[0]->GetListeningSocket() 518 SOCKET socket = it->second->GetSocket(); local [all...] |
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ |
| XSUB.h | 522 # define socket PerlSock_socket macro
|
| /onnv/onnv-gate/usr/src/uts/common/io/cardbus/ |
| cardbus.c | 575 cardbus_load_cardbus(dev_info_t *dip, uint_t socket, uint32_t pc_base) 585 _NOTE(ARGUNUSED(socket, pc_base)) 988 "cardbus_ctlops: PCCard socket %d at %s@%s\n", 2278 uint_t socket = 0; \/* We only support devices *\/ local 2314 uint_t socket = 0; \/* We only support devices with 1 socket per *\/ local [all...] |
| /onnv/onnv-gate/usr/src/cmd/pcmciad/ |
| pcmciad.c | 105 * on a per-socket work queue. A wakeup is given to the work thread 123 * of the socket and function number fields must match the 129 * The encoding of the socket number is: 135 * s - socket number bit 138 #define SOCKET(socket) ((socket) & (PCMCIA_MAX_SOCKETS - 1)) 139 #define FUNCTION(socket) (((socket) >> 16) & (PCMCIA_MAX_FUNCTIONS - 1)) 140 #define XSOCKET(socket, func) (((socket & (PCMCIA_MAX_SOCKETS - 1))) | 967 int socket = (int)socket_val; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/sys/ |
| socket.h | 62 * functions. Exposing all of sys/socket.h via netinet/in.h breaks existing 95 #define SOCK_STREAM NC_TPI_COTS /* stream socket */ 96 #define SOCK_DGRAM NC_TPI_CLTS /* datagram socket */ 99 #define SOCK_STREAM 2 /* stream socket */ 100 #define SOCK_DGRAM 1 /* datagram socket */ 107 * Option flags per-socket. 110 #define SO_ACCEPTCONN 0x0002 /* socket has had listen() */ 122 * Socket options are passed using a signed integer, but it is also rare 164 #define SO_TYPE 0x1008 /* get socket type */ 168 #define SO_DOMAIN 0x100c /* get socket domain * 485 #define socket macro [all...] |
| pcmcia.h | 60 #define PCMCIA_SOCKET_NODE "ddi_pcmcia:socket" 134 unsigned socket; member in struct:inthandler 155 short ppd_socket; /* socket number of this instance */ 157 int ppd_active; /* is PC Card in a socket and active */ 188 #define RESET_SOCKET(f, dip, socket, mode) \ 189 (*(f)->pcif_reset_socket)(dip, socket, mode) 192 #define SET_SOCKET(f, dip, socket) (*(f)->pcif_set_socket)(dip, socket) 247 #define PCS_CARD_PRESENT 0x0001 /* card in socket */ 249 #define PCS_SOCKET_ADDED 0x0004 /* CS knows about the socket */ 356 int socket; member in struct:init_dev [all...] |
| sservice.h | 70 * returns a la Socket Services 127 #define PCE_ADD_SOCKET 25 /* add a new socket */ 128 #define PCE_DROP_SOCKET 26 /* drop an existing socket */ 136 #define CS_EVENT(event, socket, arg) (*pcmcia_cs_event) (event, socket, arg) 138 /* values for "socket number" field for PCE_SS_INIT_STATE event */ 192 unsigned socket; /* socket number */ member in struct:get_socket 206 unsigned socket; /* socket number * member in struct:get_ss_status 238 unsigned socket; \/* socket this window is assigned to *\/ member in struct:get_window 301 unsigned socket; \/* socket number *\/ member in struct:inquire_socket 409 unsigned socket; \/* socket number *\/ member in struct:set_socket 427 unsigned socket; \/* associate with a socket for now *\/ member in struct:set_irq_handler 446 unsigned socket; member in struct:clear_irq_handler 455 unsigned socket; \/* socket number *\/ member in struct:set_window 499 unsigned socket; \/* socket number *\/ member in struct:get_cookies_and_dip_t 531 int socket; member in struct:pcm_make_dev [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/ |
| pcic.c | 31 * sets. It implements a subset of Socket Services as defined 349 static void pcic_enable_io_intr(pcicdev_t *pcic, int socket, int irq); 350 static void pcic_disable_io_intr(pcicdev_t *pcic, int socket); 357 static int pcic_exca_powerctl(pcicdev_t *pcic, int socket, int powerlevel); 358 static int pcic_cbus_powerctl(pcicdev_t *pcic, int socket); 637 /* poweroff socket */ 651 * structure which contains both the dip and socket services entry 1072 /* set flags and socket counts based on chip type */ 1078 /* we can only support 4 Socket version */ 1179 * basically check each possible socket fo 2736 int socket, pages, which, ret; local 3559 int which, socket, window; local 4227 int type, socket; local 4311 int socket, window; local 4463 int socket, win; local [all...] |