Searched defs:hostname (Results 1 - 25 of 26) sorted by relevance

12

/vbox/src/VBox/Additions/linux/lightdm-greeter/liblightdm-gobject-1.5.0/
H A Dsystem.c15 static gchar *hostname = NULL; variable
25 if (!hostname)
29 hostname = g_strdup (info.nodename);
32 return hostname;
/vbox/src/VBox/GuestHost/OpenGL/util/
H A Durl.c30 int crParseURL( const char *url, char *protocol, char *hostname, argument
68 if (hostname != NULL) {
70 crStrncpy( hostname, temp, len );
71 hostname[len] = 0;
82 if (hostname != NULL)
83 crStrcpy( hostname, temp );
H A Ddevnull.c79 crDevnullAccept( CRConnection *conn, const char *hostname, unsigned short port ) argument
H A Dfilenet.c92 crFileAccept( CRConnection *conn, const char *hostname, unsigned short port ) argument
369 conn->filename = crStrdup( conn->hostname );
H A Dudptcpip.c146 crUDPTCPIPAccept( CRConnection *conn, const char *hostname, unsigned short port ) argument
159 crTCPIPAccept( conn, hostname, port );
649 hp = gethostbyname( conn->hostname );
652 crWarning( "Unknown host: \"%s\"", conn->hostname );
674 err = getaddrinfo( conn->hostname, port_s, &hints, &res);
677 crWarning( "Unknown host: \"%s\": %s", conn->hostname, gai_strerror(err) );
698 crWarning( "Couldn't find any suitable way to connect to %s:%d", conn->hostname, port );
H A Dnet.c200 char hostname[4096], protocol[4096]; local
216 if ( !crParseURL( server, protocol, hostname, &port, default_port ) ) {
225 if (crStrcmp(hostname, "localhost") == 0) {
226 int rv = crGetHostname(hostname, 4096);
245 hostname, port, protocol );
248 /* This makes me ill, but we need to "fix" the hostname for sdp. MCH */
251 temp = strtok(hostname, ".");
253 crStrcpy(hostname, temp);
254 crDebug("SDP rename hostname: %s", hostname);
346 crNetAcceptClient( const char *protocol, const char *hostname, unsigned short port, unsigned int mtu, int broker ) argument
904 crNetAccept( CRConnection *conn, const char *hostname, unsigned short port ) argument
[all...]
H A Dtcpip.c505 crTCPIPAccept( CRConnection *conn, const char *hostname, unsigned short port ) argument
521 * connection. We'll send the mothership our hostname, the port and
546 conn->hostname = crStrdup( temp );
558 conn->hostname = crStrdup("unknown ?!");
560 conn->hostname = crStrdup( host );
567 conn->hostname = crStrdup( host->h_name );
569 conn->hostname = crStrdup( host );
572 temp = conn->hostname;
587 crDebug( "Accepted connection from \"%s\".", conn->hostname );
690 conn->tcp_socket, conn->hostname );
[all...]
H A Dvboxhgsmi.c1130 static void crVBoxHGSMIAccept( CRConnection *conn, const char *hostname, unsigned short port ) argument
H A Dvboxhgcm.c1242 static void crVBoxHGCMAccept( CRConnection *conn, const char *hostname, unsigned short port ) argument
2244 static void crVBoxHGSMIAccept( CRConnection *conn, const char *hostname, unsigned short port ) argument
/vbox/src/VBox/HostServices/SharedOpenGL/crserverlib/
H A Dserver_config.c100 char hostname[1024]; local
111 * Get my hostname
113 if (crGetHostname(hostname, sizeof(hostname)))
115 crError("CRServer: Couldn't get my own hostname?");
217 /*if (!crMothershipSendString( conn, response, "getvncclient %s", hostname ))
/vbox/src/VBox/Devices/PC/ipxe/src/net/infiniband/
H A Dib_sma.c94 char hostname[ sizeof ( node_desc->node_string ) ]; local
101 hostname, sizeof ( hostname ) );
104 hostname, ( ( hostname_len >= 0 ) ? " " : "" ),
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/
H A Dns_addr.c66 char *hostname, *socketname, *cp; local
78 if ((hostname = strchr(buf, '#')) != NULL)
81 hostname = strchr(buf, '.');
83 ((hostname && cp < hostname) || (hostname == 0))) {
84 hostname = cp;
89 if (hostname)
90 *hostname++ = 0;
94 if (hostname
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/api/
H A Dnetdb.c80 * @param name the hostname to resolve
150 * @param name the hostname to resolve
167 char *hostname; local
197 hostname = ((char*)h) + sizeof(struct gethostbyname_r_helper);
207 /* copy the hostname into buf */
208 MEMCPY(hostname, name, namelen);
209 hostname[namelen] = 0;
215 ret->h_name = hostname;
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/
H A DUIWizardExportAppPageBasic3.cpp163 QString UIWizardExportAppPage3::hostname() const function in class:UIWizardExportAppPage3
288 registerField("hostname", this, "hostname");
398 "hostname and the bucket, and provide a filename for the OVF target."));
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/syslinux/
H A Dcomboot_call.c477 case 0x0010: /* Resolve hostname */
481 char hostname[len]; local
484 copy_from_user ( hostname, hostname_u, 0, len + 1 );
487 * "If the hostname does not contain a dot (.), the
491 comboot_resolv ( hostname, &addr );
/vbox/src/VBox/HostServices/SharedOpenGL/render/
H A Drenderspu_config.c130 char protocol[4096], hostname[4096]; local
133 if (!crParseURL(response, protocol, hostname, &port, 0))
H A Drenderspu_init.c37 char hostname[4096], protocol[4096]; local
42 if (!crParseURL( render_spu.swap_master_url, protocol, hostname,
54 render_spu.swap_conns[a] = crNetAcceptClient( protocol, hostname, port,
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dnbconn.c93 const char *hostname = NULL; local
113 hostname = opt->value;
136 if (hostname)
/vbox/src/VBox/Devices/Network/lwip-new/src/include/lwip/
H A Dnetif.h228 /* the hostname for this netif, NULL is a valid value */
229 char* hostname; member in struct:netif
352 #define netif_set_hostname(netif, name) do { if((netif) != NULL) { (netif)->hostname = name; }}while(0)
353 #define netif_get_hostname(netif) (((netif) != NULL) ? ((netif)->hostname) : NULL)
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dibft.h185 struct ibft_string hostname; member in struct:ibft_nic
/vbox/src/VBox/Devices/Network/lwip-new/src/core/
H A Ddns.c57 * Once a hostname has been resolved (or found to be non-existent),
341 * Scans the local host-list for a hostname.
343 * @param hostname Hostname to look for in the local host-list
344 * @return The first IP address for the hostname in the local host-list or
348 dns_lookup_local(const char *hostname) argument
353 if(strcmp(entry->name, hostname) == 0) {
361 if(strcmp(local_hostlist_static[i].name, hostname) == 0) {
370 /** Remove all entries from the local host-list for a specific hostname
373 * @param hostname hostname fo
379 dns_local_removehost(const char *hostname, const ip_addr_t *addr) argument
414 dns_local_addhost(const char *hostname, const ip_addr_t *addr) argument
949 dns_gethostbyname(const char *hostname, ip_addr_t *addr, dns_found_callback found, void *callback_arg) argument
[all...]
/vbox/src/VBox/GuestHost/OpenGL/include/
H A Dcr_net.h147 char *hostname; member in struct:CRConnection
171 void (*Accept)( CRConnection *conn, const char *hostname, unsigned short port );
273 extern DECLEXPORT(void) crNetAccept( CRConnection *conn, const char *hostname, unsigned short port );
319 extern DECLEXPORT(CRConnection *) crNetAcceptClient( const char *protocol, const char *hostname, unsigned short port, unsigned int mtu, int broker );
/vbox/src/libs/libxml2-2.6.31/
H A Dnanoftp.c123 char *hostname; /* the host name */ member in struct:xmlNanoFTPCtxt
183 * and get the hostname
311 if (ctxt->hostname != NULL) {
312 xmlFree(ctxt->hostname);
313 ctxt->hostname = NULL;
331 ctxt->hostname = xmlMemStrdup(uri->server);
361 * protocol, hostname, port or other information, the
379 if (ctxt->hostname == NULL)
391 (strcmp(ctxt->hostname, uri->server)) ||
510 if (ctxt->hostname !
[all...]
H A Dnanohttp.c134 char *hostname; /* the host name */ member in struct:xmlNanoHTTPCtxt
286 if (ctxt->hostname != NULL) {
287 xmlFree(ctxt->hostname);
288 ctxt->hostname = NULL;
310 ctxt->hostname = xmlMemStrdup(uri->server);
409 if (ctxt->hostname != NULL) xmlFree(ctxt->hostname);
748 xmlStrcat(tmp_http, (const xmlChar *) ctxt->hostname);
1305 if (ctxt->hostname == NULL) {
1313 blen = strlen(ctxt->hostname) *
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/misc/
H A Dprnetdb.c2038 pr_GetAddrInfoByNameFB(const char *hostname, argument
2050 rv = PR_GetHostByName(hostname, ai->buf, sizeof ai->buf, &ai->hostent);
2060 PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInfoByName(const char *hostname, argument
2074 return pr_GetAddrInfoByNameFB(hostname, af, flags);
2078 return pr_GetAddrInfoByNameFB(hostname, af, flags);
2104 rv = GETADDRINFO(hostname, NULL, &hints, &res);

Completed in 185 milliseconds

12