High speed packet capture
First Claim
Patent Images
1. A method for reading data into an application, the method comprising:
- reading a packet of data captured by a network interface by a network interface driver;
storing the packet in a receiver packet memory;
updating a head indicator, the head indicator identifying the last new packet in the receiver packet memory; and
representing the receiver packet memory as a virtual file.
13 Assignments
0 Petitions
Accused Products
Abstract
Packets can be read from a network interface into an application using a single kernel copy. In one embodiment, the invention includes a receiver packet memory to store captured packets, and a network interface driver operating in a kernel of a device to read packets captured by network interface hardware into the kernel by storing captured packets in the receiver packet memory. Then, an application interface can expose the receiver packet memory to an application executing on the device by representing the receiver packet memory as a virtual file.
194 Citations
21 Claims
-
1. A method for reading data into an application, the method comprising:
-
reading a packet of data captured by a network interface by a network interface driver;
storing the packet in a receiver packet memory;
updating a head indicator, the head indicator identifying the last new packet in the receiver packet memory; and
representing the receiver packet memory as a virtual file. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A capture device comprising:
-
a receiver packet memory to store captured packets;
a network interface driver operating in a kernel of the capture device to read packets captured by network interface hardware into the kernel by storing captured packets in the receiver packet memory; and
an application interface configured to expose the receiver packet memory to an application executing on the capture device by representing the receiver packet memory as a virtual file. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15)
-
-
16. A machine-readable medium having stored thereon data representing instructions that, when executed by a processor running an operating system kernel and at least one application, cause the processor to perform operations comprising:
-
reading a packet of data captured by a network interface by a network interface driver;
storing the packet in a receiver packet memory;
updating a head indicator, the head indicator identifying the last new packet in the receiver packet memory; and
exposing the receiver packet memory to the application by representing the receiver packet memory as a virtual file. - View Dependent Claims (17, 18, 19, 20, 21)
-
Specification