add new code for ethernet buffer
add eth_lib.cc