摘要 |
A packet accounting machine has a packet detector that detects a packet read source and destination addresses, a port number and the number of bytes included in the packet and transfers them to a flow processing unit. A flow processing unit acquires a flow identifier, sending and receiving accounting coefficients and sends them together with the number of bytes in the packet to a flow counter control unit. The flow counter control unit adds the number of bytes to the number of bytes included in packets stored in a flow counter and instructs the flow counter to store the sending and receiving accounting coefficients. An accounting calculator reads the number of bytes in the packets, the sending and receiving accounting coefficients from the flow counter, calculates accounting on the sending and receiving sides and records them in the accounting recorder.
|