/vbox/src/VBox/Devices/Network/slirp/ |
H A D | bootp.c | 117 paddr->s_addr = RT_H2N_U32(RT_N2H_U32(pData->special_addr.s_addr) | (bc->number + START_ADDR)); 118 bc->addr.s_addr = paddr->s_addr; 119 LogFlowFunc(("LEAVE: paddr:%RTnaipv4, bc:%d\n", paddr->s_addr, bc->number)); 128 if (paddr->s_addr == bootp_clients[i].addr.s_addr) 199 paddr->s_addr = RT_H2N_U32(RT_N2H_U32(pData->special_addr.s_addr) | (i + START_ADDR)); 200 LogFlowFunc(("LEAVE: paddr:%RTnaipv4 bc:%d\n", paddr->s_addr, b [all...] |
H A D | ctl.h | 28 && (((x) & RT_H2N_U32(pData->netmask)) == pData->special_addr.s_addr))
|
H A D | udp.c | 184 && CTL_CHECK(ip->ip_dst.s_addr, CTL_DNS)) 187 src.sin_addr.s_addr = ip->ip_dst.s_addr; 189 dst.sin_addr.s_addr = ip->ip_src.s_addr; 204 && CTL_CHECK(ip->ip_dst.s_addr, CTL_TFTP)) 216 && CTL_CHECK(ip->ip_dst.s_addr, CTL_DNS) 228 || so->so_laddr.s_addr != ip->ip_src.s_addr) 235 && tmp->so_laddr.s_addr [all...] |
H A D | ip_icmp.c | 176 faddr.s_addr = ~0; 209 if ( ( (icp->icmp_type != ICMP_ECHO && ip->ip_src.s_addr == ip0->ip_dst.s_addr) 210 || (icp->icmp_type == ICMP_ECHO && ip->ip_dst.s_addr == ip0->ip_dst.s_addr)) 229 faddr.s_addr = ip->ip_dst.s_addr; 240 faddr.s_addr = ip->ip_dst.s_addr; 246 if ( last_socket->so_faddr.s_addr [all...] |
H A D | slirp_dns.c | 103 if ((InAddr.s_addr & RT_H2N_U32_C(IN_CLASSA_NET)) == RT_N2H_U32_C(INADDR_LOOPBACK & IN_CLASSA_NET)) 104 pDns->de_addr.s_addr = RT_H2N_U32(RT_N2H_U32(pData->special_addr.s_addr) | CTL_ALIAS); 106 pDns->de_addr.s_addr = InAddr.s_addr; 191 address->IPv4.u = RT_H2N_U32(RT_N2H_U32(pData->special_addr.s_addr) | CTL_ALIAS); 206 pDns->de_addr.s_addr = address->IPv4.u; 268 LogRel(("NAT: DNS#%i: %RTnaipv4\n", cDNSListEntry, pDNSEntry->de_addr.s_addr));
|
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/DataSink/ |
H A D | DataSink.c | 149 Port[ Index ].RemoteAddress.sin_addr.s_addr= 0; 332 Port[ Index ].RemoteAddress.sin_addr.s_addr & 0xff, 333 ( Port[ Index ].RemoteAddress.sin_addr.s_addr >> 8 ) & 0xff, 334 ( Port[ Index ].RemoteAddress.sin_addr.s_addr >> 16 ) & 0xff, 335 ( Port[ Index ].RemoteAddress.sin_addr.s_addr >> 24 ) & 0xff, 348 Port[ Index ].RemoteAddress.sin_addr.s_addr & 0xff, 349 ( Port[ Index ].RemoteAddress.sin_addr.s_addr >> 8 ) & 0xff, 350 ( Port[ Index ].RemoteAddress.sin_addr.s_addr >> 16 ) & 0xff, 351 ( Port[ Index ].RemoteAddress.sin_addr.s_addr >> 24 ) & 0xff, 358 Port[ Index ].RemoteAddress.sin_addr.s_addr [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/RecvDgram/ |
H A D | RecvDgram.c | 94 (UINT8)Address.sin_addr.s_addr, 95 (UINT8)( Address.sin_addr.s_addr >> 8 ), 96 (UINT8)( Address.sin_addr.s_addr >> 16 ), 97 (UINT8)( Address.sin_addr.s_addr >> 24 ),
|
/vbox/src/VBox/Devices/PC/ipxe/src/core/ |
H A D | gdbudp.c | 89 * ( uint32_t * ) arp_target_pa ( arphdr ) != source_addr.sin_addr.s_addr ) { 118 if ( iphdr->protocol != IP_UDP || iphdr->dest.s_addr != source_addr.sin_addr.s_addr ) { 133 dest_addr.sin_addr.s_addr = iphdr->src.s_addr; 195 iphdr->dest.s_addr = dest_addr.sin_addr.s_addr; 196 iphdr->src.s_addr = source_addr.sin_addr.s_addr; 226 if ( addr && addr->sin_addr.s_addr ) { [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/NetUtil/ |
H A D | inet_lnaof.c | 62 in_addr_t i = ntohl(in.s_addr);
|
H A D | inet_netof.c | 61 in_addr_t i = ntohl(in.s_addr);
|
H A D | inet_makeaddr.c | 72 ret.s_addr = htonl(addr);
|
/vbox/src/VBox/Devices/Network/lwip-new/src/include/ipv4/lwip/ |
H A D | inet.h | 50 in_addr_t s_addr; member in struct:in_addr 106 #define inet_addr_from_ipaddr(target_inaddr, source_ipaddr) ((target_inaddr)->s_addr = ip4_addr_get_u32(source_ipaddr)) 107 #define inet_addr_to_ipaddr(target_ipaddr, source_inaddr) (ip4_addr_set_u32(target_ipaddr, (source_inaddr)->s_addr)) 108 /* ATTENTION: the next define only works because both s_addr and ip_addr_t are an u32_t effectively! */ 109 #define inet_addr_to_ipaddr_p(target_ipaddr_p, source_inaddr) ((target_ipaddr_p) = (ip_addr_t*)&((source_inaddr)->s_addr))
|
/vbox/src/VBox/Devices/PC/ipxe/src/net/ |
H A D | ipv4.c | 55 if ( gateway.s_addr ) 75 if ( gateway.s_addr ) { 94 if ( miniroute->gateway.s_addr ) 122 local = ( ( ( dest->s_addr ^ miniroute->address.s_addr ) 123 & miniroute->netmask.s_addr ) == 0 ); 124 has_gw = ( miniroute->gateway.s_addr ); 167 if ( ( iphdr->src.s_addr == frag_iphdr->src.s_addr ) && 308 struct in_addr netmask = { .s_addr [all...] |
/vbox/src/VBox/Devices/Network/slirp/libalias/ |
H A D | alias_cuseeme.c | 186 cu->addr = (u_int32_t) GetAliasAddress(lnk).s_addr; 210 alias_addr.s_addr = pip->ip_dst.s_addr; 219 cu->dest_addr = (u_int32_t) original_addr.s_addr; 223 if (ci->address == (u_int32_t) alias_addr.s_addr) { 224 ci->address = (u_int32_t) original_addr.s_addr;
|
H A D | alias_proxy.c | 257 addr->s_addr = htonl(val); 274 mask->s_addr = htonl(imask); 600 && src_addr.s_addr != ptr->server_addr.s_addr) { 604 src_addr_masked.s_addr = src_addr.s_addr & ptr->src_mask.s_addr; 605 dst_addr_masked.s_addr = dst_addr.s_addr & ptr->dst_mask.s_addr; [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pxe/ |
H A D | pxe_udp.c | 87 pxenv_udp_read->src_ip = sin_src->sin_addr.s_addr; 92 pxenv_udp_read->dest_ip = sin_dest->sin_addr.s_addr; 168 pxe_udp.local.sin_addr.s_addr = pxenv_udp_open->src_ip; 275 dest.sin_addr.s_addr = pxenv_udp_write->ip; 365 struct in_addr dest_ip_wanted = { .s_addr = pxenv_udp_read->dest_ip }; 379 dest_ip.s_addr = pxenv_udp_read->dest_ip; 384 if ( dest_ip_wanted.s_addr && 385 ( dest_ip_wanted.s_addr != dest_ip.s_addr ) ) {
|
/vbox/src/VBox/Devices/PC/ipxe/src/net/udp/ |
H A D | syslog.c | 175 old_addr.s_addr = sin_logserver->sin_addr.s_addr; 182 if ( sin_logserver->sin_addr.s_addr == old_addr.s_addr )
|
H A D | dhcp.c | 339 peer->sin_addr.s_addr = INADDR_BROADCAST; 369 if ( server_id.s_addr != peer->sin_addr.s_addr ) 374 if ( ip.s_addr ) 401 if ( ip.s_addr && ( peer->sin_port == htons ( BOOTPS_PORT ) ) && 411 if ( server_id.s_addr && has_pxeclient && 428 if ( ! dhcp->offer.s_addr ) 450 if ( dhcp->offer.s_addr && ( elapsed > PROXYDHCP_MAX_TIMEOUT ) ) { 498 peer->sin_addr.s_addr = INADDR_BROADCAST; 525 if ( server_id.s_addr ! [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/usr/ |
H A D | route.c | 39 if ( miniroute->gateway.s_addr )
|
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/TftpServer/ |
H A D | TftpServer.c | 88 (UINT8)pContext->RemoteAddress.sin_addr.s_addr, 89 (UINT8)( pContext->RemoteAddress.sin_addr.s_addr >> 8 ), 90 (UINT8)( pContext->RemoteAddress.sin_addr.s_addr >> 16 ), 91 (UINT8)( pContext->RemoteAddress.sin_addr.s_addr >> 24 ), 143 if (( pTftpServer->RemoteAddress.sin_addr.s_addr == pContext->RemoteAddress.sin_addr.s_addr ) 265 pTftpServer->RemoteAddress.sin_addr.s_addr & 0xff, 266 ( pTftpServer->RemoteAddress.sin_addr.s_addr >> 8 ) & 0xff, 267 ( pTftpServer->RemoteAddress.sin_addr.s_addr >> 16 ) & 0xff, 268 ( pTftpServer->RemoteAddress.sin_addr.s_addr >> 2 [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/syslinux/ |
H A D | comboot_resolv.c | 48 comboot_resolver.addr.s_addr = 0; 56 if ( ! comboot_resolver.addr.s_addr )
|
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/OobTx/ |
H A D | OobTx.h | 57 #define SIN_ADDR(port) port.sin_addr.s_addr
|
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/RawIp4Rx/ |
H A D | RawIp4Rx.h | 56 #define SIN_ADDR(port) port.sin_addr.s_addr
|
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/RawIp4Tx/ |
H A D | RawIp4Tx.h | 57 #define SIN_ADDR(port) port.sin_addr.s_addr
|
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/ |
H A D | inaddr.h | 54 #define s_addr S_un.S_addr macro
|