Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-06-13 | socket: add OSMO_SOCK_F_[CONNECT|BIND|NON_BLOCK] flags | Pablo Neira Ayuso | 1 | -10/+28 | |
This extends the socket infrastructure in libosmocore to allow to create non-blocking sockets. Basically, it replaces the connect0_bind1 parameter by one flags parameter. | |||||
2011-05-31 | socket: getaddrinfo(): set AI_PASSIVE if we want to bind | Harald Welte | 1 | -0/+3 | |
This will tell getaddrinfo() that we want a INADDR_ANY style socket | |||||
2011-05-29 | socket: remove unused IPv4 related header includes | Harald Welte | 1 | -2/+0 | |
2011-05-24 | socket: Skip ifa's without ifa->ifa_addr | Harald Welte | 1 | -0/+2 | |
Apparently getifaddrs() returns ifa's without an ifa_addr set. | |||||
2011-05-22 | socket: use listen() and SO_REUSEADDR, new osmo_sock_init_ofd() function | Harald Welte | 1 | -1/+34 | |
osmo_sock_init_ofd() is a wrapper around osmo_sock_init() which will take care of initializing and registering a 'struct osmo_fd' for the newly-created socket. | |||||
2011-05-22 | remove debug printf from socket.c | Harald Welte | 1 | -1/+0 | |
2011-05-22 | GSMTAP/socket code: Check for sys/socket.h and conditionally compile | Harald Welte | 1 | -1/+5 | |
2011-05-22 | gsmtap: rework GSMTAP API to be more future-proof0.3.1 | Harald Welte | 1 | -0/+143 | |
* use write_queue where applicable * provide functions that work on raw FD and those with osmo_fd * add support for multiple gsmtap instances (no global variables) |