Pablo Neira Ayuso | 1450666 | 2014-02-20 18:43:15 +0100 | [diff] [blame] | 1 | #ifndef INTERNAL_H |
| 2 | #define INTERNAL_H 1 |
| 3 | |
| 4 | #include "config.h" |
| 5 | #ifdef HAVE_VISIBILITY_HIDDEN |
| 6 | # define __visible __attribute__((visibility("default"))) |
| 7 | # define EXPORT_SYMBOL(x) typeof(x) (x) __visible |
| 8 | #else |
| 9 | # define EXPORT_SYMBOL |
| 10 | #endif |
| 11 | |
Pablo Neira Ayuso | 1853295 | 2014-02-22 22:09:59 +0100 | [diff] [blame] | 12 | #include <stdint.h> |
| 13 | #include <netinet/in.h> |
| 14 | |
| 15 | struct gtp_tunnel { |
| 16 | uint32_t ifidx; |
| 17 | struct in_addr ms_addr; |
| 18 | struct in_addr sgsn_addr; |
| 19 | uint64_t tid; |
Pablo Neira Ayuso | b976ffa | 2014-03-20 13:56:55 +0100 | [diff] [blame] | 20 | uint16_t flowid; |
Pablo Neira Ayuso | 1853295 | 2014-02-22 22:09:59 +0100 | [diff] [blame] | 21 | int gtp_version; |
| 22 | }; |
| 23 | |
Pablo Neira Ayuso | 1450666 | 2014-02-20 18:43:15 +0100 | [diff] [blame] | 24 | #endif |