Home
last modified time | relevance | path

Searched refs:hostn (Results 1 – 25 of 86) sorted by relevance

1234

/dports/net/hping/hping2-rc3/
H A Dlogicmp.c28 char *hostn; in log_icmp_timeexc() local
31 hostn = get_hostname(src_addr); in log_icmp_timeexc()
32 printf("name=%s", (hostn) ? hostn : "UNKNOWN"); in log_icmp_timeexc()
65 char *hostn; in log_icmp_unreach() local
68 hostn = get_hostname(src_addr); in log_icmp_unreach()
69 printf("name=%s", (hostn) ? hostn : "UNKNOWN"); in log_icmp_unreach()
/dports/net/hping3/hping3-20051105/
H A Dlogicmp.c30 char *hostn; in log_icmp_timeexc() local
33 hostn = get_hostname(src_addr); in log_icmp_timeexc()
34 printf("name=%s", (hostn) ? hostn : "UNKNOWN"); in log_icmp_timeexc()
67 char *hostn; in log_icmp_unreach() local
70 hostn = get_hostname(src_addr); in log_icmp_unreach()
71 printf("name=%s", (hostn) ? hostn : "UNKNOWN"); in log_icmp_unreach()
/dports/net/nbd-server/nbd-3.23/tests/parse/
H A Dparser.c14 .hostn = "localhost",
20 .hostn = "localhost",
27 .hostn = "localhost",
35 .hostn = "2a01:4f8:200:91e8::2",
52 void nbdtab_commit_line(char *devn, char *hostn, char *exportname) { in nbdtab_commit_line() argument
53 printf("finishing line with device %s, hostname %s, exportname %s\n", devn, hostn, exportname); in nbdtab_commit_line()
55 assert(strcmp(cur_client->hostn, hostn) == 0); in nbdtab_commit_line()
/dports/irc/evangeline/evangeline-msa/modules/dns.mod/
H A Ddns.c50 debug2("DNS resolved %s to %s", iptostr(rp->ip), rp->hostn); in dns_event_success()
51 call_hostbyip(ntohl(rp->ip), rp->hostn, 1); in dns_event_success()
53 debug2("DNS resolved %s to %s", rp->hostn, iptostr(rp->ip)); in dns_event_success()
54 call_ipbyhost(rp->hostn, ntohl(rp->ip), 1); in dns_event_success()
70 debug1("DNS resolve failed for %s", rp->hostn); in dns_event_failure()
71 call_ipbyhost(rp->hostn, 0, 0); in dns_event_failure()
74 nonull(rp->hostn)); in dns_event_failure()
130 if (rp->hostn) in dns_free_cache()
131 nfree(rp->hostn); in dns_free_cache()
144 if (rp->hostn) in dns_cache_expmem()
[all …]
H A Dcoredns.c332 (EvangelineStrcasecmp(addrp->hostn, rp->nexthost->hostn) < 0)) in linkresolvehost()
335 (EvangelineStrcasecmp(addrp->hostn, rp->previoushost->hostn) > 0)) in linkresolvehost()
337 ret = EvangelineStrcasecmp(addrp->hostn, rp->hostn); in linkresolvehost()
374 nfree(rp->hostn); in unlinkresolvehost()
482 if (rp->hostn) in unlinkresolve()
517 bashnum = gethostbash(hostn); in findhost()
521 (EvangelineStrcasecmp(hostn, rp->nexthost->hostn) >= 0)) in findhost()
524 (EvangelineStrcasecmp(hostn, rp->previoushost->hostn) <= 0)) in findhost()
526 if (EvangelineStrcasecmp(hostn, rp->hostn)) in findhost()
1057 rp->hostn = nmalloc(strlen(hostn) + 1); in dns_forward()
[all …]
/dports/irc/evangeline/evangeline/modules/dns.mod/
H A Ddns.c50 debug2("DNS resolved %s to %s", iptostr(rp->ip), rp->hostn); in dns_event_success()
51 call_hostbyip(ntohl(rp->ip), rp->hostn, 1); in dns_event_success()
53 debug2("DNS resolved %s to %s", rp->hostn, iptostr(rp->ip)); in dns_event_success()
54 call_ipbyhost(rp->hostn, ntohl(rp->ip), 1); in dns_event_success()
70 debug1("DNS resolve failed for %s", rp->hostn); in dns_event_failure()
71 call_ipbyhost(rp->hostn, 0, 0); in dns_event_failure()
74 nonull(rp->hostn)); in dns_event_failure()
130 if (rp->hostn) in dns_free_cache()
131 nfree(rp->hostn); in dns_free_cache()
144 if (rp->hostn) in dns_cache_expmem()
[all …]
H A Dcoredns.c332 (EvangelineStrcasecmp(addrp->hostn, rp->nexthost->hostn) < 0)) in linkresolvehost()
335 (EvangelineStrcasecmp(addrp->hostn, rp->previoushost->hostn) > 0)) in linkresolvehost()
337 ret = EvangelineStrcasecmp(addrp->hostn, rp->hostn); in linkresolvehost()
374 nfree(rp->hostn); in unlinkresolvehost()
482 if (rp->hostn) in unlinkresolve()
517 bashnum = gethostbash(hostn); in findhost()
521 (EvangelineStrcasecmp(hostn, rp->nexthost->hostn) >= 0)) in findhost()
524 (EvangelineStrcasecmp(hostn, rp->previoushost->hostn) <= 0)) in findhost()
526 if (EvangelineStrcasecmp(hostn, rp->hostn)) in findhost()
1057 rp->hostn = nmalloc(strlen(hostn) + 1); in dns_forward()
[all …]
/dports/irc/eggdrop/eggdrop-1.9.1/src/mod/dns.mod/
H A Dcoredns.c367 (strcasecmp(addrp->hostn, rp->nexthost->hostn) < 0)) in linkresolvehost()
370 (strcasecmp(addrp->hostn, rp->previoushost->hostn) > 0)) in linkresolvehost()
372 ret = strcasecmp(addrp->hostn, rp->hostn); in linkresolvehost()
409 nfree(rp->hostn); in unlinkresolvehost()
574 if (rp->hostn) in unlinkresolve()
613 (strcasecmp(hostn, rp->nexthost->hostn) >= 0)) in findhost()
616 (strcasecmp(hostn, rp->previoushost->hostn) <= 0)) in findhost()
618 if (strcasecmp(hostn, rp->hostn)) in findhost()
1220 if (!*hostn) {
1343 rp->hostn = nmalloc(strlen(hostn) + 1);
[all …]
H A Ddns.c57 rp->hostn); in dns_event_success()
58 call_hostbyip(&rp->sockname, rp->hostn, 1); in dns_event_success()
60 debug2("DNS resolved %s to %s", rp->hostn, in dns_event_success()
62 call_ipbyhost(rp->hostn, &rp->sockname, 1); in dns_event_success()
78 debug1("DNS resolve failed for %s", rp->hostn); in dns_event_failure()
79 call_ipbyhost(rp->hostn, &rp->sockname, 0); in dns_event_failure()
82 iptostr(&rp->sockname.addr.sa), nonull(rp->hostn)); in dns_event_failure()
205 if (rp->hostn) in dns_free_cache()
206 nfree(rp->hostn); in dns_free_cache()
219 if (rp->hostn) in dns_cache_expmem()
[all …]
/dports/irc/evangeline/evangeline/src/
H A Ddns.c99 strcpy(dcc[idx].u.dns->host, hostn); in dns_dcchostbyip()
144 void dcc_dnsipbyhost(char *hostn) in dcc_dnsipbyhost() argument
166 strcpy(de->res_data.hostname, hostn); in dcc_dnsipbyhost()
168 dns_ipbyhost(hostn); in dcc_dnsipbyhost()
204 Tcl_DStringAppendElement(&list, hostn); in dns_tcl_iporhostres()
270 strcpy(de->res_data.hostname, hostn); in tcl_dnsipbyhost()
282 dns_ipbyhost(hostn); in tcl_dnsipbyhost()
328 void call_hostbyip(IP ip, char *hostn, int ok) in call_hostbyip() argument
342 de->type->event(ip, hostn, ok, de->other); in call_hostbyip()
354 void call_ipbyhost(char *hostn, IP ip, int ok) in call_ipbyhost() argument
[all …]
/dports/irc/evangeline/evangeline-msa/src/
H A Ddns.c99 strcpy(dcc[idx].u.dns->host, hostn); in dns_dcchostbyip()
144 void dcc_dnsipbyhost(char *hostn) in dcc_dnsipbyhost() argument
166 strcpy(de->res_data.hostname, hostn); in dcc_dnsipbyhost()
168 dns_ipbyhost(hostn); in dcc_dnsipbyhost()
204 Tcl_DStringAppendElement(&list, hostn); in dns_tcl_iporhostres()
270 strcpy(de->res_data.hostname, hostn); in tcl_dnsipbyhost()
282 dns_ipbyhost(hostn); in tcl_dnsipbyhost()
328 void call_hostbyip(IP ip, char *hostn, int ok) in call_hostbyip() argument
342 de->type->event(ip, hostn, ok, de->other); in call_hostbyip()
354 void call_ipbyhost(char *hostn, IP ip, int ok) in call_ipbyhost() argument
[all …]
/dports/irc/eggdrop/eggdrop-1.9.1/src/
H A Ddns.c148 strcpy(dcc[idx].u.dns->host, hostn); in dns_dcchostbyip()
167 !strcasecmp(dcc[idx].u.dns->host, hostn)) { in dns_dccipbyhost()
197 void dcc_dnsipbyhost(char *hostn) in dcc_dnsipbyhost() argument
205 !strcasecmp(de->res_data.hostname, hostn)) in dcc_dnsipbyhost()
221 strcpy(de->res_data.hostname, hostn); in dcc_dnsipbyhost()
224 dns_ipbyhost(hostn); in dcc_dnsipbyhost()
268 Tcl_DStringAppendElement(&list, hostn); in dns_tcl_iporhostres()
339 strcpy(de->res_data.hostname, hostn); in tcl_dnsipbyhost()
353 dns_ipbyhost(hostn); in tcl_dnsipbyhost()
437 de->type->event(ip, hostn, ok, de->other); in call_hostbyip()
[all …]
/dports/net-mgmt/ocsinventory-agent/UnixAgent-2.8.1/lib/Ocsinventory/Agent/Backend/OS/Solaris/
H A DIPv4.pm15 my $hostn;
33 chomp( $hostn = `uname -n` );
34 if ($hostn) {
36 foreach (`ping -s $hostn 10 1`) {
/dports/chinese/bitchx/bitchx-1.2.1/source/
H A Dnetwork.c398 int is_unix = (hostn && *hostn == '/'); in BX_connect_by_number()
422 strcpy(name.sun_path, hostn); in BX_connect_by_number()
427 name.sun_len = strlen(hostn) + 1; in BX_connect_by_number()
470 if (hostn) in BX_connect_by_number()
471 inet_aton(hostn, &name.sin_addr); in BX_connect_by_number()
540 if (!getaddrinfo(hostn, NULL, &hints, &res) && res) in BX_connect_by_number()
569 if (isdigit((unsigned char)hostn[strlen(hostn)-1])) in BX_connect_by_number()
573 if (!(hp = gethostbyname(hostn))) in BX_connect_by_number()
585 if (!hostn) in BX_connect_by_number()
588 hostn = buf; in BX_connect_by_number()
[all …]
/dports/irc/bitchx/bitchx-1.2.1/source/
H A Dnetwork.c398 int is_unix = (hostn && *hostn == '/'); in BX_connect_by_number()
422 strcpy(name.sun_path, hostn); in BX_connect_by_number()
427 name.sun_len = strlen(hostn) + 1; in BX_connect_by_number()
470 if (hostn) in BX_connect_by_number()
471 inet_aton(hostn, &name.sin_addr); in BX_connect_by_number()
540 if (!getaddrinfo(hostn, NULL, &hints, &res) && res) in BX_connect_by_number()
569 if (isdigit((unsigned char)hostn[strlen(hostn)-1])) in BX_connect_by_number()
573 if (!(hp = gethostbyname(hostn))) in BX_connect_by_number()
585 if (!hostn) in BX_connect_by_number()
588 hostn = buf; in BX_connect_by_number()
[all …]
/dports/net-mgmt/ipcalc/ipcalc-0.41/
H A Dipcalc290 my $hostn = ($network | ((~$mask2) & $thirtytwobits)) - $network - 1;
291 if ($hostn > -1) {
297 if ($hostn < 1 ) {
298 $hostn = 1;
300 print "Hosts: $quads_color" . ($hostn * $subnet);
329 my $hostn;
336 $hostn = $hmax - $hmin + 1;
341 $hostn = 2;
344 $hostn = 1;
392 printf "%-22s",$hostn;
[all …]
/dports/mail/smtprc/smtprc-2.0.3/
H A Dutils.c104 void swap_rule(char *dest, const char *rule, const int hostn) { in swap_rule() argument
118 swap_macro(dest, hosts[hostn]->ip_address, "--IP_ADDRESS--"); in swap_rule()
121 if(strstr(rule, "--HOSTNAME--") != NULL && f.resolve_hostnames && hosts[hostn]->resolved) { in swap_rule()
122 swap_macro(dest, hosts[hostn]->hostname, "--HOSTNAME--"); in swap_rule()
125 swap_macro(dest, hosts[hostn]->ip_address, "--HOSTNAME--"); in swap_rule()
/dports/net/zsync/zsync-0.6.2/
H A Dhttp.c308 char hostn[256]; in http_get() local
315 if ((p = get_http_host_port(url, hostn, sizeof(hostn), &port)) == NULL) in http_get()
318 connecthost = hostn; in http_get()
336 proxy ? url : p, hostn, !strcmp(port, in http_get()
364 authhdr = get_auth_hdr(hostn); in http_get()
544 char hostn[sizeof(rf->hosth)]; in range_fetch_set_url() local
546 char* p = get_http_host_port(orig_url, hostn, sizeof(hostn), &cport); in range_fetch_set_url()
556 snprintf(rf->hosth, sizeof(rf->hosth), "%s:%s", hostn, cport); in range_fetch_set_url()
558 snprintf(rf->hosth, sizeof(rf->hosth), "%s", hostn); in range_fetch_set_url()
570 if ((rf->chost = strdup(hostn)) == NULL) { in range_fetch_set_url()
[all …]
H A Durl.c39 char *get_http_host_port(const char *url, char *hostn, int hnlen, char **port) { in get_http_host_port() argument
63 memcpy(hostn, q, p - q); in get_http_host_port()
64 hostn[p - q] = 0; in get_http_host_port()
H A Durl.h23 char* get_http_host_port(const char* url, char* hostn, int hnlen, char** port);
/dports/net/nbd-server/nbd-3.23/
H A Dnbdclt.h7 char *hostn; member
30 extern void nbdtab_commit_line(char *devn, char *hostn, char *exportname);
/dports/security/nmap/nmap-7.91/scripts/
H A Ddns-brute.nse126 local function make_record(hostn, addr)
127 local record = { hostname=hostn, address=addr }
141 local hostn = name..'.'..domainname
143 stdnse.debug1("Added target: "..hostn)
144 local status,err = target.add(hostn)
146 stdnse.debug2("Hostname: "..hostn.." IP: "..addr)
147 results[#results+1] = make_record(hostn, addr)
162 local hostn = name..'.'..domainname
172 stdnse.debug1("Hostname: "..hostn.." IP: "..srvip)
173 srvresults[#srvresults+1] = make_record(hostn, srvip)
/dports/graphics/dcmtk/dcmtk-DCMTK-3.6.6/oflog/libsrc/
H A Dwinsock.cc214 connectSocket(const tstring& hostn, unsigned short port, bool udp, SocketState& state) in connectSocket() argument
233 hp = ::gethostbyname( DCMTK_LOG4CPLUS_TSTRING_TO_STRING(hostn).c_str() ); in connectSocket()
239 INT ret = WSAStringToAddress (OFconst_cast(LPTSTR, hostn.c_str ()), in connectSocket()
243 INT ret = WSAStringToAddressA (OFconst_cast(LPSTR, hostn.c_str ()), in connectSocket()
/dports/security/razorback-api/api-0.5.0/libssh/src/
H A Dkex1.c75 ssh_string hostn) { in build_session_id1() argument
84 ssh_print_hexa("host modulus",ssh_string_data(hostn),ssh_string_len(hostn)); in build_session_id1()
87 md5_update(md5,ssh_string_data(hostn),ssh_string_len(hostn)); in build_session_id1()
/dports/multimedia/obs-studio/obs-studio-27.1.3/plugins/obs-outputs/data/locale/
H A Dhu-HU.ini10 HostNotFound="A hostnév nem található. Győződjön meg róla, hogy érvényes stream szervert adott meg …
11 NoData="A hostnév megtalálva, viszont a kért állománytípus nem elérhető. Ez akkor fordulhat elő, ha…

1234