title: How to open layer 2 raw sockets in java?
body: <p>How to open layer 2 raw sockets in java? In C we generally use AF_PACKET level for opening layer 2 raw sockets with sockaddr_ll structure. What's corresponding socket package for Layer 2 programming?</p>