摘要:
A system for socket-level packet scheduling over connectionless network protocols includes a processor and a memory coupled to the processor. The memory contains program instructions executable by the processor to implement an operating system including a packet scheduler for scheduling data transmissions via a connectionless network protocol. In response to a request from an application specifying one or more desired performance metrics for a data transfer via the connectionless network protocol, the packet scheduler is configured to schedule the data transfer in accordance with the one or more desired performance metrics.
摘要:
A system for atomic file transfer operations over connectionless network protocols includes a processor and a memory coupled to the processor. The memory contains program instructions executable by the processor to implement an operating system including a system call interface for sending one or more data files to another system over a network via a connectionless network protocol. In response to an invocation of the system call by an application, the operating system is configured to send the one or more data files to the other system over the network without the application copying contents of the data files into application address space.
摘要:
A method for receiving network communication at a host is provided. The host has a network interface card (NIC) for receiving the network communication from a network. Data is requested through an application. A set of buffers (e.g., A, B, C, . . . ) is posted to system memory. Information regarding the set of buffers is passed to an adaptation layer. The adaptation layer is interposed between a socket layer and a transport layer of the protocol stack. The set of buffers identified in the adaptation layer is assigned expected sequence numbers (e.g., SN1, SN2, SN3 . . . ) for a sequence of incoming data (e.g., S1, S2, S3, . . . ). The adaptation layer reshuffles data of the sequence of incoming data to the set of buffers according to the expected sequence numbers. The expected sequence numbers are consecutively ordered to ensure that the sequence of incoming data in the ordered sequence is placed to the set of buffers according to the expected sequence numbers.
摘要:
Embodiments of the present invention are directed to a method and system for processing data to be transmitted in a transmission medium, including storing in memory a segment of data to be transmitted where the segment of data is larger than the largest size data packet allowed for transmission by the transmission medium. A socket layer batch processes the segment to produce an array of linked data blocks where each data block is smaller than the largest transmission size of the TCP layer. A TCP layer batch processes the array to add a first header to each block of the array of linked data blocks. An IP layer batch processes the array to add a second header to each block of the array of linked data blocks. The socket layer then identifies blocks of the array to a communication subsystem for individual packet communication over the transmission medium.
摘要:
The described embodiments include a system that configures a network interface. During operation, the system receives a signal from an operating system indicating that the network interface can be idled. The signal is sent from the operating system as soon as the operating system determines that a final route structure that depended on the network interface has expired and been deleted. The system then determines if an application has established a route that uses the network interface since the signal was sent from the operating system. If not, the system causes the network interface to be idled. Otherwise, the system leaves the network interface in a current operating state.
摘要:
The disclosed embodiments provide a system that shares an Internet connection. During operation, the system provides, on an electronic device, an external interface with the Internet connection and a set of internal interfaces sharing the external interface. Upon detecting a support of Internet Protocol version 6 (IPv6) by the external interface, the system configures the electronic device to provide IPv6 connectivity to the internal interfaces. First, the system provides an IPv6 router to client devices connected to the internal interfaces. Next, the system uses the IPv6 router and an IPv6 prefix from the Internet connection to perform prefix proxying with the client devices.
摘要:
The described embodiments provide a system that controls the operating state of a network interface. During operation, in response to receiving a request from an application to use the network interface for a route, the system creates a route structure for the route and increments a route reference counter in an interface data structure for the network interface. Upon subsequently determining that the application is no longer using the route, the system sets a route expiration timer in the route structure to a predetermined expiration time. When the route expiration timer expires, the system deletes the route structure and decrements the route reference counter in the interface data structure. When decrementing the route reference counter in the interface data structure causes the route reference counter to be equal to zero, the system sends a signal to a configuration application to inform the application that the network interface can be idled.
摘要:
A method and apparatus of a device that determines if an address is reachable based on the time the device has received a packet with the address of another device is described. The device receives a packet for transmission to the other device, where the packet includes an address of the second device. The device determines if that address is reachable based on a time that the device receives another packet from the second device. The device further receives another packet from the second device and stores the time the device received the other packet in a reachability record corresponding to that address.
摘要:
An apparatus and method are described for managing router and communication interfaces. For example, one embodiment of a method implemented on a computing device having a plurality of communication interfaces comprises: receiving a plurality of router advertisement packets indicating a preference level of each of a plurality of routers, each of the plurality of routers reachable through one of the communication interfaces on the computing device; designating one of the communication interfaces as a primary interface and the remainder of the communication interfaces as scoped interfaces; specifying a primary router for the primary interface based on a preference level associated with the primary router, the primary router selected from a group of all of the routers reachable through the primary interface; and specifying a default router for each of the scoped interfaces based on a preference level of each default router, each default router selected from a group of all of the routers reachable through its scoped interface.
摘要:
An apparatus and method are described for managing router and communication interfaces. For example, one embodiment of a method implemented on a computing device having a plurality of communication interfaces comprises: receiving a plurality of router advertisement packets indicating a preference level of each of a plurality of routers, each of the plurality of routers reachable through one of the communication interfaces on the computing device; designating one of the communication interfaces as a primary interface and the remainder of the communication interfaces as scoped interfaces; specifying a primary router for the primary interface based on a preference level associated with the primary router, the primary router selected from a group of all of the routers reachable through the primary interface; and specifying a default router for each of the scoped interfaces based on a preference level of each default router, each default router selected from a group of all of the routers reachable through its scoped interface.