uip_ipaddr.h 423 B

1234567891011121314151617181920
  1. #include "rtdef.h"
  2. /* ethernetif APIs */
  3. #define IP_ADDR_ANY_VALUE 0x00000000UL
  4. #define IP_ADDR_BROADCAST_VALUE 0xffffffffUL
  5. //extern const struct ip_addr ip_addr_any;
  6. //extern const struct ip_addr ip_addr_broadcast;
  7. /** IP_ADDR_ can be used as a fixed IP address
  8. * for the wildcard and the broadcast address
  9. */
  10. #define IP_ADDR_ANY ((struct ip_addr *)0)
  11. #define IP_ADDR_BROADCAST ((struct ip_addr *)0)