Changeset af20d0e1 in rtems


Ignore:
Timestamp:
Jan 3, 2009, 8:01:24 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
2ab55e7
Parents:
df197f7d
Message:

Add in_addr_t.
Re-base "struct in_addr" on in_addr_t (mandated by POSIX).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/netinet/in.h

    rdf197f7d raf20d0e1  
    4141#include <rtems/endian.h>
    4242
     43#ifndef _IN_ADDR_T_DECLARED
     44typedef uint32_t                in_addr_t;
     45#define _IN_ADDR_T_DECLARED
     46#endif
     47
    4348/* Protocols common to RFC 1700, POSIX, and X/Open. */
    4449#define IPPROTO_IP              0               /* dummy for IP */
     
    6368#ifndef _STRUCT_IN_ADDR_DECLARED
    6469struct in_addr {
    65         u_long s_addr;
     70        in_addr_t s_addr;
    6671};
    6772#define _STRUCT_IN_ADDR_DECLARED
Note: See TracChangeset for help on using the changeset viewer.