1. An apparatus for providing security and monitoring in a networking architecture, comprising: a physical layer interface including a physical layer receiver and a decoder for converting physical layer data from said physical layer receiver to data link layer information, wherein said decoder processes input data corresponding to said physical layer data based on rules conditioned on higher layer information to generate output data corresponding to said data link layer information; and a controller for provisioning said physical layer interface.