Hi,
I will provide documented and tested code.
My approach would be to use raw sockets.
Are you able to compile for that ARM server? If not we need to find a cross-compiler.
Which protocols are you interested to print out (pretty-print) ?
What about pretty-printing TCP, UDP, ICMP and for the other just count them or print their Ethernet and IP headers (if exists)?
I'm looking forward to working with you!