Searched refs:host (Results 26 - 50 of 66) sorted by last modified time

123

/haiku/src/bin/network/netstat/
H A Dnetstat.cpp82 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 Dinet.h22 struct in_addr inet_makeaddr(in_addr_t net, in_addr_t host);
/haiku/src/preferences/notifications/
H A DGeneralView.h26 GeneralView(SettingsHost* host);
H A DGeneralView.cpp68 GeneralView::GeneralView(SettingsHost* host) argument
70 SettingsPane("general", host)
H A DSettingsPane.h18 SettingsPane(const char* name, SettingsHost* host);
H A DSettingsPane.cpp17 SettingsPane::SettingsPane(const char* name, SettingsHost* host) argument
20 fHost(host)
H A DPrefletView.h21 PrefletView(SettingsHost* host);
H A DPrefletView.cpp28 PrefletView::PrefletView(SettingsHost* host) argument
33 fGeneralView = new GeneralView(host);
34 NotificationsView* apps = new NotificationsView(host);
H A DNotificationsView.cpp70 NotificationsView::NotificationsView(SettingsHost* host) argument
72 SettingsPane("apps", host),
H A DNotificationsView.h47 NotificationsView(SettingsHost* host);
/haiku/src/tests/kits/net/service/
H A DUrlTest.cpp71 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 DSftpClient.cpp89 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 Dlibutil.h98 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 Dutility.c359 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 Dlogin.cpp60 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 Dudp_unreachable.cpp30 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 Dbig_datagram.cpp47 host_serv(const char* host, const char* serv, int family, int socktype) argument
55 int n = getaddrinfo(host, serv, &hints, &res);
H A Dicmp_dumper.cpp43 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 Dgetpeername.cpp24 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 DSocket.cpp21 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 DUrl.cpp265 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 DUrl.h31 BUrl& SetHost(const BString& host);
/haiku/src/kits/network/libnetapi/
H A DNetworkAddressResolver.cpp18 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 DSecureSocket.h45 status_t _SetupCommon(const char* host = NULL);
46 status_t _SetupConnect(const char* host = NULL);
/haiku/src/kits/mail/
H A DProtocolConfigView.cpp134 fHostControl = _AddTextControl(layout, "host",
185 BString host = settings.FindString("server"); local
187 host << ':' << settings.FindInt32("port");
190 fHostControl->SetText(host.String());

Completed in 223 milliseconds

123