Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
endian.h File Reference
#include <inttypes.h>
#include <sys/cdefs.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _QUAD_HIGHWORD   0
#define _QUAD_LOWWORD   1
#define LITTLE_ENDIAN   1234 /* LSB first: i386, vax */
#define BIG_ENDIAN   4321 /* MSB first: 68000, ibm, net */
#define PDP_ENDIAN   3412 /* LSB first in word, MSW first in long */
#define BYTE_ORDER   BIG_ENDIAN
#define ntohl(x)   (x)
#define ntohs(x)   (x)
#define htonl(x)   (x)
#define htons(x)   (x)
#define NTOHL(x)   (x)
#define NTOHS(x)   (x)
#define HTONL(x)   (x)
#define HTONS(x)   (x)

Functions

__BEGIN_DECLS uint32_t htonl __P ((uint32_t))
uint16_t htons __P ((uint16_t))

Define Documentation

Definition at line 47 of file endian.h.

Definition at line 48 of file endian.h.

#define BIG_ENDIAN   4321 /* MSB first: 68000, ibm, net */

Definition at line 56 of file endian.h.

Definition at line 59 of file endian.h.

#define htonl (   x)    (x)

Definition at line 75 of file endian.h.

#define HTONL (   x)    (x)

Definition at line 80 of file endian.h.

#define htons (   x)    (x)

Definition at line 76 of file endian.h.

#define HTONS (   x)    (x)

Definition at line 81 of file endian.h.

#define LITTLE_ENDIAN   1234 /* LSB first: i386, vax */

Definition at line 55 of file endian.h.

#define ntohl (   x)    (x)

Definition at line 73 of file endian.h.

#define NTOHL (   x)    (x)

Definition at line 78 of file endian.h.

#define ntohs (   x)    (x)

Definition at line 74 of file endian.h.

#define NTOHS (   x)    (x)

Definition at line 79 of file endian.h.

#define PDP_ENDIAN   3412 /* LSB first in word, MSW first in long */

Definition at line 57 of file endian.h.


Function Documentation

int setruid __P ( (uint32_t )