Many constants of these forms, documented in the Linux documentation, are also defined in the socket module.
socket/PF_PACKET
PF_PACKET