A network device for processing data on a data network including a
plurality of ports, configured to receive data from a data network and to
send processed data to the data network via an egress port, a controller
interface, configured to communicate with an external controller, a
memory management unit, configured store data on and retrieve data from
the memory and a metering unit, configured to police a flow of the
processed data to be sent to the egress port. The metering unit further
includes programmable registers, in communication with the controller
interface, configured to be programmed through controller signals sent
through the controller interface from the external controller, such at
all aspects of the flow of the processed data may be controlled by the
external controller.