发明名称 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, where lower-layer protocol processing is performed, using a first protocol stack instance. An associated second protocol stack instance is determined using a target socket after the target socket that is needed to perform upper-layer protocol processing on the data packet is determined, and the upper-layer protocol processing is performed, using the target socket and the second protocol stack instance. The second protocol stack instance that performs the upper-layer protocol processing is determined using the target socket, and hence, a technical problem that protocol processing cannot be performed on a data packet because a protocol stack instance specified by an application (APP) conflicts with a protocol stack instance specified by a network adapter is resolved.
申请公布号 US2016337483(A1) 申请公布日期 2016.11.17
申请号 US201615222753 申请日期 2016.07.28
申请人 Huawei Technologies Co., Ltd. 发明人 Yang Yongqiang;Dai Fen;Wen Liufei
分类号 H04L29/06;H04L29/08 主分类号 H04L29/06
代理机构 代理人
主权项 1. A method for processing a data packet based on parallel protocol stack instances, comprising: performing, using a first protocol stack instance, lower-layer protocol processing on the data packet that is distributed by a network adapter to the first protocol stack instance; determining a target socket that is needed to perform upper-layer protocol processing on the data packet; determining, according to the target socket, a second protocol stack instance that is associated with the target socket; and performing, using the target socket and the second protocol stack instance, the upper-layer protocol processing on the data packet, wherein the lower-layer protocol processing and the upper-layer protocol processing jointly accomplish complete protocol processing on the data packet.
地址 Shenzhen CN