Lines 32-37
Link Here
|
32 |
#ifndef __LIBNET_H |
32 |
#ifndef __LIBNET_H |
33 |
#define __LIBNET_H |
33 |
#define __LIBNET_H |
34 |
|
34 |
|
|
|
35 |
#include <endian.h> |
36 |
#if __BYTE_ORDER == __LITTLE_ENDIAN |
37 |
# define LIBNET_LIL_ENDIAN 1 |
38 |
#else |
39 |
# if __BYTE_ORDER == __BIG_ENDIAN |
40 |
# define LIBNET_BIG_ENDIAN 1 |
41 |
# else |
42 |
# error unrecognized __BYTE_ORDER |
43 |
# endif |
44 |
#endif |
45 |
|
35 |
#include <stdio.h> |
46 |
#include <stdio.h> |
36 |
#include <string.h> |
47 |
#include <string.h> |
37 |
#include <unistd.h> |
48 |
#include <unistd.h> |