发明名称 Methods and devices for processing incomplete data packets
摘要 A computer implemented method, apparatus, and computer usable program code for processing data packets. A set of data fragments are received at the data processing system to form a set of received data fragments. Assembly of the set of data fragments is initiated into a data packet, and a determination as to whether the data packet is an incomplete data packet. Responsive to a determination that the data packet is an incomplete data packet, the incomplete data packet is filled with at least one character to form a final data packet. The final data packet is forwarded to the target.
申请公布号 US9037745(B2) 申请公布日期 2015.05.19
申请号 US200611334658 申请日期 2006.01.18
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Venkatsubra Venkat;Youngman Richard Perry
分类号 G06F15/16;H04L29/06;H04L1/00;H04L29/14 主分类号 G06F15/16
代理机构 Mitch Harris, Atty at Law, LLC 代理人 Mitch Harris, Atty at Law, LLC ;Harris Andrew M.;Kalaitzis Parashos T.
主权项 1. A computer-performed method of processing data received by a networking protocol stack of a computer system, the method comprising: first receiving multiple fragments of a packet at the networking protocol stack of the computer system, wherein the packet is en-route to a target application for further processing, and wherein the target application selectively sends an indication that the target application can accept incomplete packets if the target application can accept incomplete packets, and wherein if the target application can accept incomplete packets, but requires unfilled incomplete packets, the target application sends a second indication indicating that packets should not be filled; determining that one or more fragments of the packet are missing; selectively, if the target application sent the indication that the target application can accept incomplete packets, second receiving the indication that the target application can accept incomplete packets; selectively, in response to the second receiving the indication that the target application can accept incomplete packets, filling the portions of the packet represented by the fragments with a predetermined constant value to produce a filled packet; further selectively, in response to the second receiving the indication that the target application can accept incomplete packets, sending the filled packet onward in the networking stack of the computer system to a target application, wherein if the target application did not send the indication that the target application can accept incomplete packets, whereby if the indication is not received by the second receiving, the filling and the sending are not performed and the packet is rejected; and third receiving the second indication from the application that packets should not be filled, wherein the filling is further performed selectively in response to whether the second indication was received, and wherein the sending sends the filled packet if the second indication was not received and sends an unfilled packet if the second indication was received.
地址 Armonk NY US