Home
last modified time | relevance | path

Searched refs:IP4_ADDR (Results 1 – 16 of 16) sorted by relevance

/third_party/lwip/test/unit/core/
Dtest_netif.c100 IP4_ADDR(&addr, 0, 0, 0, 0); in NETIF_DECLARE_EXT_CALLBACK()
101 IP4_ADDR(&netmask, 0, 0, 0, 0); in NETIF_DECLARE_EXT_CALLBACK()
102 IP4_ADDR(&gw, 0, 0, 0, 0); in NETIF_DECLARE_EXT_CALLBACK()
127 IP4_ADDR(&addr, 1, 2, 3, 4); in NETIF_DECLARE_EXT_CALLBACK()
133 IP4_ADDR(&netmask, 255, 255, 255, 0); in NETIF_DECLARE_EXT_CALLBACK()
139 IP4_ADDR(&gw, 1, 2, 3, 254); in NETIF_DECLARE_EXT_CALLBACK()
145 IP4_ADDR(&addr, 0, 0, 0, 0); in NETIF_DECLARE_EXT_CALLBACK()
151 IP4_ADDR(&netmask, 0, 0, 0, 0); in NETIF_DECLARE_EXT_CALLBACK()
157 IP4_ADDR(&gw, 0, 0, 0, 0); in NETIF_DECLARE_EXT_CALLBACK()
165 IP4_ADDR(&addr, 1, 2, 3, 4); in NETIF_DECLARE_EXT_CALLBACK()
[all …]
/third_party/lwip/test/unit/dhcp/
Dtest_dhcp.c446 IP4_ADDR(&addr, 0, 0, 0, 0); in START_TEST()
447 IP4_ADDR(&netmask, 0, 0, 0, 0); in START_TEST()
448 IP4_ADDR(&gw, 0, 0, 0, 0); in START_TEST()
490 IP4_ADDR(&addr, 195, 170, 189, 200); in START_TEST()
491 IP4_ADDR(&netmask, 255, 255, 255, 0); in START_TEST()
492 IP4_ADDR(&gw, 195, 170, 189, 171); in START_TEST()
519 IP4_ADDR(&addr, 0, 0, 0, 0); in START_TEST()
520 IP4_ADDR(&netmask, 0, 0, 0, 0); in START_TEST()
521 IP4_ADDR(&gw, 0, 0, 0, 0); in START_TEST()
741 IP4_ADDR(&addr, 0, 0, 0, 0); in START_TEST()
[all …]
/third_party/libcoap/examples/lwip/
Dserver.c58 IP4_ADDR(&gw, 192,168,113,1); in main()
59 IP4_ADDR(&ipaddr, 192,168,113,2); in main()
60 IP4_ADDR(&netmask, 255,255,255,0); in main()
/third_party/lwip/test/fuzz/
Dfuzz.c151 IP4_ADDR(&addr, 172, 30, 115, 84); in main()
152 IP4_ADDR(&netmask, 255, 255, 255, 0); in main()
153 IP4_ADDR(&gw, 172, 30, 115, 1); in main()
/third_party/FreeBSD/sys/dev/usb/net/
Dusb_eth_drv.c68 IP4_ADDR(&gw, 192, 168, 0, 1); in eth_drv_init()
69 IP4_ADDR(&ipaddr, 192, 168, 0, 100); in eth_drv_init()
70 IP4_ADDR(&netmask, 255, 255, 255, 0); in eth_drv_init()
/third_party/lwip/test/unit/etharp/
Dtest_etharp.c59 IP4_ADDR(&test_gw, 192,168,0,1); in default_netif_add()
60 IP4_ADDR(&test_ipaddr, 192,168,0,1); in default_netif_add()
61 IP4_ADDR(&test_netmask, 255,255,0,0); in default_netif_add()
160 IP4_ADDR(&adrs[i], 192,168,0,i+2); in START_TEST()
/third_party/lwip/test/unit/udp/
Dtest_udp.c81 IP4_ADDR(&test_ipaddr1, 192,168,0,1); in default_netif_add()
82 IP4_ADDR(&test_netmask1, 255,255,255,0); in default_netif_add()
83 IP4_ADDR(&test_gw1, 192,168,0,254); in default_netif_add()
88 IP4_ADDR(&test_ipaddr2, 192,168,1,1); in default_netif_add()
89 IP4_ADDR(&test_netmask2, 255,255,255,0); in default_netif_add()
90 IP4_ADDR(&test_gw2, 192,168,1,254); in default_netif_add()
/third_party/NuttX/drivers/usbdev/gadget/
Df_ether.c275 IP4_ADDR(&gw, 10, 67, 233, 1); in netdev_register()
276 IP4_ADDR(&ipaddr, 10, 67, 233, 3); in netdev_register()
277 IP4_ADDR(&netmask, 255, 255, 255, 0); in netdev_register()
/third_party/lwip/src/core/ipv4/
Dautoip.c239 IP4_ADDR(&sn_mask, 255, 255, 0, 0); in autoip_bind()
240 IP4_ADDR(&gw_addr, 0, 0, 0, 0); in autoip_bind()
Digmp.c118 IP4_ADDR(&allsystems, 224, 0, 0, 1); in igmp_init()
119 IP4_ADDR(&allrouters, 224, 0, 0, 2); in igmp_init()
Dip4.c524 IP4_ADDR(&allsystems, 224, 0, 0, 1);
/third_party/lwip/doc/
Dppp.txt309 IP4_ADDR(&addr, 192,168,0,1);
313 IP4_ADDR(&addr, 192,168,0,2);
317 IP4_ADDR(&addr, 192,168,10,20);
321 IP4_ADDR(&addr, 192,168,10,21);
/third_party/lwip/src/include/lwip/
Dip4_addr.h104 #define IP4_ADDR(ipaddr, a,b,c,d) (ipaddr)->addr = PP_HTONL(LWIP_MAKEU32(a,b,c,d)) macro
Dip_addr.h123 #define IP_ADDR4(ipaddr,a,b,c,d) do { IP4_ADDR(ip_2_ip4(ipaddr),a,b,c,d); \
283 #define IP_ADDR4(ipaddr,a,b,c,d) IP4_ADDR(ipaddr,a,b,c,d)
/third_party/lwip/src/core/
Dnetif.c183 IP4_ADDR(&loop_gw, 127, 0, 0, 1); in netif_init()
184 IP4_ADDR(&loop_ipaddr, 127, 0, 0, 1); in netif_init()
185 IP4_ADDR(&loop_netmask, 255, 0, 0, 0); in netif_init()
/third_party/lwip/src/apps/snmp/
Dsnmp_core.c296 IP4_ADDR(ip, oid[0], oid[1], oid[2], oid[3]); in snmp_oid_to_ip4()