Harald Welte | 3a318ab | 2010-05-19 14:11:05 +0200 | [diff] [blame] | 1 | #ifndef _BSC_SOCKET_H |
| 2 | #define _BSC_SOCKET_H |
| 3 | |
| 4 | #include <sys/types.h> |
Pablo Neira Ayuso | 136f453 | 2011-03-22 16:47:59 +0100 | [diff] [blame^] | 5 | #include <osmocom/core/select.h> |
Harald Welte | 3a318ab | 2010-05-19 14:11:05 +0200 | [diff] [blame] | 6 | |
| 7 | #ifndef IPPROTO_GRE |
| 8 | #define IPPROTO_GRE 47 |
| 9 | #endif |
| 10 | |
Harald Welte | 5540c4c | 2010-05-19 14:38:50 +0200 | [diff] [blame] | 11 | int make_sock(struct bsc_fd *bfd, int proto, u_int32_t ip, u_int16_t port, |
Harald Welte | 3a318ab | 2010-05-19 14:11:05 +0200 | [diff] [blame] | 12 | int (*cb)(struct bsc_fd *fd, unsigned int what)); |
| 13 | |
| 14 | #endif /* _BSC_SOCKET_H */ |