packet: move some common code out of wrapper.c and util.c

This commit is contained in:
Nick Thomas
2013-08-06 14:34:53 +01:00
parent 94b451a1ac
commit 202b77bb57
6 changed files with 80 additions and 75 deletions

View File

@@ -14,8 +14,6 @@
void* xmalloc( size_t bytes );
int create_tun( const char* name );
void compute_ip_checksum( struct iphdr* pkt );
int link_set_up( char *link_name, int state );