| /src/external/mit/libuv/dist/docs/code/multi-echo-server/ |
| hammer.js | 1 var net = require('net'); variable 10 var socket = net.connect(7000, 'localhost', function() {
|
| /src/lib/libc/compat/net/ |
| compat_ns_ntoa.c | 54 union { union ns_net net_e; uint32_t long_e; } net; local 61 net.net_e = addr.x_net; 62 sprintf(obuf, "%x", ntohl(net.long_e));
|
| /src/lib/libc/net/ |
| getnetent.c | 70 static struct netent net; variable in typeref:struct:netent 125 net.__n_pad0 = 0; 137 net.n_name = p; 147 net.n_net = inet_network(cp); 148 net.n_addrtype = AF_INET; 149 q = net.n_aliases = net_aliases; 165 return (&net);
|
| /src/crypto/external/apache2/openssl/lib/libdes/ |
| oenc_read.c | 91 static unsigned char *net=NULL; local 108 if (net == NULL) 110 net=OPENSSL_malloc(BSIZE); 111 if (net == NULL) return(-1); 149 i=read(fd,(void *)&(net[net_num]),HDRSIZE-net_num); 157 /* we now have at net_num bytes in net */ 158 p=net; 162 * we make sure that we have read a multiple of 8 bytes from the net. 171 i=read(fd,(void *)&(net[net_num]),rnum-net_num); 183 des_pcbc_encrypt(net,unnet,num,sched,iv,DES_DECRYPT) [all...] |
| /src/crypto/external/bsd/openssl/lib/libdes/ |
| oenc_read.c | 91 static unsigned char *net=NULL; local 108 if (net == NULL) 110 net=OPENSSL_malloc(BSIZE); 111 if (net == NULL) return(-1); 149 i=read(fd,(void *)&(net[net_num]),HDRSIZE-net_num); 157 /* we now have at net_num bytes in net */ 158 p=net; 162 * we make sure that we have read a multiple of 8 bytes from the net. 171 i=read(fd,(void *)&(net[net_num]),rnum-net_num); 183 des_pcbc_encrypt(net,unnet,num,sched,iv,DES_DECRYPT) [all...] |
| /src/crypto/external/bsd/openssl.old/lib/libdes/ |
| oenc_read.c | 91 static unsigned char *net=NULL; local 108 if (net == NULL) 110 net=OPENSSL_malloc(BSIZE); 111 if (net == NULL) return(-1); 149 i=read(fd,(void *)&(net[net_num]),HDRSIZE-net_num); 157 /* we now have at net_num bytes in net */ 158 p=net; 162 * we make sure that we have read a multiple of 8 bytes from the net. 171 i=read(fd,(void *)&(net[net_num]),rnum-net_num); 183 des_pcbc_encrypt(net,unnet,num,sched,iv,DES_DECRYPT) [all...] |
| /src/external/bsd/unbound/dist/iterator/ |
| iter_donotq.c | 78 socklen_t addrlen, int net) 84 if(!addr_tree_insert(&dq->tree, node, addr, addrlen, net)) { 95 int net; local 98 if(!netblockstrtoaddr(str, UNBOUND_DNS_PORT, &addr, &addrlen, &net)) { 102 if(!donotq_insert(dq, &addr, addrlen, net)) {
|
| iter_priv.c | 84 int net; local 90 &addrlen, &net)) { 100 if(!addr_tree_insert(&priv->a, n, &addr, addrlen, net)) {
|
| /src/external/bsd/unbound/dist/util/storage/ |
| dnstree.h | 87 int net; member in struct:addr_tree_node 170 * @param net: size of subnet. 174 struct sockaddr_storage* addr, socklen_t addrlen, int net); 205 * @param net: size of subnet 209 struct sockaddr_storage* addr, socklen_t addrlen, int net);
|
| /src/sys/arch/i386/stand/efiboot/ |
| efipxe.c | 33 EFI_SIMPLE_NETWORK *net; member in struct:efipxeinfo 47 EFI_SIMPLE_NETWORK *net; local 82 &SimpleNetworkProtocol, (void **)&net); 86 if (net->Mode == NULL) 91 if (net->Mode->HwAddressSize == epi->addrsz && 92 memcmp(net->Mode->CurrentAddress.Addr, epi->mac.Addr, 93 net->Mode->HwAddressSize) == 0) { 107 epi->net = net; 108 epi->addrsz = net->Mode->HwAddressSize [all...] |
| /src/sys/stand/efiboot/ |
| efipxe.c | 33 EFI_SIMPLE_NETWORK *net; member in struct:efipxeinfo 47 EFI_SIMPLE_NETWORK *net; local 82 &SimpleNetworkProtocol, (void **)&net); 86 if (net->Mode == NULL) 91 if (net->Mode->HwAddressSize == epi->addrsz && 92 memcmp(net->Mode->CurrentAddress.Addr, epi->mac.Addr, 93 net->Mode->HwAddressSize) == 0) { 107 epi->net = net; 108 epi->addrsz = net->Mode->HwAddressSize [all...] |
| /src/sys/arch/ia64/stand/efi/libefi/ |
| efinet.c | 36 #include <lib/libsa/net.h> 56 "net", /* netif_bname */ 119 EFI_SIMPLE_NETWORK *net; local 123 net = nif->nif_devdata; 125 status = net->Transmit(net, 0, len, pkt, 0, 0, 0); 132 status = net->GetStatus(net, 0, &buf); 148 EFI_SIMPLE_NETWORK *net; local 154 net = nif->nif_devdata 183 EFI_SIMPLE_NETWORK *net; local 276 EFI_SIMPLE_NETWORK *net = nif->nif_devdata; local [all...] |
| /src/sys/netatalk/ |
| ddp_output.c | 40 #include <net/if.h> 41 #include <net/route.h> 42 #include <net/if_ether.h> 124 uint16_t net; local 132 net = satosat(rt->rt_gateway)->sat_addr.s_net; 135 if (ntohs(net) >= ntohs(aa->aa_firstnet) && 136 ntohs(net) <= ntohs(aa->aa_lastnet)) {
|
| at_control.c | 44 #include <net/if.h> 45 #include <net/route.h> 46 #include <net/if_ether.h> 389 u_short net; local 421 * that phase 1 probes use only nodes, not net.node pairs. Under 422 * phase 2, both the net and node must be the same. 441 * We will probe this address on the net first, before 444 * in this net and then increment the net. etc.etc. until 452 * If we are phase 2, and the net was no [all...] |
| /src/usr.bin/rump_dhcpclient/ |
| net.h | 35 #include <net/if.h> 83 struct in_addr net; member in struct:rt 115 #define add_address(iface, addr, net, brd) \ 116 if_address(iface, addr, net, brd, 1) 117 #define del_address(iface, addr, net) \ 118 if_address(iface, addr, net, NULL, -1) 119 #define has_address(iface, addr, net) \ 120 do_address(iface, addr, net, NULL, 0) 121 #define get_address(iface, addr, net, dst) \ 122 do_address(iface, addr, net, dst, 1 [all...] |
| configure.c | 48 #include "net.h" 77 rt->net.s_addr == r->net.s_addr) 93 addr, inet_ntocidr(rt->net)); 95 rt->net.s_addr == INADDR_BROADCAST) 98 else if (rt->dest.s_addr == INADDR_ANY && rt->net.s_addr == INADDR_ANY) 103 addr, inet_ntocidr(rt->net), inet_ntoa(rt->gate)); 130 rt->net.s_addr == 0 && 135 if (!add_route(iface, &rt->dest, &rt->net, &rt->gate, iface->metric)) 139 if (rt->dest.s_addr == (iface->addr.s_addr & iface->net.s_addr) & 188 struct in_addr net; local [all...] |
| /src/external/bsd/libbind/dist/irs/ |
| irp_nw.c | 67 struct nwent net; member in struct:pvt 131 free_nw(&pvt->net); 138 * struct nwent * nw_byaddr(struct irs_nw *this, void *net, 144 nw_byaddr(struct irs_nw *this, void *net, int length, int type) { 146 struct nwent *nw = &pvt->net; 153 if (inet_net_ntop(type, net, length, paddr, sizeof paddr) == NULL) { 195 struct nwent *nw = &pvt->net; 273 struct nwent *nw = &pvt->net;
|
| /src/external/bsd/unbound/dist/edns-subnet/ |
| subnet-whitelist.c | 84 struct sockaddr_storage* addr, socklen_t addrlen, int net) 90 if(!addr_tree_insert(&whitelist->upstream, node, addr, addrlen, net)) { 102 int net; local 105 if(!netblockstrtoaddr(str, UNBOUND_DNS_PORT, &addr, &addrlen, &net)) { 109 if(!upstream_insert(whitelist, &addr, addrlen, net)) {
|
| /src/external/bsd/unbound/dist/util/ |
| tcp_conn_limit.c | 88 socklen_t addrlen, int net, uint32_t limit, 97 if(!addr_tree_insert(&tcl->tree, &node->node, addr, addrlen, net)) { 110 int net; local 118 if(!netblockstrtoaddr(str, UNBOUND_DNS_PORT, &addr, &addrlen, &net)) { 122 if(!tcl_list_insert(tcl, &addr, addrlen, net, limit,
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/bits/ |
| net.h | 25 /** @file experimental/bits/net.h 27 * Do not attempt to use it directly. @headername{experimental/net} 50 namespace net namespace in namespace:experimental 339 } // namespace net
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/bits/ |
| net.h | 25 /** @file experimental/bits/net.h 27 * Do not attempt to use it directly. @headername{experimental/net} 50 namespace net namespace in namespace:experimental 339 } // namespace net
|
| /src/games/sail/ |
| misc.c | 202 float net; local 215 net = (float)s->file->points / s->specs->pts; 227 if (net > (float)lp->l_netpoints
|
| /src/libexec/telnetd/ |
| global.c | 88 int pty, net; variable
|
| /src/usr.bin/getnameinfo/ |
| getnameinfo.c | 45 #include <net/if_dl.h> 259 int net, node, port; local 261 if (sscanf(address, "%d:%d:%d", &net, &node, &port) != 3) 264 if (net < 0 || net > 0xFFFF || node < 0 || node > 0xFF || 268 addr_at->sat_addr.s_net = htons((u_short)net);
|
| /src/usr.bin/telnet/ |
| sys_bsd.c | 74 net; variable 534 ioctl(net, FIONBIO, &one); 535 if (setsockopt(net, SOL_SOCKET, SO_OOBINLINE, &one, sizeof(one)) == -1) { 565 set[0].fd = net; 605 c = recv(net, (char *)netiring.supply, canread, 0); 639 shutdown(net, 1);
|