发明申请
- 专利标题: NETWORK PACKET CAPTURING METHOD
- 专利标题(中): 网络包捕获方法
-
申请号: US12042832申请日: 2008-03-05
-
公开(公告)号: US20090225767A1公开(公告)日: 2009-09-10
- 发明人: Xian-Guang Song , Xing-Jia Wang , Tom Chen , Win-Harn Liu
- 申请人: Xian-Guang Song , Xing-Jia Wang , Tom Chen , Win-Harn Liu
- 申请人地址: TW Taipei
- 专利权人: INVENTEC CORPORATION
- 当前专利权人: INVENTEC CORPORATION
- 当前专利权人地址: TW Taipei
- 主分类号: H04L12/56
- IPC分类号: H04L12/56
摘要:
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.
信息查询