/reactos/drivers/network/tcpip/lwip/test/unit/ip4/ |
H A D | test_ip4.c | 261 ip4_addr_t ip_addr; in START_TEST() local 265 fail_unless(ip4addr_aton("192.168.0.1", &ip_addr) == 1); in START_TEST() 266 fail_unless(ip4addr_aton("192.168.0.0001", &ip_addr) == 1); in START_TEST() 267 fail_unless(ip4addr_aton("192.168.0.zzz", &ip_addr) == 0); in START_TEST() 268 fail_unless(ip4addr_aton("192.168.1", &ip_addr) == 1); in START_TEST() 269 fail_unless(ip4addr_aton("192.168.0xd3", &ip_addr) == 1); in START_TEST() 270 fail_unless(ip4addr_aton("192.168.0xz5", &ip_addr) == 0); in START_TEST() 271 fail_unless(ip4addr_aton("192.168.095", &ip_addr) == 0); in START_TEST()
|
/reactos/drivers/network/tcpip/lwip/test/unit/mqtt/ |
H A D | test_mqtt.c | 22 test_mqtt_init_netif(struct netif *netif, const ip_addr_t *ip_addr, const ip_addr_t *netmask) in test_mqtt_init_netif() argument 29 ip_addr_copy_from_ip4(netif->ip_addr, *ip_2_ip4(ip_addr)); in test_mqtt_init_netif()
|
/reactos/drivers/network/tcpip/lwip/test/unit/dhcp/ |
H A D | test_dhcp.c | 501 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 534 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 576 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 800 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 827 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 949 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 1055 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 1063 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST() 1071 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST()
|
/reactos/drivers/network/tcpip/lwip/test/unit/tcp/ |
H A D | tcp_helper.c | 306 const ip_addr_t *ip_addr, const ip_addr_t *netmask) in test_tcp_init_netif() argument 317 ip_addr_copy_from_ip4(netif->ip_addr, *ip_2_ip4(ip_addr)); in test_tcp_init_netif()
|
H A D | tcp_helper.h | 55 const ip_addr_t *ip_addr, const ip_addr_t *netmask);
|
H A D | test_tcp_state.c | 63 err = tcp_bind(pcb, &test_netif.ip_addr, port); in create_listening_pcb() 267 err = tcp_bind(pcb, &test_netif.ip_addr, 1234); in START_TEST()
|
H A D | test_tcp.c | 121 err = tcp_bind(pcb, &netif.ip_addr, 1234); in START_TEST()
|
/reactos/dll/win32/iphlpapi/ |
H A D | ifenum_reactos.c | 196 memcpy( &infoSetInt[curInterf].ip_addr, in getInterfaceInfoSet() 488 case IPAAddr: addrOut = ifInfo.ip_addr.iae_addr; break; in getAddrByIndexOrName() 489 case IPABcast: addrOut = ifInfo.ip_addr.iae_bcastaddr; break; in getAddrByIndexOrName() 490 case IPAMask: addrOut = ifInfo.ip_addr.iae_mask; break; in getAddrByIndexOrName()
|
H A D | iphlpapi_private.h | 130 IPAddrEntry ip_addr; member
|
H A D | iphlpapi_main.c | 3132 &ifInfo.ip_addr.iae_addr, in GetAdaptersAddresses() 3133 sizeof(ifInfo.ip_addr.iae_addr)); in GetAdaptersAddresses() 3134 …entAddress->FirstUnicastAddress->Address.iSockaddrLength = sizeof(ifInfo.ip_addr.iae_addr) + sizeo… in GetAdaptersAddresses()
|
/reactos/dll/win32/comctl32/ |
H A D | ipaddress.c | 339 DWORD ip_addr = 0; in IPADDRESS_GetAddress() local 344 ip_addr *= 256; in IPADDRESS_GetAddress() 346 ip_addr += wcstol(field, NULL, 10); in IPADDRESS_GetAddress() 350 *ip_address = ip_addr; in IPADDRESS_GetAddress()
|
/reactos/drivers/network/tcpip/lwip/src/include/lwip/ |
H A D | netif.h | 277 ip_addr_t ip_addr; member 457 #define netif_ip4_addr(netif) ((const ip4_addr_t*)ip_2_ip4(&((netif)->ip_addr))) 463 #define netif_ip_addr4(netif) ((const ip_addr_t*)&((netif)->ip_addr))
|
H A D | ip_addr.h | 69 typedef struct ip_addr { struct
|
/reactos/drivers/network/tcpip/lwip/src/apps/mqtt/ |
H A D | mqtt.c | 1290 mqtt_client_connect(mqtt_client_t *client, const ip_addr_t *ip_addr, u16_t port, mqtt_connection_cb… in mqtt_client_connect() argument 1306 LWIP_ASSERT("mqtt_client_connect: ip_addr != NULL", ip_addr != NULL); in mqtt_client_connect() 1384 client->conn = altcp_tls_new(client_info->tls_config, IP_GET_TYPE(ip_addr)); in mqtt_client_connect() 1388 client->conn = altcp_tcp_new_ip_type(IP_GET_TYPE(ip_addr)); in mqtt_client_connect() 1402 …E, ("mqtt_client_connect: Connecting to host: %s at port:%"U16_F"\n", ipaddr_ntoa(ip_addr), port)); in mqtt_client_connect() 1405 err = altcp_connect(client->conn, ip_addr, port, mqtt_tcp_connect_cb); in mqtt_client_connect()
|
/reactos/drivers/network/tcpip/lwip/test/unit/udp/ |
H A D | test_udp.c | 245 err = udp_bind(pcb1, &test_netif1.ip_addr, port); in START_TEST() 247 err = udp_bind(pcb2, &test_netif2.ip_addr, port); in START_TEST()
|
/reactos/drivers/network/tcpip/lwip/ |
H A D | UPGRADING | 157 * Replaced struct ip_addr by typedef ip_addr_t (struct ip_addr is kept for 275 * Use macros defined in ip_addr.h to work with IP addresses
|
H A D | CHANGELOG | 1764 * nearly every file: Replaced struct ip_addr by typedef ip_addr_t to 2012 * ip_addr.c/.h: patch #7143: Add a few missing const qualifiers 2156 let inet.h depend on ip_addr.h and not the other way round. 2261 * ip_addr.h, netdb.c: patch #6900: added define ip_ntoa(struct ip_addr*) 2733 * inet.h, ip_addr.h: fixed bug #24132: Cross-dependency between ip_addr.h and 3644 changed in netif_set_ipaddr if previous netif->ip_addr.addr was 0. 3789 * inet.c, ip_addr.h, sockets.h, sys.h, tcp.h: Apply patch #5745: Fix 4134 * ipv4/ip_addr.h: Renamed ip_addr_maskcmp() to _netcmp() as we are 4137 * ipv4/ip_addr.c: ip_addr_isbroadcast() now checks that the given 4218 * ip_addr.c: Fix in the ip_addr_isbroadcast() check. [all …]
|
/reactos/drivers/network/tcpip/lwip/src/core/ |
H A D | netif.c | 321 ip_addr_set_zero_ip4(&netif->ip_addr); in netif_add() 497 ip4_addr_set(ip_2_ip4(&netif->ip_addr), ipaddr); in netif_do_set_ipaddr() 498 IP_SET_TYPE_VAL(netif->ip_addr, IPADDR_TYPE_V4); in netif_do_set_ipaddr()
|
/reactos/drivers/network/tcpip/lwip/doc/ |
H A D | mqtt_client.txt | 43 err = mqtt_client_connect(client, ip_addr, MQTT_PORT, mqtt_connection_cb, 0, &ci);
|
H A D | ppp.txt | 86 printf(" our_ipaddr = %s\n", ipaddr_ntoa(&pppif->ip_addr));
|