/src/usr.sbin/lpr/common_source/ |
common_vars.c | 47 char host[MAXHOSTNAMELEN+1]; /* host machine name */ variable in typeref:typename:char[] 48 char *from = host; /* client's machine name */
|
/src/sys/arch/mips/sibyte/pci/ |
sbpcihb.c | 37 * Driver for SB-1250 PCI Host Bridge. 82 bool host; local in function:sbpcihb_attach 84 /* Tell the user whether it's host or device mode. */ 86 host = (regval & M_SYS_PCI_HOST) != 0; 88 aprint_normal(": %s mode\n", host ? "host" : "device");
|
sbbrz.c | 174 bool host; local in function:sbbrz_attach 176 /* Tell the user whether it's host or device mode. */ 178 host = (regval & M_SYS_PCI_HOST) != 0; 180 aprint_normal(": %s pci mode\n", host ? "host" : "device");
|
sbbrz_pci.c | 143 int host; local in function:sbbrz_pci_bus_maxdevs 149 /* If the PCI on the 1250, 32 devices if host mode, otherwise only 2. */ 151 host = (regval & M_SYS_PCI_HOST) != 0; 153 return (host ? 32 : 2);
|
/src/tests/lib/libc/gen/ |
t_sethostname.c | 41 static char host[MAXHOSTNAMELEN]; variable in typeref:typename:char[] 71 (void)sethostname(host, sizeof(host)); 76 (void)sethostname(host, sizeof(host)); 82 atf_tc_set_md_var(tc, "descr", "Too long host name errors out?"); 97 (void)sethostname(host, sizeof(host)); 103 atf_tc_set_md_var(tc, "descr", "Can normal user set the host name?"); 112 ATF_REQUIRE_ERRNO(EPERM, sethostname(host, sizeof(host)) == -1) [all...] |
/src/tools/llvm-clang/ |
Makefile | 7 .include "${.CURDIR}/../Makefile.host" 9 install.host: ${HOST_BINDIR}/${MACHINE_GNU_PLATFORM}-clang++ 10 install.host: ${HOST_BINDIR}/${MACHINE_GNU_PLATFORM}-clang-cpp
|
/src/usr.bin/innetgr/ |
innetgr.c | 45 "usage: %s [-v] [-d domain] [-h host] [-u user] netgroup\n", 55 char *host = NULL; local in function:main 64 host = optarg; 80 ok = innetgr(argv[optind], host, user, domain);
|
/src/tools/host-mkdep/ |
Makefile | 5 HOSTPROG= host-mkdep 6 HOSTPROGNAME= ${_TOOL_PREFIX}host-mkdep 11 CLEANFILES+= config.cache config.log config.status host-mkdep 17 # available at the time that host-mkdep is built. The configure script 27 realall: host-mkdep 28 host-mkdep: configure host-mkdep.in 37 # Install rule, copied from src/tools/Makefile.host. 38 # We can't include Makefile.host because there is no HOST_SRCDIR 39 # corresponding to host-mkdep [all...] |
/src/lib/libwrap/ |
eval.c | 4 * Routines for controlled evaluation of host names, user names, and so on. 44 * host name has the value STRING_PARANOID it means there was a name/address 66 eval_hostaddr(struct host_info *host) 68 if (host->addr[0] == 0) { 69 (void)strlcpy(host->addr, unknown, sizeof(host->addr)); 70 if (host->request->hostaddr != 0) 71 host->request->hostaddr(host); 73 return (host->addr) 134 char *host = eval_hostinfo(request->server); local in function:eval_server [all...] |
/src/libexec/rexecd/unit-tests/ |
rexec.c | 50 char *host = __UNCONST("localhost"); local in function:main 59 host = optarg; 77 if ((s = rexec(&host, sv->s_port, user, pass, cmd, NULL)) == -1)
|
/src/sbin/mount_portal/ |
pt_tcp.c | 59 * Key will be tcp/host/port[/"priv"] 61 * requested host and port. 68 char host[MAXHOSTNAMELEN]; local in function:portal_tcp 78 if (q == 0 || (size_t)(q - p) >= sizeof(host)) 81 if (strlcpy(host, p, sizeof(host)) >= sizeof(host)) 106 if (getaddrinfo(host, port, &hints, &res) != 0)
|
/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_dsi.c | 89 struct intel_dsi_host *host; local in function:intel_dsi_host_init 92 host = kzalloc(sizeof(*host), GFP_KERNEL); 93 if (!host) 96 host->base.ops = funcs; 97 host->intel_dsi = intel_dsi; 98 host->port = port; 101 * We should call mipi_dsi_host_register(&host->base) here, but we don't 102 * have a host->dev, and we don't have OF stuff either. So just use the 109 kfree(host); [all...] |
/src/usr.bin/finger/ |
net.c | 72 char *host; local in function:netfinger 78 if (!(host = strrchr(name, '@'))) 80 *host++ = '\0'; 85 error = getaddrinfo(host, "finger", &hints, &res0); 87 warnx("%s: %s", gai_strerror(error), host); 114 /* have network connection; identify the host connected with */ 115 (void)printf("[%s]\n", res0->ai_canonname ? res0->ai_canonname : host);
|
/src/usr.bin/who/ |
utmpentry.h | 50 char host[WHO_HOST_LEN + 1]; member in struct:utmpentry
|
/src/usr.sbin/ldpd/ |
label.h | 54 bool host; /* change routes using RTF_HOST */ member in struct:label
|
/src/tools/libctf/ |
Makefile | 58 realinstall: install.host 59 install.host: ${TOOLDIR}/lib/libctf.a
|
/src/tools/libmopcopy/ |
Makefile | 34 realinstall: install.host 35 install.host: ${TOOLDIR}/lib/libmopcopy.a
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/ |
vmm.h | 29 bool host:1; member in struct:nvif_vmm::__anon83732cfb0108
|
/src/tests/lib/libc/net/getaddrinfo/ |
h_gai.c | 47 char host[NI_MAXHOST]; variable in typeref:typename:char[] 58 fprintf(stderr, "usage: test [-f family] [-s socktype] [-p proto] [-DPRSv46] host serv\n"); 70 host, sizeof(host), serv, sizeof(serv), 72 h = host;
|
/src/usr.sbin/tcpdrop/ |
tcpdrop.c | 71 char host[NI_MAXHOST]; member in struct:hpinfo 76 egetaddrinfo(const char *host, const char *serv) 85 if ((gaierr = getaddrinfo(host, serv, &hints, &ai)) != 0) 86 errx(1, "%s port %s: %s", host, serv, gai_strerror(gaierr)); 96 hp->host, sizeof(hp->host), hp->serv, sizeof(hp->serv), 158 lhp.host, lhp.serv, fhp.host, fhp.serv); 161 lhp.host, lhp.serv, fhp.host, fhp.serv) [all...] |
/src/usr.sbin/ypserv/revnetgroup/ |
revnetgroup.c | 88 char *line, *p, *host, *user, *domain; local in function:main 158 while (rng_getnetgrent(&host, &user, &domain) != 0) { 160 if (!(host && !strcmp(host,"-"))) { 162 host ? host : "*",
|
/src/dist/pf/sbin/pfctl/ |
pf_print_state.c | 124 char host[NI_MAXHOST]; local in function:print_name 126 strlcpy(host, "?", sizeof(host)); 136 host, sizeof(host), NULL, 0, NI_NOFQDN); 147 host, sizeof(host), NULL, 0, NI_NOFQDN); 151 printf("%s", host);
|
/src/lib/libc/rpc/ |
clnt_simple.c | 84 char host[MAXHOSTNAMELEN]; /* Servers host */ member in struct:rpc_call_private 118 * the future calls to same prog, vers, host and nettype combination. 124 const char * host, /* host name */ 138 _DIAGASSERT(host != NULL); 171 (!strcmp(rcp->host, host)) && 181 rcp->client = clnt_create(host, prognum, versnum, nettype); 199 if ((strlen(host) < (size_t)MAXHOSTNAMELEN) & [all...] |
/src/lib/libquota/ |
quota_nfs.c | 96 callaurpc(const char *host, rpcprog_t prognum, rpcvers_t versnum, 107 if ((hp = gethostbyname(host)) == NULL) 136 char *host, *path; local in function:__quota_nfs_get 169 host = strsep(&path, ":"); 171 free(host); 179 ret = callaurpc(host, RQUOTAPROG, EXT_RQUOTAVERS, 187 ret = callaurpc(host, RQUOTAPROG, RQUOTAVERS, 192 free(host); 201 * but querying an NFS mount from the host. Make sure
|
/src/sys/arch/alpha/stand/setnetbootinfo/ |
setnetbootinfo.c | 51 char *netboot, *outfile, *addr, *host; variable in typeref:typename:char **** 63 fprintf(stderr, "\t [-a ether-address | -h ether-host] infile\n"); 88 /* use the argument as a host to find in /etc/ethers */ 89 host = optarg; 112 if (unset && (force || host != NULL || addr != NULL)) 116 if (force || host != NULL || addr != NULL) 121 if ((host == NULL && addr == NULL) || 122 (host != NULL && addr != NULL)) 125 if (host != NULL) { 126 if (ether_hostton(host, &_ether_addr) == -1 [all...] |