finish if_pigeon
add lib/if_tun.c and tests/tun.c