FAST LOOKUP AND UPDATE OF CURRENT HOP LIMIT
First Claim
1. A method for transmitting packets from a communications device, the method comprising:
- traversing a search tree to locate a node that corresponds to a particular connection, wherein the search tree comprises a plurality of nodes, each node pointing to a data structure of a corresponding connection;
updating a copy of a particular parameter that is cached in the data structure pointed to by the located node;
transmitting a data packet for the particular connection by retrieving said data structure for the particular connection and inserting the updated copy of the particular parameter into the data packet.
2 Assignments
0 Petitions
Accused Products
Abstract
In order to facilitate efficient and scalable lookup of current hop limits of transmitted packets, a communications device embeds hop limit values along with other connection parameters in a connection data structure. To transmit a packet for a particular connection, the communications device retrieves the data structure for the particular connection and applies the hop limit value embedded in the data structure to the packet for transmission. To keep track of the hop limits being embedded in different data structures of different connections, the communications device use a binary search in which each node of the search tree correspond to a different connection. The communications device maintains one such search tree per communications interface.
-
Citations
20 Claims
-
1. A method for transmitting packets from a communications device, the method comprising:
-
traversing a search tree to locate a node that corresponds to a particular connection, wherein the search tree comprises a plurality of nodes, each node pointing to a data structure of a corresponding connection; updating a copy of a particular parameter that is cached in the data structure pointed to by the located node; transmitting a data packet for the particular connection by retrieving said data structure for the particular connection and inserting the updated copy of the particular parameter into the data packet. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A communications device comprising:
-
a transmit module for assembling packets for transmission for a plurality of different connections, wherein assembling a packet for a connection comprises retrieving a data structure for the connection, wherein each data structure for a connection embeds a copy of a current hop limit value; and a hop limit update module for updating the copies of the current hop limit value that are embedded in the data structures of the plurality of different connections. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A method for transmitting packets from a communications device, the program executable on one or more processing units, the comprising:
-
transmitting packets for a plurality of different connections over a communications interface, each connection associated with a corresponding connection data structure, each connection data structure comprising a copy of a particular parameter of the communications interface, wherein transmitting a packet for particular connection comprises retrieving the corresponding connection data structure; receiving a value for the particular parameter of the communications interface; and updating the copies of the particular parameter in each connection data structure of the plurality of connections to the received value. - View Dependent Claims (18, 19, 20)
-
Specification