发明名称 Method and Apparatus for Processing Data Packet Based on Parallel Protocol Stack Instances
摘要 A method and an apparatus for processing a data packet based on parallel protocol stack instances and the method includes determining a distribution policy of a data packet according to distribution policy information of a network adapter, determining a first protocol stack instance according to the distribution policy of the data packet, and creating a target socket in the first protocol stack instance such that when the data packet is distributed to the first protocol stack instance, the first protocol stack instance performs protocol processing on the data packet using the target socket. Hence, a case in which a protocol stack instance that is specified for the target socket by an application conflicts with a protocol stack instance specified by a network adapter is avoided, and a technical problem that protocol processing cannot be performed on the data packet is resolved.
申请公布号 US2016337482(A1) 申请公布日期 2016.11.17
申请号 US201615222741 申请日期 2016.07.28
申请人 Huawei Technologies Co., Ltd. 发明人 Gu Qiang;Wen Liufei
分类号 H04L29/06;H04L29/08 主分类号 H04L29/06
代理机构 代理人
主权项 1. A method for processing a data packet based on parallel protocol stack instances, comprising: obtaining distribution policy information of a network adapter; determining a distribution policy of the data packet according to the distribution policy information; obtaining an instruction of an application to create a target socket; determining a first protocol stack instance according to the distribution policy of the data packet; creating the target socket in the first protocol stack instance; and performing, by the first protocol stack instance, protocol processing on the data packet using the target socket.
地址 Shenzhen CN