initial re-integrate p2p
move back some system to libdnds
Merge branch 'master' into p2p
add print for debug purpose
create a new p2p session object that will be added into the ftable
look for the destination mac addr, and return the associated session
fake authed for testing
add debug info
add debug...
trace incoming packet
link peer and netc
add debug info about mbuf_itr
print macaddr
pass the right on_input ptr !
alloc the session only if 'netc' is non-null, return otherwise
launch the p2p connection in a thread
remove debugging printf
add missing prototype
remove debug print
add a comment properly...
fix: 'msg' is freed after the thread is created
pass the arguments directly