I am trying to send out an ARP request with python, working with dpkt, and I found some sample code that uses:
socket.socket(socket.PF_PACKET, socket.SOCK_RAW)
I understand that you need to use raw sockets to send this, but it says that socket.PF_PACKET doesn't exist. And there is nothing in the python docs about it that I have seen. So, where would this person have gotten PF_PACKET from, what would it do, and how can I get it?