Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-03-12 | Use perror where possible | Benjamin Franzke | 1 | -5/+3 | |
2013-03-12 | util: Set SO_BROADCAST for udp eonnect sockets by default | Benjamin Franzke | 1 | -0/+7 | |
So that we can use it for econfind, and do not have the repeat all the code. | |||||
2013-03-12 | util: Log to stderr | Benjamin Franzke | 1 | -2/+2 | |
2013-03-12 | util: bind/connect: log which protocol is used | Benjamin Franzke | 1 | -2/+4 | |
2013-03-12 | util: Fix error string if connection failed | Benjamin Franzke | 1 | -1/+1 | |
2013-03-11 | Add -Wextra and use gnu99 | Benjamin Franzke | 1 | -1/+1 | |
2013-03-10 | Add GPL3 copyright | Benjamin Franzke | 1 | -0/+17 | |
2013-03-10 | util: Add sock_get_hwaddr | Benjamin Franzke | 1 | -0/+17 | |
And use it in econserv, instead of the hardcoded lookup for tap0. | |||||
2013-03-10 | util: Split sock_get_netmask into a utility function sock_get_ifreq | Benjamin Franzke | 1 | -37/+24 | |
Which may be reused for getting e.g. hwaddr. | |||||
2013-03-09 | util: Proper implement sock_get_netmask | Benjamin Franzke | 1 | -0/+39 | |
By looping through all interfaces, search for the ip address we're bound to and use that subnetmask. | |||||
2013-03-09 | util: remove unneeded skeleton | Benjamin Franzke | 1 | -8/+0 | |
2013-03-09 | Add util mostly for socket-based tasks | Benjamin Franzke | 1 | -0/+212 | |