Lines 31-40
Link Here
|
31 |
// The following are the supported non-linux posix OSes - |
31 |
// The following are the supported non-linux posix OSes - |
32 |
// netbsd, freebsd and openbsd. |
32 |
// netbsd, freebsd and openbsd. |
33 |
#if HAVE_IPV6 |
33 |
#if HAVE_IPV6 |
|
|
34 |
#if defined(__FreeBSD__) |
35 |
#define IPV6_2292_PKTINFO IPV6_PKTINFO |
36 |
#define IPV6_2292_HOPLIMIT IPV6_HOPLIMIT |
37 |
#else |
34 |
#define IPV6_2292_PKTINFO 19 |
38 |
#define IPV6_2292_PKTINFO 19 |
35 |
#define IPV6_2292_HOPLIMIT 20 |
39 |
#define IPV6_2292_HOPLIMIT 20 |
36 |
#endif |
40 |
#endif |
37 |
#endif |
41 |
#endif |
|
|
42 |
#endif |
38 |
|
43 |
|
39 |
#ifdef __cplusplus |
44 |
#ifdef __cplusplus |
40 |
extern "C" { |
45 |
extern "C" { |