/ast/src/cmd/mailx/ |
H A D | Makefile | 12 :: port/cdt.h port/dthdr.h port/mime.h port/mimelib.h \ 13 port/dtclose.c port/dtdisc.c port/dtextract.c port/dtflatten.c \ 14 port/dthash.c port/dtlis [all...] |
/ast/src/lib/libcs/ |
H A D | csbind.c | 25 * internet address/port binding 35 portbind(register Cs_t* state, const char* type, unsigned long addr, unsigned int port) argument 47 if ((fd = udp_datagram(port)) < 0) 52 if ((fd = udp_connect(0, addr, port)) < 0) 64 tcp.fport = port; 69 state->port = tcp.lport; 102 state->port = port; 103 nam.sin_port = htons(port); 151 state->port 206 csbind(register Cs_t* state, const char* type, unsigned long addr, unsigned long port, unsigned long clone) argument 261 _cs_bind(const char* type, unsigned long addr, unsigned long port, unsigned long clone) argument [all...] |
H A D | csfrom.c | 47 addr->addr[1] = udp.port; 51 else messagef((state->id, NiL, -8, "from(%d,*,%d) = %d, data = `%-.*s', addr = %s, port = %u", fd, siz, n, n, buf, csntoa(state, udp.host), udp.port)); 73 messagef((state->id, NiL, -8, "from(%d,*,%d) = %d, data = `%-.*s', addr = %s, port = %u", fd, siz, n, n, buf, csntoa(state, (unsigned long)nam.sin_addr.s_addr), (unsigned long)nam.sin_port));
|
H A D | csport.c | 25 * return the port number given its name 33 * map <type,serv> to port number 61 return sp->port;
|
H A D | csto.c | 39 udp.port = addr->addr[1];
|
H A D | csopen.c | 288 state->port = tmp.port; 628 unsigned long port = 0; local 801 if (serv && !(op & CS_OPEN_CREATE) && *type == 't' && (port = csport(state, type, serv)) >= CS_PORT_MIN && port <= CS_PORT_MAX) 812 if ((fd = state->proxy.addr ? csbind(state, type, state->proxy.addr, state->proxy.port, 0L) : reopen(state, csvar(state, CS_VAR_PROXY, 0))) >= 0) 815 state->proxy.port = state->port; 816 n = sfsprintf(tmp, sizeof(tmp), "\n%s!%s!%d\n\n%s\n%s\n0\n-1\n-1\n", type, host, port, csname(state, 0), error_info.id ? error_info.id : state->id); 947 if (serv && !qual && *type != 'f' && (port [all...] |
H A D | cslib.h | 39 unsigned long port; member in struct:__anon337 46 Inet_t proxy; /* proxy inet addr.port */ \
|
H A D | msgsend.c | 48 if ((fd = csbind(&cs, "udp", msg->ack.addr, msg->ack.port, 0L)) < 0)
|
H A D | msguser.c | 67 unsigned long port; member in struct:__anon348 126 msg_ack.port = cs.port; 129 msgputu(&b, e, msg_ack.port);
|
H A D | cs.h | 54 #define CS_PORT_NORMAL 0x00000000 /* alloc normal port */ 55 #define CS_PORT_MIN 0x00000001 /* min real port */ 56 #define CS_PORT_MAX 0x0000ffff /* max real port */ 57 #define CS_PORT_INVALID 0xffffffff /* invalid port */ 58 #define CS_PORT_RESERVED 0xfffffffe /* alloc reserved port */ 193 unsigned long port; /* port from csbind() */ member in struct:Cs_s
|
/ast/src/cmd/INIT/ |
H A D | hurl.sh | 100 port=${host##*:} 103 *) port=80 106 test 0 != $verbose && echo "$command: prot=$prot host=$host port=$port path=$path" >&2 109 eval "exec 8<> /dev/tcp/\$host/$port" 2>/dev/null 110 then test 0 != $verbose && echo "$command: using /dev/tcp/$host/$port" >&2 201 else echo "$command: $url: { /dev/tcp/$host/$port wget curl } failed" >&2
|
/ast/src/cmd/cs/vcs_src/ |
H A D | ifs_gopher.c | 41 int port, len; local 43 if( (port = mitem->port) <= 0 ) 44 port = 70; 45 if( (nFile = NetConnect( srv, mitem->host, port )) == NULL ) {
|
H A D | ifs_http.c | 113 int port, len, ans = -1; local 115 if( (port = mitem->port) <= 0 ) 116 port = 80; 121 if( (nFile = NetConnect( srv, mitem->host, port )) == NULL ) {
|
H A D | ifs_news.c | 216 int port; local 226 port = (mitem->port ? mitem->port : 119); 227 if( (nFile = NetConnect( srv, mitem->host, port )) == NULL )
|
H A D | ifs_ftp.c | 306 int port; local 319 port = (int)strtol( arg[4], (char**)0, 0 ) * 256 + (int)strtol( arg[5], (char**)0, 0 ); 320 return NetConnect( srv, host, port ); 437 int port; local 446 port = (mitem->port ? mitem->port : 21); 447 if( (nFile = NetConnect( srv, mitem->host, port )) == NULL ) {
|
H A D | ifs_agent.h | 71 int port; member in struct:mount_item
|
H A D | ifs_network.c | 231 * make a socket connection to host:port. 235 NetConnect( srv, host, port ) 238 int port; 251 host, port, csname(0) ); 267 if( (fd = csbind( "tcp", addr, port, 0 )) < 0 )
|
H A D | ifs_agent.c | 187 /* url format: "proto:/user:pass@host:port/remote-path" */ 188 /* split proto & user:pass@host:port, and remote-path */ 214 /* split "user:pass" & "host:port" */ 226 /* parse the host & port number */ 229 mi->port = (int)strtol(ptr, (char**)0, 0); 403 buf += sfsprintf( buf, end - buf, mi->port ? "%s:%d" : "%s", mi->host, mi->port ); 578 * url format: protocol:/user:passwd@host:port/remote-path
|
/ast/src/lib/libardir/ |
H A D | Makefile | 7 ar-pdp11.c ar-port.c ar-s5r0.c
|
/ast/src/lib/libcmd/ |
H A D | fds.c | 179 int port; local 326 port = 0; 329 port = ntohs(addr.sin_port); 335 port = ntohs(addr.sin_port); 345 if (port) 346 sfprintf(sp, "%02d %s%s %s /dev/%s/%s/%d\n", i, m, x, fmtmode(st.st_mode, 0), s, a, port);
|
/ast/src/cmd/3d/ |
H A D | fork3d.c | 42 long port; local 73 port = strtol(b, &b, 0); 75 fd = csbind(&cs, type, addr, port, clone);
|
/ast/src/lib/libtksh/tcl/ |
H A D | tclUnixChan.c | 94 int port, char *host, int server, 98 char *host, int port)); 1971 CreateSocket(interp, port, host, server, myaddr, myport, async) 1973 int port; /* Port number to open. */ 1974 char *host; /* Name of host on which to open port. 1979 int myport; /* Optional client-side port */ 1991 if (! CreateSocketAddress(&sockaddr, host, port)) { 2023 * specified port. 2121 * This function initializes a sockaddr structure for a host and port. 2134 CreateSocketAddress(sockaddrPtr, host, port) [all...] |
H A D | tclIOCmd.c | 37 Tcl_Channel chan, char *address, int port)); 1271 AcceptCallbackProc(callbackData, chan, address, port) 1279 int port; /* Port of client that was accepted. */ 1303 sprintf(portBuf, "%d", port); 1388 int a, server, port; 1475 " ?-myaddr addr? ?-myport myport? ?-async? host port\n", 1477 " -server command ?-myaddr addr? port", 1483 if (TclSockGetPort(interp, argv[a], "tcp", &port) != TCL_OK) { 1497 chan = Tcl_OpenTcpServer(interp, port, host, AcceptCallbackProc, 1523 chan = Tcl_OpenTcpClient(interp, port, hos [all...] |
/ast/src/cmd/cs/ |
H A D | cs.c | 69 " port number, and the service base name appears as a symbolic link" 190 char* port; local 275 if (pathgetlink(p, port_buf, sizeof(port_buf)) > 0 && (port = strrchr(port_buf, '/'))) 276 port++; 278 port = ""; 286 sfprintf(sfstdout, "%c%s 1 %-8s %-8s %7s %s %s%s%s\n", label[0][0], fmtmode(mode, 0) + 1, fmtuid(st.st_uid), (mode & S_IROTH) ? "other" : fmtgid(ftw->statb.st_gid), port, time_buf, label[2], qual_buf, proc);
|
/ast/src/lib/libvcodex/ |
H A D | vcmethod.c | 177 char *port, *ident, buf1[1024], buf2[1024]; local 189 if(!(port = portable ? name : vcstrcode(name, buf1, sizeof(buf1)))) 196 if(strcmp(port, ident) == 0)
|