Jianq Chyun IP Office
Method for handling multiple network packets
A method for handling multiple network packets is provided. The method is suitable for an embedded system connected to a network, wherein the embedded system includes a network device driver module and a simplified TCP/IP stack module. First, a plurality of network packets are received by the network device driver module. Then, each time when the network device driver module copies one of the network packets into a buffer of the simplified TCP/IP stack module, a packet length of the copied network packet is recorded in a packet information table. Thereafter, the network packets are obtained from the buffer one at a time according to the packet lengths recorded in the packet information table and analyzed by the simplified TCP/IP stack module. Thereby, multiple network packets can be handled correctly even in an environment wherein a simplified TCP/IP stack is used.
Sunplus Technology Co., Ltd.
H H H H
H04L H04L H04L H04L
inventional inventional inventional inventional
Shih-Ting Yu-Chi Yung-Yu
Ou Yang Chen Lin