Alright, I'm not sure if this is the right place for this but here it goes. I am working on a group project for my network security course. The basic concept is to encrypt/decrypt NFS data packets, but outside the kernel, i.e., capture the entire NFS packet, encrypt it, put encrypted data in another packet, decrypt it, and finally give it to the kernel on the other side. Now this is mostly a proof of concept project and I know it will be slow and a host of other things are wrong here. What I need to know is; how do I go about grabbing a packet from the network?