Searched defs:namelen (Results 1 - 24 of 24) sorted by relevance

/vbox/src/VBox/Devices/Network/lwip-new/src/api/
H A Dnetdb.c168 size_t namelen; local
189 namelen = strlen(name);
190 if (buflen < (sizeof(struct gethostbyname_r_helper) + namelen + 1 + (MEM_ALIGNMENT - 1))) {
208 MEMCPY(hostname, name, namelen);
209 hostname[namelen] = 0;
276 size_t namelen = 0; local
308 namelen = strlen(nodename);
309 LWIP_ASSERT("namelen is too long", (namelen + 1) <= (mem_size_t)-1);
310 total_size += namelen
[all...]
H A Dsockets.c72 #define IS_SOCK_ADDR_LEN_VALID(namelen) (((namelen) == sizeof(struct sockaddr_in)) || \
73 ((namelen) == sizeof(struct sockaddr_in6)))
103 #define IS_SOCK_ADDR_LEN_VALID(namelen) ((namelen) == sizeof(struct sockaddr_in))
475 lwip_bind(int s, const struct sockaddr *name, socklen_t namelen) argument
494 LWIP_ERROR("lwip_bind: invalid address", (IS_SOCK_ADDR_LEN_VALID(namelen) &&
497 LWIP_UNUSED_ARG(namelen);
544 lwip_connect(int s, const struct sockaddr *name, socklen_t namelen) argument
561 LWIP_ERROR("lwip_connect: invalid address", IS_SOCK_ADDR_LEN_VALID(namelen)
1480 lwip_getaddrname(int s, struct sockaddr *name, socklen_t *namelen, u8_t local) argument
1513 lwip_getpeername(int s, struct sockaddr *name, socklen_t *namelen) argument
1519 lwip_getsockname(int s, struct sockaddr *name, socklen_t *namelen) argument
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dws2def.h98 INT namelen; member in struct:_WSAMSG
/vbox/src/VBox/NetworkServices/NAT/
H A Dfwudp.c481 socklen_t namelen; local
490 namelen = sizeof(peer.sin);
499 namelen = sizeof(peer.sin6);
505 proxy_sendto(fwudp->sock, p, &peer, namelen);
H A Dproxy.c583 proxy_sendto(SOCKET sock, struct pbuf *p, void *name, size_t namelen) argument
632 mh.msg_namelen = namelen;
640 name, (int)namelen, NULL, NULL);
/vbox/src/VBox/Devices/Network/lwip/src/netif/ppp/
H A Dauth.c327 void auth_peer_success(int unit, u16_t protocol, char *name, int namelen) argument
348 if (namelen > sizeof(peer_authname) - 1)
349 namelen = sizeof(peer_authname) - 1;
350 BCOPY(name, peer_authname, namelen);
351 peer_authname[namelen] = 0;
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/ppp/
H A Dauth.c588 auth_peer_success(int unit, u16_t protocol, char *name, int namelen) argument
608 if (namelen > (int)sizeof(peer_authname) - 1) {
609 namelen = sizeof(peer_authname) - 1;
611 BCOPY(name, peer_authname, namelen);
612 peer_authname[namelen] = 0;
/vbox/src/libs/libxml2-2.6.31/
H A Ddict.c128 xmlDictAddString(xmlDictPtr dict, const xmlChar *name, int namelen) { argument
135 if (pool->end - pool->free > namelen)
146 if (size < 4 * namelen)
147 size = 4 * namelen; /* just in case ! */
160 memcpy(pool->free, name, namelen);
161 pool->free += namelen;
179 const xmlChar *name, int namelen)
186 if (prefix == NULL) return(xmlDictAddString(dict, name, namelen));
191 if (pool->end - pool->free > namelen)
202 if (size < 4 * namelen)
178 xmlDictAddQString(xmlDictPtr dict, const xmlChar *prefix, const xmlChar *name, int namelen) argument
231 xmlDictComputeKey(const xmlChar *name, int namelen) argument
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/beos/
H A Dbnet.c888 _MD_gethostname (char *name, PRUint32 namelen) argument
892 rv = gethostname(name, namelen);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/
H A Dos2misc.c572 PRStatus _MD_OS2GetHostName(char *name, PRUint32 namelen) argument
576 rv = gethostname(name, (PRInt32) namelen);
/vbox/src/VBox/Devices/Network/lwip/src/api/
H A Dsockets.c221 lwip_bind(int s, struct sockaddr *name, socklen_t namelen) argument
286 lwip_connect(int s, struct sockaddr *name, socklen_t namelen) argument
906 int lwip_getpeername (int s, struct sockaddr *name, socklen_t *namelen) argument
932 if (*namelen > (socklen_t)sizeof(sin))
933 *namelen = sizeof(sin);
935 memcpy(name, &sin, *namelen);
940 int lwip_getsockname (int s, struct sockaddr *name, socklen_t *namelen) argument
966 if (*namelen > (socklen_t)sizeof(sin))
967 *namelen = sizeof(sin);
969 memcpy(name, &sin, *namelen);
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/core/
H A Ddhcp.c1309 size_t namelen = strlen(netif->hostname); local
1310 if (namelen > 0) {
1316 LWIP_ASSERT("DHCP: hostname is too long!", namelen <= available);
1317 len = LWIP_MIN(namelen, available);
H A Ddns.c320 size_t namelen; local
324 namelen = strlen(init_entry->name);
325 LWIP_ASSERT("namelen <= DNS_LOCAL_HOSTLIST_MAX_NAMELEN", namelen <= DNS_LOCAL_HOSTLIST_MAX_NAMELEN);
330 MEMCPY((char*)entry->name, init_entry->name, namelen);
331 ((char*)entry->name)[namelen] = 0;
417 size_t namelen; local
419 namelen = strlen(hostname);
420 LWIP_ASSERT("namelen <= DNS_LOCAL_HOSTLIST_MAX_NAMELEN", namelen <
878 size_t namelen; local
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Dmswsock.h162 INT namelen; member in struct:_WSAMSG
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dntmisc.c557 PRStatus _MD_WindowsGetHostName(char *name, PRUint32 namelen) argument
562 rv = gethostname(name, (PRInt32) namelen);
572 PRStatus _MD_WindowsGetSysInfo(PRSysInfo cmd, char *name, PRUint32 namelen) argument
589 (void)PR_snprintf(name, namelen, "Windows_NT");
591 (void)PR_snprintf(name, namelen, "%d.%d",osvi.dwMajorVersion,
598 (void)PR_snprintf(name, namelen, "Windows_98");
600 (void)PR_snprintf(name, namelen, "Windows_95");
602 (void)PR_snprintf(name, namelen, "%d.%d",osvi.dwMajorVersion,
608 (void)PR_snprintf(name, namelen, "Windows_Unknown");
610 (void)PR_snprintf(name, namelen, "
616 _MD_WindowsGetReleaseName(char *name, PRUint32 namelen) argument
[all...]
H A Dw16sock.c77 _MD_WindowsGetHostName(char *name, PRUint32 namelen) argument
82 rv = gethostname(name, (PRInt32) namelen);
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/libWine/
H A Dloader.c77 int namelen; /* length of file name without .so extension */ member in struct:dll_path_context
220 int namelen = context->namelen; local
226 if (namelen > 4 && !memcmp( context->name + namelen - 4, ".dll", 4 )) namelen -= 4;
227 if (!context->win16) path = prepend( path, context->name, namelen );
234 if (namelen > 4 && !memcmp( context->name + namelen - 4, ".exe", 4 )) namelen
256 int namelen = strlen( name ); local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/sys/
H A Dsysctl.h131 u_int namelen; member in struct:pseudo_sysctl
488 int kernel_sysctl(struct proc *p, int *name, u_int namelen, void *old,
492 int userland_sysctl(struct proc *p, int *name, u_int namelen, void *old,
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddt_printf.c874 uint_t namelen = 0; local
1009 if (namelen < sizeof (name) - 2)
1010 name[namelen++] = c;
1015 name[namelen++] = c;
1016 name[namelen] = '\0';
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/mac/
H A Dmacsockotpt.c2219 PRStatus _MD_gethostname(char *name, int namelen) argument
2235 if (namelen < strlen("123.123.123.123")) {
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/wine/
H A Dmscvpdb.h116 unsigned char namelen; member in struct:p_string
H A Dserver_protocol.h2353 data_size_t namelen; member in struct:create_key_request
2354 /* VARARG(name,unicode_str,namelen); */
2424 data_size_t namelen; member in struct:enum_key_reply
2425 /* VARARG(name,unicode_str,namelen); */
2436 data_size_t namelen; member in struct:set_key_value_request
2437 /* VARARG(name,unicode_str,namelen); */
2475 data_size_t namelen; member in struct:enum_key_value_reply
2476 /* VARARG(name,unicode_str,namelen); */
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/
H A Dmscvpdb.h116 unsigned char namelen; member in struct:p_string
H A Dserver_protocol.h2171 data_size_t namelen; member in struct:create_key_request
2172 /* VARARG(name,unicode_str,namelen); */
2242 data_size_t namelen; member in struct:enum_key_reply
2243 /* VARARG(name,unicode_str,namelen); */
2254 data_size_t namelen; member in struct:set_key_value_request
2255 /* VARARG(name,unicode_str,namelen); */
2293 data_size_t namelen; member in struct:enum_key_value_reply
2294 /* VARARG(name,unicode_str,namelen); */

Completed in 550 milliseconds