高性能网络数据接收方法及其系统

提供了高性能网络数据接收方法及其系统。所提供的高性能网络接收网络包的方法,包括:获取网络包描述符;若存在同网络包描述符对应的套接字描述符关联的应用接收缓存,将网络包描述符对应的网络包搬移到所述应用接收缓存;若不存在同网络包描述符对应的套接字描述符关联的应用接收缓存,根据网络包描述符与套接字描述符生成PNode节点并添加到PNode链表。 A high-performance network data receiving method and a system thereof are provided. The high-performance network data receiving me...

Full description

Saved in:
Bibliographic Details
Format Patent
LanguageChinese
Published 09.02.2021
Subjects
Online AccessGet full text

Cover

More Information
Summary:提供了高性能网络数据接收方法及其系统。所提供的高性能网络接收网络包的方法,包括:获取网络包描述符;若存在同网络包描述符对应的套接字描述符关联的应用接收缓存,将网络包描述符对应的网络包搬移到所述应用接收缓存;若不存在同网络包描述符对应的套接字描述符关联的应用接收缓存,根据网络包描述符与套接字描述符生成PNode节点并添加到PNode链表。 A high-performance network data receiving method and a system thereof are provided. The high-performance network data receiving method comprises the following steps: acquiring a network packet descriptor; if an application receiving cache associated with a socket descriptor corresponding to the network packet descriptor exists, moving the network packet corresponding to the network packet descriptor to the application receiving cache; and if the application receiving cache associated with the socket descriptor corresponding to the network packet descriptor does not exist, generating a PNode node according to the network packet descriptor and the socket descriptor, and adding the PNode node to the PNode linked list.
Bibliography:Application Number: CN202010373674