/[lwip]/lwip/src/include/ipv4/lwip/ip_addr.h
ViewVC logotype

Diff of /lwip/src/include/ipv4/lwip/ip_addr.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6.2.3 by likewise, Wed Jun 4 15:46:26 2003 UTC revision 1.6.2.4 by likewise, Wed Jun 4 15:58:33 2003 UTC
# Line 36  Line 36 
36    
37  /** IP_ADDR_ can be used as a fixed IP address  /** IP_ADDR_ can be used as a fixed IP address
38   *  for the wildcard and the broadcast address   *  for the wildcard and the broadcast address
39     *
40   */   */
41  #define IP_ADDR_ANY ((struct ip_addr *)&ip_addr_any)  #define IP_ADDR_ANY ((struct ip_addr *)&ip_addr_any)
42  #define IP_ADDR_BROADCAST ((struct ip_addr *)&ip_addr_broadcast)  #define IP_ADDR_BROADCAST ((struct ip_addr *)&ip_addr_broadcast)
# Line 95  struct in_addr { Line 96  struct in_addr {
96    
97  extern const struct ip_addr ip_addr_any;  extern const struct ip_addr ip_addr_any;
98  extern const struct ip_addr ip_addr_broadcast;  extern const struct ip_addr ip_addr_broadcast;
 extern const struct ip_addr ip_addr_any;  
 extern const struct ip_addr ip_addr_broadcast;  
99    
100  #define IP4_ADDR(ipaddr, a,b,c,d) (ipaddr)->addr = htonl(((u32_t)(a & 0xff) << 24) | ((u32_t)(b & 0xff) << 16) | \  #define IP4_ADDR(ipaddr, a,b,c,d) (ipaddr)->addr = htonl(((u32_t)(a & 0xff) << 24) | ((u32_t)(b & 0xff) << 16) | \
101                                                           ((u32_t)(c & 0xff) << 8) | (u32_t)(d & 0xff))                                                           ((u32_t)(c & 0xff) << 8) | (u32_t)(d & 0xff))

Legend:
Removed from v.1.6.2.3  
changed lines
  Added in v.1.6.2.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26