A network device, which includes a port, a tag generation unit and a flow
control module, is provided. The port, which is connected to a network
entity, is configured to send and receive a data packet. The tag
generation unit is configured to generate a tag based upon the network
entity. The tag generation unit is also configured to add the tag to the
data packet and to activate the tag. The flow control module is coupled
with a buffer, and is configured to control storage of the data packet
into the buffer. The flow control module is also coupled with the port,
and is configured to control a communication session conducted between
the network device and the network entity based upon the tag.