发明申请
US20090225767A1 NETWORK PACKET CAPTURING METHOD 审中-公开
网络包捕获方法

NETWORK PACKET CAPTURING METHOD
摘要:
A network packet capturing method for capturing a plurality of packets from a physical layer to an application layer by a network server through a network card is described. The packet capturing method includes the following steps. Capture packets by a new application interface (NAPI); set a ring queue in a kernel; provide a hook process for capturing the packets; store the captured packets into the ring queue; and map the packets stored in the ring queue into a memory space of a corresponding application through memory mapping, thereby reducing the number of interrupts of the system and the number of replications during the packets parsing.
信息查询
0/0