# US 2013/0297774 A1 · Avoiding delayed data

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0297774 A1
- Document ID: US20130297774A1
- Status: Published application
- Kind: A1
- Application number: 13/789,221
- Filed: 2013-03-07
- Published: 2013-11-07
- Earliest claimed: 2012-05-02
- Assignees: Solarfare Communications, Inc.
- Applicants: Solarflare Communications, Inc.
- Inventors: Steve L. Pope; David J. Riddoch; Kieran Mansley
- Web page: https://patentgrep.com/patent/US20130297774A1

## CPC

- H04L 41/083: for increasing network speed
- H04L 47/286: {Time to live}
- H04L 47/32: by discarding or delaying data units, e.g. packets or frames
- H04L 47/564: {Attaching a deadline to packets, e.g. earliest due date first}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Roughly described, a network interface device receiving data packets from a computing device for transmission onto a network, the data packets having a certain characteristic, transmits the packet only if the sending queue has authority to send packets having that characteristic. The data packet characteristics can include transport protocol number, source and destination port numbers, source and destination IP addresses, for example. Authorizations can be programmed into the NIC by a kernel routine upon establishment of the transmit queue, based on the privilege level of the process for which the queue is being established. In this way, a user process can use an untrusted user-level protocol stack to initiate data transmission onto the network, while the NIC protects the remainder of the system or network from certain kinds of compromise.

## Claims

### Claim 1

A data processing system for selectively transmitting data onto a network, the data processing system comprising:
an application configured to form data for transmission and cause a timestamp to be generated and associated with the data for transmission;
a network protocol stack configured to form the data for transmission into one or more network messages for transmission over a network connection, the one or more network messages being associated with the timestamp; and
a delay determination unit configured to, immediately prior to the one or more network messages being transmitted onto the network by means of a network interface device, check the timestamp to determine the time elapsed from the time represented by the timestamp and, if the time elapsed is greater than a maximum period, cause the one or more network messages to be discarded.

### Claim 2 (depends on 1)

A data processing system as claimed in claim 1, wherein the network protocol stack is configured to generate the timestamp in response to the application requesting transmission of the data for transmission.

### Claim 3 (depends on 2)

A data processing system as claimed in claim 2, wherein the application is configured to request transmission of the data for transmission by means of one or more calls to a socket library.

### Claim 4 (depends on 1)

A data processing system as claimed in claim 1, wherein the application is configured to generate the timestamp on forming the data for transmission and the network protocol stack is configured to receive the timestamp on accessing the data for transmission.

### Claim 5 (depends on 1)

A data processing system as claimed in claim 1, wherein the timestamp indicates the time at which the timestamp is generated.

### Claim 6 (depends on 1)

A data processing system as claimed in claim 1, wherein the network protocol stack is configured to include the timestamp in the one or more network messages, optionally in the metadata of the one or more network messages.

### Claim 7 (depends on 1)

A data processing system as claimed in claim 1, wherein the delay determination unit is provided at the network interface device.

### Claim 8 (depends on 7)

A data processing system as claimed in claim 7, wherein the delay determination unit is provided at the interface controller of the network interface device.

### Claim 9 (depends on 7)

A data processing system as claimed in claim 7, wherein the network interface device includes a DMA controller and the delay determination unit is configured to check the timestamp in response to the DMA controller retrieving the one or more network messages from a transmit queue of the data processing system.

### Claim 10 (depends on 1)

A data processing system as claimed in claim 1, wherein the network protocol stack includes the delay determination unit and the delay determination unit is configured to check the timestamp on queuing the one or more network messages at a transmit queue for retrieval by the network interface device.

### Claim 11 (depends on 1)

A data processing system as claimed in claim 1, wherein, on discarding the one or more network messages, the network connection is reset or the transmission of any further network messages over the network connection is disabled.

### Claim 12 (depends on 1)

A data processing system as claimed in claim 1, wherein the network protocol stack is configured to notify the application if the one or more network messages are discarded.

### Claim 13 (depends on 1)

A data processing system as claimed in claim 1, wherein the network protocol stack is configured to, on generating a network message for retransmission, include in the network message for retransmission the timestamp included in the original network message for transmission.

### Claim 14 (depends on 1)

A data processing system as claimed in claim 1, further comprising a control interface by means of which the application can specify the maximum period to the delay determination unit for the network connection or in respect only of the data for transmission.

### Claim 15 (depends on 14)

A data processing system as claimed in claim 14, wherein the control interface is further configured to, in response to a suitable request from the application, cause the network protocol stack to indicate to the application those network messages that have been discarded by the delay determination unit.

### Claim 16 (depends on 14)

A data processing system as claimed in claim 14, wherein the control interface is further configured to, in response to a suitable request from the application, cause the network protocol stack to indicate to the application whether the network connection has been reset or disabled.

### Claim 17 (depends on 14)

A data processing system as claimed in claim 14, wherein the delay determination unit is configured to, if the time elapsed does not exceed the maximum period, allow the one or more network messages to be transmitted onto the network by means of the network interface device, and the network protocol stack is configured to, on an acknowledgement message being received from the remote endpoint of the network connection indicating that the remote endpoint has received one or more of the network messages, generating an acknowledgment timestamp so as to record when the acknowledgement message is received at the data processing system.

### Claim 18 (depends on 17)

A data processing system as claimed in claim 17, wherein the control interface is further configured to, in response to a suitable request from the application, cause the network protocol stack to provide a representation of the acknowledgment timestamp to the application.

### Claim 19 (depends on 1)

A data processing system as claimed in claim 1, wherein the application is further configured to provide the maximum period to the network protocol stack with the data for transmission.

### Claim 20 (depends on 1)

A data processing system as claimed in claim 1, wherein the delay determination unit is configured to, on causing one or more network messages to be discarded, cause an event indicating which network messages have been discarded to be written to an event queue of the application.

### Claim 21

A method for selectively transmitting data onto a network from a data processing system supporting at least one application and a network interface device, the at least one application being operable to transmit data over a network by means of the network interface device, the method comprising:
forming data for transmission at an application;
generating a timestamp and associating the timestamp with the data for transmission;
subsequently, forming the data for transmission into one or more network messages for transmission over the network, the one or more network messages being associated with the timestamp; and
immediately prior to the one or more network messages being transmitted onto the network, checking the timestamp to determine the time elapsed from the time represented by the timestamp and, if the time elapsed is greater than a maximum period, causing the one or more network messages to be discarded.

### Claim 22

A method for avoiding retransmission of network messages at a data processing system supporting an application and a network protocol stack operable to transmit network messages in accordance with a network communication protocol supporting message retransmission, the method comprising:
forming a network message from data provided by an application;
the application indicating that retransmissions are to be disabled in respect of the network message;
the network protocol stack causing the network message to be transmitted over a network connection; and
on the expiry of a retransmission period without an acknowledgement being received at the network protocol stack in respect of the transmitted network message, the network protocol stack discarding the network message and abandoning the message retransmission.

### Claim 23 (depends on 22)

A method as claimed in claim 22, wherein the expiry of the retransmission period is indicated by the expiry of a retransmission timer established by the network protocol stack.

### Claim 24 (depends on 22)

A method as claimed in claim 22, wherein the expiry of the retransmission period is indicated by a notification received from the remote endpoint of the network connection that the network message has not been received.

### Claim 25 (depends on 22)

A method as claimed in claim 22, wherein the network communication protocol is TCP and the method further comprises, if a plurality of duplicate TCP acknowledgement messages are received prior to the expiry of the retransmission period, the network protocol stack suppressing retransmission of the network message according to the TCP fast retransmission algorithm.

### Claim 26 (depends on 22)

A method as claimed in claim 22, wherein the application is configured to indicate to the network protocol stack that retransmissions are to be disabled in respect of the network connection by means of a control interface.

### Claim 27 (depends on 22)

A method as claimed in claim 22, wherein the application is configured to indicate to the network protocol stack that retransmissions are to be disabled in respect of the network message by means of a notifier provided with the data from which the network message is formed.

### Claim 28

A method for filtering data in a communication system comprising first and second data processing systems connected to a network, each of the first and second data processing systems supporting an application and a network interface device, the method comprising:
at a first data processing system:
signaling to a second data processing system a first maximum period;
forming a network message from data provided by an application of the first data processing system, the network message including a timestamp; and
a network interface device of the first data processing system transmitting the network message over a network connection to the second data processing system;
and at the second data processing system:
receiving the network message;
determining the time elapsed since the time represented by the timestamp; and
if the time elapsed since the time represented by the timestamp exceeds the first maximum period, discarding the network message.

### Claim 29 (depends on 28)

A method as claimed in claim 28, wherein the step of forming the network message is performed at a network protocol stack of the first data processing system configured to generate the timestamp in response to the application of the first data processing system requesting transmission of the data.

### Claim 30 (depends on 28)

A method as claimed in claim 28, wherein the timestamp indicates the time at which the timestamp is generated.

### Claim 31 (depends on 28)

A method as claimed in any of claims 28, wherein the network protocol stack is configured to include the timestamp in metadata of the network messages.

### Claim 32 (depends on 28)

A method as claimed in claim 28, wherein the step of signaling the first maximum period comprises including the first maximum period in metadata of the network messages.

### Claim 33 (depends on 28)

A method as claimed in claim 28, wherein the step of signaling the first maximum period comprises signaling the first maximum period in respect of: the network message, the network connection, and all of the network connections of the application at the first data processing system.

### Claim 34 (depends on 28)

A method as claimed in claim 28, wherein the step of signaling the first maximum period is performed during negotiation of the network connection.

### Claim 35 (depends on 34)

A method as claimed in claim 34, wherein the network connection is a TCP connection and the signaling step is performed during the SYN/SYN-ACK handshake.

### Claim 36 (depends on 28)

A method as claimed in claim 28, wherein the step of discarding the network message comprises closing the network connection or disabling transmission of any further network messages over the network connection.

### Claim 37 (depends on 28)

A method as claimed in claim 28, wherein the step of determining the time elapsed since the time represented by the timestamp is performed in response to an application at the second data processing system requesting reception of the network message, the application at the second data processing system being the endpoint of the network connection.

### Claim 38 (depends on 37)

A method as claimed in claim 37, wherein the application at the second data processing system requests reception of the network message by means of a socket library of the second data processing system.

### Claim 39 (depends on 28)

A method as claimed in claim 28, further comprising, prior to transmitting the network message, the first data processing system:
determining the time elapsed since the time represented by the timestamp; and
if the time elapsed since the time represented by the timestamp exceeds a second maximum period, discarding the network message and not transmitting the network message over the network connection.

### Claim 40 (depends on 28)

A method as claimed in claim 28, further comprising the step of synchronising clocks at the first and second data processing systems in accordance with an IEEE 1588 protocol.

### Claim 41 (depends on 28)

A method as claimed in claim 28, further comprising, if the time elapsed since the time represented by the timestamp exceeds the first maximum period, a network protocol stack of the second data processing system notifying the application of the first data processing system that the network message has been discarded.

### Claim 42 (depends on 41)

A method as claimed in claim 41, wherein notifying the application that the network message has been discarded comprises indicating to the application of the first data processing system that the network message has not been delivered to its endpoint and/or that the network connection has been reset and/or that further transmissions over the network connection have been disabled.

### Claim 43 (depends on 28)

A method as claimed in claim 28, further comprising at the second data processing system, if the time elapsed since the time represented by the timestamp does not exceed the first maximum period:
delivering the network message to an application of the second data processing system;
forming a notification message including an indication of the time at which the network message is delivered to the application of the second data processing system; and
transmitting the notification message to first data processing system.

### Claim 44 (depends on 43)

A method as claimed in claim 43, wherein the notification message is directed to a network protocol stack of the first data processing system and the application of the first data processing system is operable to access the indication of the time at which the network message is delivered by means of a control API at the first data processing system.
