osmo-gtp-kernel/libgtnl/src/internal.h

24 lines
415 B
C

#ifndef INTERNAL_H
#define INTERNAL_H 1
#include "config.h"
#ifdef HAVE_VISIBILITY_HIDDEN
# define __visible __attribute__((visibility("default")))
# define EXPORT_SYMBOL(x) typeof(x) (x) __visible
#else
# define EXPORT_SYMBOL
#endif
#include <stdint.h>
#include <netinet/in.h>
struct gtp_tunnel {
uint32_t ifidx;
struct in_addr ms_addr;
struct in_addr sgsn_addr;
uint64_t tid;
int gtp_version;
};
#endif