Searched defs:host (Results 1 - 18 of 18) sorted by relevance

/ast/src/lib/libast/comp/
H A Dsysloglib.h47 char host[64]; /* openlog host name */ member in struct:__anon255
/ast/src/cmd/mailx/
H A Dsmtp.c89 * send the message in fp to the SMTP server on host
97 sendsmtp(Sfio_t* fp, char* host, char** argv, off_t original) argument
115 sfsprintf(svc, sizeof(svc), "/dev/tcp/%s/inet.smtp", host);
227 if (sfprintf(sp, "From: <%s@%s>\n", state.var.user, host) < 0)
H A Dmisc.c289 * shorten host if it is part of the local domain
293 localize(char* host) argument
299 hx = strchr(host, '.');
304 if (!strcasecmp(lp, host)) {
313 return host;
319 return host;
424 * of "host-phrase."
H A Dspam.c175 register int host; local
198 if (host = *bp == '@' && (tp = strchr(ap, '@')))
213 if (!host || !(tp = strchr(ap, '.')))
264 note(0, "spam: host check `%s' `%s'", ap, bp);
629 note(0, "spam: unknown host name");
793 note(0, "spam: host ok#%d `%s' `%s'", __LINE__, local, s);
800 note(0, "spam: host ok#%d `%s' `%s'", __LINE__, local, s);
H A Dimap.c197 char* host; /* IMAP server host */ member in struct:__anon128
1511 if (!imap->host || !imap->user || !imap->meth)
1513 register char* host; local
1519 * get the host and authentication info from the imap file
1521 * <host> [ <user> [ <meth> [ <arg> ... ] ] ]
1526 while (host = sfgetr(fp, '\n', 1))
1528 for (; isspace(*host); host++);
1529 if (!*host || *hos
[all...]
/ast/src/cmd/INIT/
H A DWWW.mk144 * item ... :WWWBIN: index.mm file ... host:arch ...
147 * `host' of type `arch' for www.bin files
191 * :WWWPOST: [ host [ dir [ tmp ] ] ]
193 * post local $(WWWDIR) to host:dir putting archives in host:tmp/www-*.pax
194 * defaults: host=www dir=$(WWWDIR) tmp=tmp macro
198 local ( host dir tmp ignore ... ) $(>) www $(WWWDIR:B:S) tmp ignore
205 *) $$(>:C,.*,rcp & $(host):$(tmp)/$(dir)-&;,)
206 rsh $(host) '
/ast/src/lib/libast/uwin/
H A Drcmd.c124 2, "unknown host"));
126 fprintf(stderr, "%s: unknown host\n", *ahost);
410 /* enable all host for + entry */
418 /* disable all host for - entry */
428 /* disable host from -hostname entry */
432 /* disable host from -@netgroup entry for host */
444 /* enable host from +@netgroup entry for host */
509 char *host, *use local
541 char *host, *user, *domain; local
[all...]
/ast/src/cmd/std/
H A Dmount.c43 "[a:all?Operate on all filesystems in the filesystem table. The \b--host\b"
48 " names. A leading \b!\b inverts the match sense.]:[[!]]host,...]"
85 "[a:all?Operate on all filesystems in the filesystem table. The \b--host\b"
90 " names. A leading \b!\b inverts the match sense.]:[[!]]host,...]"
184 char* host; member in struct:__anon234
/ast/src/cmd/cs/
H A Dcs.c42 "[a:attribute?List the attribute \aname\a for each host. If \aname\a is \b-\b"
53 " standard output for the named \ahost\a operand or the local host if"
73 " standard input is read for host names, one per line.]"
82 "\n[ [ - ] host | path [ command ... ] ]\n"
87 " file provides information for a single host. The syntax is:"
88 " \ahost-name\a [ \aattribute\a=\avalue\a ... ]]. Attributes for the host"
91 " [+addr?The host IP address in dot notation.]"
92 " [+bias?The \bcoshell\b(1) multiplies the host load by \bbias\b"
93 " to prioritize host availability. \bbias\b > 1 makes"
94 " the host les
397 char* host; local
[all...]
/ast/src/cmd/cs/vcs_src/
H A Difs_agent.c185 char *host, *ptr, *pass; local
187 /* url format: "proto:/user:pass@host:port/remote-path" */
188 /* split proto & user:pass@host:port, and remote-path */
190 if( (host = strchr( proto, '/' )) == NULL || host[-1] != ':' ) {
193 host[-1] = '\0';
194 *host++ = '\0';
207 if( (ptr = strchr( host, '/' )) != NULL ) {
214 /* split "user:pass" & "host:port" */
215 if( (ptr = strchr( host, '
[all...]
H A Difs_agent.h70 char *host; member in struct:mount_item
H A Difs_ftp.c304 char host[ STRLEN ]; local
318 sfsprintf( host, sizeof(host), "%s.%s.%s.%s", arg[0], arg[1], arg[2], arg[3] );
320 return NetConnect( srv, host, port );
427 * create a connection to remote host,
447 if( (nFile = NetConnect( srv, mitem->host, port )) == NULL ) {
501 * get a file/directory from remote host
536 * put a file from local file system to remote host
H A Dvcs_rscs.h45 u_long host; member in struct:rno_t
/ast/src/lib/libcs/
H A Dcsopen.c27 * /dev/<type>/<host>/<service>[/<qualifier>][/<perm>][/#option][/#/path]
30 * host: open={<hostname>}, create={share,local}
46 * create the state->mount <type>/<host>/<service>/<perm> subdirs
109 remote(register Cs_t* state, const char* host, const char* user, const char* path, int agent, register char** av, register char* fv) argument
114 *av++ = (char*)host;
149 * initiate service named by path on state->host w/state->flags
171 sfsprintf(buf, sizeof(buf), "%s\n", state->host);
186 if (streq(state->host, CS_HOST_SHARE))
189 sfsprintf(buf, sizeof(buf), "%s\n%s\n%s\n", state->host, CS_HOST_SHARE, CS_HOST_LOCAL);
297 agent(register Cs_t* state, const char* host, cons argument
610 char* host; local
[all...]
H A Dcs.h63 #define CS_HOST_GATEWAY "ftp" /* local net gateway host */
64 #define CS_HOST_LOCAL "local" /* local host */
65 #define CS_HOST_PROXY "proxy" /* local net proxy host */
66 #define CS_HOST_SHARE "share" /* any local net host */
67 #define CS_HOST_UNKNOWN "unknown" /* unknown host */
75 #define CS_SVC_ACCESS "access" /* local host access */
79 #define CS_SVC_INFO "local" /* local host info */
137 #define CS_ADDR_LOCAL (1<<1) /* local host */
140 #define CS_ADDR_REMOTE (1<<4) /* remote host */
141 #define CS_ADDR_SHARE (1<<5) /* share host */
200 char host[CS_NAME_MAX];/* csaddr() real host */ member in struct:Cs_s
[all...]
/ast/src/lib/libast/include/
H A Dast.h143 char* host; member in struct:__anon264
/ast/src/cmd/3d/
H A Dvcs.c44 unsigned long host; member in struct:__anon19
/ast/src/cmd/ksh93/sh/
H A Dxec.c812 char *str,*trap,host[PATH_MAX]; local
832 if(gethostname(host,sizeof(host)) < 0)
835 sfprintf(sfstdout,"command exec < /dev/tcp/%s/%d || print -u2 'cannot create pipe'\n",host,shp->inpipe[2]);
836 sfprintf(sfstdout,"command exec > /dev/tcp/%s/%d || print -u2 'cannot create pipe'\n",host,shp->outpipe[2]);

Completed in 46 milliseconds