/haiku/src/bin/network/netstat/ |
H A D | netstat.cpp | 82 hostent* host = NULL; local 85 host = gethostbyaddr((const char*)&address.sin_addr, sizeof(in_addr), 91 if (host != NULL) 92 hostName = host->h_name;
|
/haiku/headers/posix/arpa/ |
H A D | inet.h | 22 struct in_addr inet_makeaddr(in_addr_t net, in_addr_t host);
|
/haiku/src/preferences/notifications/ |
H A D | GeneralView.h | 26 GeneralView(SettingsHost* host);
|
H A D | GeneralView.cpp | 68 GeneralView::GeneralView(SettingsHost* host) argument 70 SettingsPane("general", host)
|
H A D | SettingsPane.h | 18 SettingsPane(const char* name, SettingsHost* host);
|
H A D | SettingsPane.cpp | 17 SettingsPane::SettingsPane(const char* name, SettingsHost* host) argument 20 fHost(host)
|
H A D | PrefletView.h | 21 PrefletView(SettingsHost* host);
|
H A D | PrefletView.cpp | 28 PrefletView::PrefletView(SettingsHost* host) argument 33 fGeneralView = new GeneralView(host); 34 NotificationsView* apps = new NotificationsView(host);
|
H A D | NotificationsView.cpp | 70 NotificationsView::NotificationsView(SettingsHost* host) argument 72 SettingsPane("apps", host),
|
H A D | NotificationsView.h | 47 NotificationsView(SettingsHost* host);
|
/haiku/src/tests/kits/net/service/ |
H A D | UrlTest.cpp | 71 CPPUNIT_ASSERT_MESSAGE("Set to an invalid host", !url.IsValid()); 168 const char* host; member in struct:__anon4::__anon5 182 { "http://user:pass@host:80/path?query#fragment", 183 { "http", "user", "pass", "host", 80, "/path", "query", "fragment" } }, 184 { "http://www.host.tld/path?query#fragment", 185 { "http", "", "", "www.host.tld",0, "/path", "query", "fragment" } }, 204 { "//remote.host/boot/home/Desktop", 205 { "", "", "", "remote.host", 0, "/boot/home/Desktop","",""} }, 228 CPPUNIT_ASSERT_EQUAL(BString(kTestExplode[testIndex].expected.host), 264 {"http://host [all...] |
/haiku/src/apps/codycam/ |
H A D | SftpClient.cpp | 89 BString host(server.c_str()); 92 if (host.FindFirst(':')) 93 host.MoveInto(port, host.FindFirst(':'), host.Length()); 100 cmd << "@" << host.String();
|
/haiku/headers/compatibility/bsd/ |
H A D | libutil.h | 98 int realhostname(char *host, size_t hsize, const struct in_addr *ip); 100 int realhostname_sa(char *host, size_t hsize, struct sockaddr *addr,
|
/haiku/src/bin/network/telnetd/ |
H A D | utility.c | 359 edithost(char *pat, char *host) argument 369 if (*host) 370 host++; 374 if (*host) 375 *res++ = *host++; 388 if (*host) 389 (void) strncpy(res, host,
|
/haiku/src/bin/multiuser/ |
H A D | login.cpp | 60 char host[64]; local 61 if (gethostname(host, sizeof(host)) != 0) 62 host[0] = '\0'; 64 if (host[0]) 65 printf("%s ", host); 105 get_from(const char* host) argument 107 if (host == NULL) 111 snprintf(buffer, sizeof(buffer), " from %s", host);
|
/haiku/src/tests/system/network/icmp/ |
H A D | udp_unreachable.cpp | 30 fprintf(stderr, "Usage: %s <host> [<port>]\n" 36 struct hostent* host = gethostbyname(argv[1]); local 37 if (host == NULL) { 50 serverAddr.sin_addr = *((struct in_addr*)host->h_addr); 73 printf("Received %zd bytes from remote host\n", bytes);
|
H A D | big_datagram.cpp | 47 host_serv(const char* host, const char* serv, int family, int socktype) argument 55 int n = getaddrinfo(host, serv, &hints, &res);
|
H A D | icmp_dumper.cpp | 43 char host[128]; local 44 if (!inet_ntop(AF_INET, &source.sin_addr, host, sizeof(host))) 45 strcpy(host, "<unknown host>"); 47 printf("Received %zd bytes of ICMP message from %s\n", nbytes, host);
|
/haiku/src/tests/system/network/ |
H A D | getpeername.cpp | 24 printf("usage: %s <host> [port]\n" 25 "Connects to the host (default port 21, ftp), and calls\n" 31 struct hostent* host = gethostbyname(argv[1]); local 32 if (host == NULL) { 52 address.sin_addr = *((struct in_addr*)host->h_addr);
|
/haiku/src/add-ons/print/transports/shared/ |
H A D | Socket.cpp | 21 Socket::Socket(const char *host, int port) argument 24 __host = host; 32 Socket::Socket(const char *host, int port, int localPort) argument 35 __host = host;
|
/haiku/src/kits/support/ |
H A D | Url.cpp | 265 BUrl::SetHost(const BString& host) argument 267 fHost = host; 525 // it is possible that there can be an authority but no host. 1059 // if we see the // then this would imply that a host is 1060 // to be rendered even if no host has been parsed. 1231 // if the host was preceded by a username + password couple 1245 // the host may be enclosed within brackets in order to express 1260 // if an IPV6 host was not found.
|
/haiku/headers/os/support/ |
H A D | Url.h | 31 BUrl& SetHost(const BString& host);
|
/haiku/src/kits/network/libnetapi/ |
H A D | NetworkAddressResolver.cpp | 18 strip_port(BString& host, BString& port) argument 20 int32 first = host.FindFirst(':'); 21 int32 separator = host.FindLast(':'); 23 && (separator == 0 || host.ByteAt(separator - 1) != ']')) { 29 host.CopyInto(port, separator + 1, -1); 30 host.Truncate(separator); 145 BNetworkAddressResolver::SetTo(int family, const char* host, argument 152 BString hostString(host); 167 if (host == NULL && portString.Length() == 0) { 172 int status = getaddrinfo(host ! [all...] |
/haiku/headers/os/net/ |
H A D | SecureSocket.h | 45 status_t _SetupCommon(const char* host = NULL); 46 status_t _SetupConnect(const char* host = NULL);
|
/haiku/src/kits/mail/ |
H A D | ProtocolConfigView.cpp | 134 fHostControl = _AddTextControl(layout, "host", 185 BString host = settings.FindString("server"); local 187 host << ':' << settings.FindInt32("port"); 190 fHostControl->SetText(host.String());
|