Method and apparatus for an improved bulk read socket call

    公开(公告)号:US20060161677A1

    公开(公告)日:2006-07-20

    申请号:US11375785

    申请日:2006-03-15

    IPC分类号: H04L12/26 G06F15/16

    CPC分类号: H04L49/90

    摘要: An apparatus and method for an improved bulk read socket call are provided. With the apparatus and method, a new field, so_rcvlen, is added to the socket structure that identifies the bulk read size requested by the user. The kernel of the prior art recv( ) function is also modified so that it sets the so_rcvlen to the size requested by the user prior to the recv( ) function going to sleep and waiting for the full data size requested by the user. A new flag, SP_MSGWAITALL, is also provided in the socket structure. In the TCP input processing, when data is received for a particular socket, the current setting of the SP_MSGWAITALL is checked. If the SP_MSGWAITALL flag is set, it is determined whether the amount of data stored in the socket receive buffer is less than the value of so_rcvlen. If not, the TCP input processing does not wake up the recv( ) thread. However, for every alternate segment, the TCP input processing sends back an acknowledgment (ACK). In the TCP output processing, when the SP_MSGWAITALL flag is set and the amount of data in the socket receive buffer is less than so_rcvlen, the full window is advertised. Once the TCP input processing determines that there is at least an amount of data in the socket receive buffer equal to the value of so_rcvlen, the TCP input processing will wake up the recv( ) thread and the SP_MSGWAITALL flag is reset.

    Method and apparatus for handling address resolution protocol requests for a device having multiple interfaces
    42.
    发明申请
    Method and apparatus for handling address resolution protocol requests for a device having multiple interfaces 审中-公开
    用于处理具有多个接口的设备的地址解析协议请求的方法和装置

    公开(公告)号:US20060015635A1

    公开(公告)日:2006-01-19

    申请号:US10870525

    申请日:2004-06-17

    IPC分类号: G06F15/16

    摘要: The present invention provides a method and apparatus for handling address resolution protocol requests for a device having multiple interfaces. The method comprises receiving a message transmitted by a remote device to a host. The message includes a request to provide a value representative of an address associated with the host and the message includes a value representative of an address associated with the remote device. The method further comprises comparing at least a portion of the value representative of the address associated with the remote device to a value stored in an address field on a storage unit and discarding the message in response to determining that at least the portion of the value representative of the address associated with the remote device is substantially equal to the value stored in the address field.

    摘要翻译: 本发明提供了一种用于处理具有多个接口的设备的地址解析协议请求的方法和装置。 该方法包括接收由远程设备发送到主机的消息。 消息包括提供代表与主机相关联的地址的值的请求,并且消息包括代表与远程设备相关联的地址的值。 该方法还包括将代表与远程设备相关联的地址的值的至少一部分与存储在存储单元上的地址字段中的值进行比较,并且响应于确定值代表的至少一部分 与远程设备相关联的地址基本上等于存储在地址字段中的值。

    Method, system and article for router-assisted fast processing of packet termination in hosts
    43.
    发明申请
    Method, system and article for router-assisted fast processing of packet termination in hosts 失效
    路由器辅助快速处理主机中分组终止的方法,系统和文章

    公开(公告)号:US20050100010A1

    公开(公告)日:2005-05-12

    申请号:US10703013

    申请日:2003-11-06

    IPC分类号: H04L12/56 H04L29/06

    摘要: A last router in the route of a packet determines when a packet is at the last hop prior to reaching its destination, based on information conveyed in the routing table that the destination is a directly-connected host, and can then convey that information to the host by setting the TTL to zero in the packet being forwarded to its final destination. The host, being so informed that the packet is destined for its IP address, can thereby eliminate the IP address table search for the destination IP address of the incoming packet against the list of its allocated IP addresses to determine if the packet is destined for that host, thereby providing significant performance enhancements to the network system by enabling a receiving host to skip the IP address lookup process and immediately consume the received packet.

    摘要翻译: 根据路由表中传达的信息,目的地是直接连接的主机,分组路由中的最后一个路由器确定分组在达到目的地之前的最后一跳,然后可以将该信息传送到 主机通过在转发到其最终目的地的数据包中将TTL设置为零。 主机被通知该数据包注册其IP地址,从而可以根据其分配的IP地址的列表消除IP地址表搜索传入分组的目的地IP地址,以确定该分组是否注定为该分组 主机,从而通过使接收主机能够跳过IP地址查找过程并立即消耗接收到的分组,来为网络系统提供显着的性能增强。

    Efficient packet desegmentation on a network adapter
    44.
    发明申请
    Efficient packet desegmentation on a network adapter 审中-公开
    网络适​​配器上的高效数据包解密

    公开(公告)号:US20050086390A1

    公开(公告)日:2005-04-21

    申请号:US10687235

    申请日:2003-10-16

    IPC分类号: G06F13/42 G06F15/16 H04L29/06

    摘要: A method, system, and program for efficient packet desegmentation on a network adapter are provided. Multiple data packet segments received at a network adapter from a single connection are buffered at the network adapter. The single connection is identified by addresses and ports extracted from the header of each data packet segment. Responsive to detecting a buffering release condition, the data packet segments are released from the network adapter as a desegmented group to a network stack, such that the data packets segments received for the single connection are efficiently passed to the network stack together. In particular, the single connection is a TCP connection identified by a four-tuple of source and destination addresses and ports extracted from each TCP header of each of said plurality of data packet segments.

    摘要翻译: 提供了一种用于在网络适配器上实现有效的分组分段的方法,系统和程序。 在网络适配器处从单个连接接收的多个数据分组段被缓冲。 单个连接由从每个数据分组段的报头提取的地址和端口来标识。 响应于检测缓冲释放条件,将数据分组片段作为被分组的组从网络适配器释放到网络堆栈,使得为单个连接接收的数据分组片段被有效地传递到网络堆栈。 特别地,单个连接是由从所述多个数据分组段中的每一个的每个TCP报头提取的源和目的地地址和端口的四元组标识的TCP连接。

    Receiving and transmitting devices for providing fragmentation at a transport level along a transmission path
    46.
    发明授权
    Receiving and transmitting devices for providing fragmentation at a transport level along a transmission path 失效
    接收和发送设备,用于沿着传输路径在传输层提供分片

    公开(公告)号:US07804780B2

    公开(公告)日:2010-09-28

    申请号:US12275689

    申请日:2008-11-21

    IPC分类号: G01R31/08 H04L12/28 H04J3/16

    摘要: The present invention provides receiving and transmitting devices for providing fragmentation at a transport level along a transmission path. The transmitting device comprises an interface and a control unit coupled to the interface. The control unit is adapted to negotiate a packet size with a remote device. The control unit is also adapted to transmit a data packet of up to the negotiated size. The control unit is further adapted to receive acknowledgments from the remote device associated with one or more fragments, fragmented at the transport-level, of the transmitted data packet. The receiving device comprises an interface and a control unit coupled to the interface. The control unit is adapted to receive two or more fragments of a data packet transmitted by a remote device. The control unit is also adapted to transmit one or more acknowledgments to the remote device based on the received fragments.

    摘要翻译: 本发明提供了一种用于在沿着传输路径的传输层提供分段的接收和传输设备。 发送设备包括接口和耦合到接口的控制单元。 控制单元适于与远程设备协商分组大小。 控制单元还适于发送高达协商尺寸的数据分组。 所述控制单元还适于从所述远程设备接收与传输数据分组的传输级分段的一个或多个片段相关联的确认。 接收设备包括接口和耦合到接口的控制单元。 控制单元适于接收由远程设备发送的数据分组的两个或多个分段。 控制单元还适于基于接收到的片段向远程设备发送一个或多个确认。

    Method for multicast tunneling for mobile devices
    47.
    发明授权
    Method for multicast tunneling for mobile devices 失效
    移动设备组播隧道方法

    公开(公告)号:US07512085B2

    公开(公告)日:2009-03-31

    申请号:US10875897

    申请日:2004-06-24

    摘要: The present invention provides a method and apparatus for multicast tunneling for mobile devices. The method comprises receiving a multicast packet directed to a plurality of mobile nodes, the mobile nodes being associated with a home subnet and identifying if any of the plurality of the mobile nodes are coupled to a subnet other than the home subnet, wherein each of the identified mobile nodes has an associated transmission path through which that mobile node can be reached. The method further provides that in response to determining that at least some of the mobile nodes are coupled to the subnet other than the home subnet, determining which of the identified mobile nodes has a common next hop in their associated transmission path and generating a packet including at least a portion of the multicast packet and including in the packet a list of mobile nodes that have the common next hop. The method further provides for transmitting the generated packet to the common next hop.

    摘要翻译: 本发明提供一种用于移动设备的组播隧道的方法和装置。 所述方法包括:接收指向多个移动节点的多播分组,所述移动节点与归属子网相关联,并且识别所述多​​个所述移动节点中的任一个是否耦合到除所述归属子网之外的子网,其中, 识别的移动节点具有相关联的传输路径,通过该路径可以到达该移动节点。 该方法进一步规定,响应于确定至少一些移动节点被耦合到除了​​归属子网之外的子网,确定所识别的移动节点中哪一个在其相关联的传输路径中具有共同的下一跳,并且生成包括 所述多播分组的至少一部分并且在分组中包括具有公共下一跳的移动节点的列表。 该方法进一步提供将生成的分组发送到公共下一跳。

    Method and Apparatus for an Improved Bulk Read Socket Call
    48.
    发明申请
    Method and Apparatus for an Improved Bulk Read Socket Call 失效
    改进的批量读取套接字呼叫的方法和装置

    公开(公告)号:US20090070481A1

    公开(公告)日:2009-03-12

    申请号:US12274031

    申请日:2008-11-19

    IPC分类号: G06F15/16

    CPC分类号: H04L49/90

    摘要: An apparatus and method for an improved bulk read socket call are provided. With the apparatus and method, a new field, so_rcvlen, is added to the socket structure that identifies the bulk read size requested by the user. The kernel of the prior art recv( ) function is also modified so that it sets the so_rcvlen to the size requested by the user prior to the recv( ) function going to sleep and waiting for the full data size requested by the user. A new flag, SP_MSGWAITALL, is also provided in the socket structure. In the TCP input processing, when data is received for a particular socket, the current setting of the SP_MSGWAITALL is checked. If the SP_MSGWAITALL flag is set, it is determined whether the amount of data stored in the socket receive buffer is less than the value of so_rcvlen. If not, the TCP input processing does not wake up the recv( ) thread. However, for every alternate segment, the TCP input processing sends back an acknowledgment (ACK). In the TCP output processing, when the SP_MSGWAITALL flag is set and the amount of data in the socket receive buffer is less than so_rcvlen, the full window is advertised. Once the TCP input processing determines that there is at least an amount of data in the socket receive buffer equal to the value of so_rcvlen, the TCP input processing will wake up the recv( ) thread and the SP_MSGWAITALL flag is reset.

    摘要翻译: 提供了一种改进的大容量读取插座呼叫的装置和方法。 使用设备和方法,将新字段so_rcvlen添加到标识用户请求的批量读取大小的套接字结构中。 现有技术recv()函数的内核也被修改,以便在recv()函数进入休眠状态并等待用户请求的完整数据大小之前,将so_rcvlen设置为用户请求的大小。 插座结构中还提供了一个新标志SP_MSGWAITALL。 在TCP输入处理中,当为特定套接字收到数据时,将检查SP_MSGWAITALL的当前设置。 如果设置了SP_MSGWAITALL标志,则确定存储在套接字接收缓冲区中的数据量是否小于so_rcvlen的值。 如果没有,TCP输入处理不会唤醒recv()线程。 然而,对于每个备用段,TCP输入处理发回确认(ACK)。 在TCP输出处理中,当设置了SP_MSGWAITALL标志并且套接字接收缓冲区中的数据量小于so_rcvlen时,将通告完整窗口。 一旦TCP输入处理确定套接字接收缓冲区中至少有一定数量的数据等于so_rcvlen的值,则TCP输入处理将唤醒recv()线程,并重置SP_MSGWAITALL标志。

    Method and apparatus for an improved bulk read socket call
    50.
    发明授权
    Method and apparatus for an improved bulk read socket call 失效
    用于改进大容量读取套接字呼叫的方法和装置

    公开(公告)号:US07469296B2

    公开(公告)日:2008-12-23

    申请号:US11375785

    申请日:2006-03-15

    CPC分类号: H04L49/90

    摘要: An apparatus and method for an improved bulk read socket call are provided. With the apparatus and method, a new field, so_rcvlen, is added to the socket structure that identifies the bulk read size requested by the user. The kernel of the prior art recv( ) function is also modified so that it sets the so_rcvlen to the size requested by the user prior to the recv( ) function going to sleep and waiting for the full data size requested by the user. A new flag, SP_MSGWAITALL, is also provided in the socket structure. In the TCP input processing, when data is received for a particular socket, the current setting of the SP_MSGWAITALL is checked. If the SP_MSGWAITALL flag is set, it is determined whether the amount of data stored in the socket receive buffer is less than the value of so_rcvlen. If not, the TCP input processing does not wake up the recv( ) thread. However, for every alternate segment, the TCP input processing sends back an acknowledgment (ACK). In the TCP output processing, when the SP_MSGWAITALL flag is set and the amount of data in the socket receive buffer is less than so_rcvlen, the full window is advertised. Once the TCP input processing determines that there is at least an amount of data in the socket receive buffer equal to the value of so_rcvlen, the TCP input processing will wake up the recv( ) thread and the SP_MSGWAITALL flag is reset.

    摘要翻译: 提供了一种改进的大容量读取插座呼叫的装置和方法。 使用设备和方法,将新字段so_rcvlen添加到标识用户请求的批量读取大小的套接字结构中。 现有技术recv()函数的内核也被修改,以便在recv()函数进入休眠状态并等待用户请求的完整数据大小之前,将so_rcvlen设置为用户请求的大小。 插座结构中还提供了一个新标志SP_MSGWAITALL。 在TCP输入处理中,当为特定套接字收到数据时,将检查SP_MSGWAITALL的当前设置。 如果设置了SP_MSGWAITALL标志,则确定存储在套接字接收缓冲区中的数据量是否小于so_rcvlen的值。 如果没有,TCP输入处理不会唤醒recv()线程。 然而,对于每个备用段,TCP输入处理发回确认(ACK)。 在TCP输出处理中,当设置了SP_MSGWAITALL标志并且套接字接收缓冲区中的数据量小于so_rcvlen时,将通告完整窗口。 一旦TCP输入处理确定套接字接收缓冲区中至少有一定数量的数据等于so_rcvlen的值,则TCP输入处理将唤醒recv()线程,并重置SP_MSGWAITALL标志。