Fix a few bugs, tentative tun multiqueue support

This commit is contained in:
Nick Thomas
2013-08-22 02:03:31 +01:00
parent 1cdf838ac9
commit f36089eb23
5 changed files with 195 additions and 108 deletions

View File

@@ -31,6 +31,7 @@ struct peer_context {
typedef struct peer_context PeerCtx;
struct rloc {
int in_use;
short family;
union {
struct in_addr ip4;
@@ -98,7 +99,7 @@ int rlocs_find_two_ipv4(
struct peer_context *rlocs_get_peer_ctx( struct rlocs *reg, struct rloc *x, struct rloc *y );
int rloc_add_private_key( struct rloc *rloc, char *filename );
int rlocs_add_private_key( struct rlocs *reg, struct rloc *rloc, char *filename );
void rlocs_debug_output( struct rlocs *reg );