US 6845397 Interface method and system for accessing inner layers of a network protocol

ABSTRACT

A method of performing network communications includes receiving a datagram for transmitting information over a network, selecting a layer in a network protocol stack to establish communication over the network using an inner layer application programming interface (IL API), establishing an inner layer socket at the selected network layer using the IL API without accessing other layers in the layered network protocol stack, and transmitting the datagram packet over the selected layer using the inner layer socket.

FIELD OF THE INVENTION

The present invention relates to the field of computer data networking and an interface method and system for accessing inner layers of a network protocol.

BACKGROUND OF THE INVENTION

The use of layered data communications protocols promotes system interoperability, vendor portability and simplicity in system integration. Each protocol layer operates at a different layer of abstraction and performs different types of data manipulation and formatting. Because each layer is concerned with events at its own level of abstraction, different software designers can work together to design the protocols. Layers of the network protocol can also be replaced individually without significant communication incompatibilities problems arising.

The Internet Protocol (IP) stack is a widely used layered communication protocol. Applications use the IP stack to transmit and receive data over a variety of different local and wide area networks. Typically, a transmitting application passes application data to a transport layer in the IP stack, which in turn adds routing information to the data and passes the results to a data link layer. The data link layer also adds additional header information and passes the resulting information to a physical layer, where it is finally transmitted over the network.

A receiving application associated with a receiving IP stack receives and processes the information. Each layer of the receiving IP stack performs various communication functions and format conversions in reverse going from the physical layer, the data link layer, the network layer, the transport layer, and then to the receiving application. In a conventional network, applications send and receive messages from each other and use the IP stack as a conduit for data. Notwithstanding these messages, other information being transmitted between the sending and receiving IP stacks is not typically made available to either the sending or receiving applications.

While layered protocols such as used in a conventional IP stack have some advantages, they are have been obtained by lowering programmatic flexibility. For example, application data is encapsulated with protocol-generated headers whose content cannot be accessed and controlled by the application itself. Applications are masked from the inner operation of a network protocol and network operation. This inflexibility makes it difficult for an application to send data encapsulated with a non-standard header when required or monitor operation of the network.

SUMMARY OF THE INVENTION

A method of performing network communications includes receiving a datagram for transmitting information over a network, selecting a layer in a network protocol stack to establish communication over the network using an inner layer application programming interface (IL API), establishing an inner layer socket at the selected network layer using the IL API without accessing other layers in the layered network protocol stack, and transmitting the datagram packet over the selected layer using the inner layer socket.

Share
Published by
Tal Lavian

Recent Posts

US 8619793 Dynamic assignment of traffic classes to a priority queue in a packet forwarding device

An apparatus and method for dynamic assignment of classes of traffic to a priority queue. Bandwidth consumption by one or…

1 year ago

US 8572303 Portable Universal Communication Device

Embodiments of the invention provide a portable device comprising at least one processor. The portable device also comprises a memory…

1 year ago

US 8341257 Grid proxy architecture for network resources

A Grid Proxy Architecture for Network Resources (GPAN) is proposed to allow Grid applications to access resources shared in communication…

1 year ago

US 8161139 Method and apparatus for intelligent management of a network element

A network element (NE) includes an intelligent interface (II) with its own operating environment rendering it active during the NE…

1 year ago

US 8146090 Time-value curves to provide dynamic QoS for time sensitive file transfer

A method and apparatus has been shown and described which allows Quality of Service to be controlled at a temporal…

1 year ago

US 6970943 Routing architecture including a compute plane configured for high-speed processing of packets to provide application layer support

The present invention provides a routing architecture including a control plane, a compute plane, and a forward plane. The forward…

1 year ago