Changeset ec3e093 in rtems


Ignore:
Timestamp:
May 8, 2005, 9:18:24 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
bd2fa0a5
Parents:
4f792aec
Message:

Include <sys/types.h>.
Remove in_port_t. Misc. updates from FreeBSD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/sys/socket.h

    r4f792aec rec3e093  
    3939
    4040#include <sys/cdefs.h>
    41 
    42 #ifndef _IN_PORT_T_DECLARED
    43 typedef unsigned short          in_port_t;
    44 #define _IN_PORT_T_DECLARED
    45 #endif
     41#include <sys/types.h>
     42
     43/*
     44 * Definitions related to sockets: types, address families, options.
     45 */
     46
     47/*
     48 * Data types.
     49 */
    4650
    4751#ifndef _SA_FAMILY_T_DECLARED
     
    5458#define _SOCKLEN_T_DECLARED
    5559#endif
    56 
    57 /*
    58  * Definitions related to sockets: types, address families, options.
    59  */
    6060
    6161/*
     
    142142#define AF_UNIX         1               /* standardized name for AF_LOCAL */
    143143#define AF_INET         2               /* internetwork: UDP, TCP, etc. */
     144#if __BSD_VISIBLE
    144145#define AF_IMPLINK      3               /* arpanet imp addresses */
    145146#define AF_PUP          4               /* pup protocols: e.g. BSP */
     
    169170#define AF_E164         AF_ISDN         /* CCITT E.164 recommendation */
    170171#define pseudo_AF_KEY   27              /* Internal key-management function */
     172#endif
    171173#define AF_INET6        28              /* IPv6 */
    172174
     
    316318#define MSG_CTRUNC      0x20            /* control data lost before delivery */
    317319#define MSG_WAITALL     0x40            /* wait for full request or error */
     320#if __BSD_VISIBLE
    318321#define MSG_DONTWAIT    0x80            /* this message should be nonblocking */
    319322#define MSG_EOF         0x100           /* data completes connection */
    320323#define MSG_COMPAT      0x8000          /* used in sendit() */
     324#endif
    321325
    322326/*
Note: See TracChangeset for help on using the changeset viewer.