/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 | cslib.h | 39 unsigned long port; member in struct:__anon337 46 Inet_t proxy; /* proxy inet addr.port */ \
|
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 | 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 | msg.h | 178 unsigned long port; member in struct:__anon345::__anon346
|
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/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/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_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_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_agent.h | 71 int port; member in struct:mount_item
|
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 ) {
|
/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/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)
|
/ast/src/cmd/ksh93/sh/ |
H A D | io.c | 952 int r,port=20000; local 960 sin.sin_port = htons(++port); 973 pv[2] = port;
|
/ast/src/cmd/nmake/ |
H A D | make.h | 764 unsigned char port; /* emit porting hints */ member in struct:Mam_s
|