| /f-stack/tools/compat/ |
| H A D | getaddrinfo.c | 45 getaddrinfo(const char *hostname, const char *servername, in getaddrinfo() argument 48 if (hostname == NULL) in getaddrinfo() 72 if (inet_pton(AF_INET, hostname, &si->sin_addr.s_addr) != 1) { in getaddrinfo()
|
| /f-stack/tools/libxo/libxo/ |
| H A D | xo_syslog.c | 587 char hostname[HOST_NAME_MAX]; in xo_vsyslog() local 588 hostname[0] = '\0'; in xo_vsyslog() 590 strcpy(hostname, "worker-host"); in xo_vsyslog() 592 (void) gethostname(hostname, sizeof(hostname)); in xo_vsyslog() 595 hostname[0] ? hostname : "-"); in xo_vsyslog()
|
| /f-stack/app/redis-5.0.5/deps/hiredis/examples/ |
| H A D | example.c | 11 const char *hostname = (argc > 1) ? argv[1] : "127.0.0.1"; in main() local 15 c = redisConnectWithTimeout(hostname, port, timeout); in main()
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_cycle.c | 55 char hostname[NGX_MAXHOSTNAMELEN]; in ngx_init_cycle() local 196 if (gethostname(hostname, NGX_MAXHOSTNAMELEN) == -1) { in ngx_init_cycle() 204 hostname[NGX_MAXHOSTNAMELEN - 1] = '\0'; in ngx_init_cycle() 205 cycle->hostname.len = ngx_strlen(hostname); in ngx_init_cycle() 207 cycle->hostname.data = ngx_pnalloc(pool, cycle->hostname.len); in ngx_init_cycle() 208 if (cycle->hostname.data == NULL) { in ngx_init_cycle() 213 ngx_strlow(cycle->hostname.data, (u_char *) hostname, cycle->hostname.len); in ngx_init_cycle()
|
| H A D | ngx_cycle.h | 83 ngx_str_t hostname; member
|
| H A D | ngx_syslog.c | 246 &ngx_cycle->hostname, &peer->tag); in ngx_syslog_add_header()
|
| /f-stack/tools/ |
| H A D | README.md | 235 usage: arp -p <f-stack proc_id> [-n] [-i interface] hostname 237 arp -p <f-stack proc_id> -d hostname [pub] 239 arp -p <f-stack proc_id> -s hostname ether_addr [temp] [reject | blackhole] [pub [only]] 240 arp -p <f-stack proc_id> -S hostname ether_addr [temp] [reject | blackhole] [pub [only]] 281 ndp -C <f-stack proc_id> [-nt] hostname 284 ndp -C <f-stack proc_id> [-nt] -d hostname
|
| /f-stack/freebsd/contrib/openzfs/contrib/initramfs/hooks/ |
| H A D | zfs.in | 87 hostname >"$DESTDIR/etc/hostname"
|
| /f-stack/freebsd/sys/ |
| H A D | kerneldump.h | 100 char hostname[64]; member
|
| H A D | jail.h | 39 char *hostname; member 47 char *hostname; member
|
| /f-stack/freebsd/kern/ |
| H A D | kern_xxx.c | 61 return (userland_sysctl(td, name, 2, uap->hostname, &len, in ogethostname() 72 return (userland_sysctl(td, name, 2, 0, 0, 0, uap->hostname, in osethostname()
|
| H A D | kern_sig.c | 3607 char *hostname, *name; in corefile_open() local 3610 hostname = NULL; in corefile_open() 3627 if (hostname == NULL) { in corefile_open() 3628 hostname = malloc(MAXHOSTNAMELEN, in corefile_open() 3631 getcredhostname(td->td_ucred, hostname, in corefile_open() 3633 sbuf_printf(&sb, "%s", hostname); in corefile_open() 3670 free(hostname, M_TEMP); in corefile_open()
|
| H A D | kern_shutdown.c | 1738 strlcpy(kdh->hostname, prison0.pr_hostname, sizeof(kdh->hostname)); in dump_init_header()
|
| H A D | kern_mib.c | 385 SYSCTL_PROC(_kern, KERN_HOSTNAME, hostname,
|
| H A D | kern_jail.c | 296 j.hostname = j0.hostname; in sys_jail() 423 error = copyinstr(j->hostname, u_hostname, MAXHOSTNAMELEN, in kern_jail() 4001 SYSCTL_JAIL_PARAM_STRING(_host, hostname, CTLFLAG_RW, MAXHOSTNAMELEN,
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/include/ |
| H A D | commands.cfg | 48 hostname
|
| /f-stack/freebsd/contrib/openzfs/lib/libzutil/ |
| H A D | zutil_import.c | 465 char *name, *hostname = NULL; in get_configs() local 589 hostname = fnvlist_lookup_string(tmp, in get_configs() 592 ZPOOL_CONFIG_HOSTNAME, hostname); in get_configs() 839 hostname) == 0); in get_configs()
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/history/ |
| H A D | history_common.kshlib | 107 typeset hname=$(hostname)
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/perf/ |
| H A D | perf.shlib | 456 echo " \"hostname\": \"$(uname -n)\"," >>$config 465 echo " \"hostname\": \"$(uname -n)\"," >>$config
|
| /f-stack/app/nginx-1.16.1/src/stream/ |
| H A D | ngx_stream_variables.c | 770 v->len = ngx_cycle->hostname.len; in ngx_stream_variable_hostname() 774 v->data = ngx_cycle->hostname.data; in ngx_stream_variable_hostname()
|
| /f-stack/app/nginx-1.16.1/src/mail/ |
| H A D | ngx_mail_core_module.c | 202 conf->server_name = cf->cycle->hostname; in ngx_mail_core_merge_srv_conf()
|
| /f-stack/freebsd/contrib/openzfs/contrib/bash_completion.d/ |
| H A D | zfs | 32 # Disable bash's built-in hostname completion, as this makes it impossible to
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | sentinel.c | 539 sentinelAddr *createSentinelAddr(char *hostname, int port) { in createSentinelAddr() argument 547 if (anetResolve(NULL,hostname,ip,sizeof(ip)) == ANET_ERR) { in createSentinelAddr() 1168 sentinelRedisInstance *createSentinelRedisInstance(char *name, int flags, char *hostname, int port,… in createSentinelRedisInstance() argument 1178 addr = createSentinelAddr(hostname,port); in createSentinelRedisInstance() 1183 anetFormatAddr(slavename, sizeof(slavename), hostname, port); in createSentinelRedisInstance()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_main.c | 2598 char *hostname = "unknown"; in show_import() local 2870 hostname = fnvlist_lookup_string(nvinfo, in show_import() 2879 "can be safely imported.\n"), hostname, in show_import() 2995 char *hostname = "<unknown>"; in do_import() local 2999 hostname = fnvlist_lookup_string(nvinfo, in do_import() 3010 name, hostname, (unsigned long) hostid); in do_import() 3017 char *hostname = "<unknown>"; in do_import() local 3022 hostname = fnvlist_lookup_string(config, in do_import() 3037 "to import the pool.\n"), name, hostname, in do_import()
|
| /f-stack/tools/libxo/doc/ |
| H A D | howto.rst | 393 xo_emit("{G:dns}Host {:hostname} not found: "
|