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