2010-05-19 12:11:05 +00:00
|
|
|
#ifndef _BSC_SOCKET_H
|
|
|
|
#define _BSC_SOCKET_H
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <osmocore/select.h>
|
|
|
|
|
|
|
|
#ifndef IPPROTO_GRE
|
|
|
|
#define IPPROTO_GRE 47
|
|
|
|
#endif
|
|
|
|
|
2010-05-19 12:38:50 +00:00
|
|
|
int make_sock(struct bsc_fd *bfd, int proto, u_int32_t ip, u_int16_t port,
|
2010-05-19 12:11:05 +00:00
|
|
|
int (*cb)(struct bsc_fd *fd, unsigned int what));
|
|
|
|
|
|
|
|
#endif /* _BSC_SOCKET_H */
|