[sr-dev] git:4.4:e6dd2c17: core: test if AF_PACKET is defined at compile time