首页> 外国专利> METHOD FOR CREATING TUNNEL NETWORK INTERFACE AND TRANSMITTING/RECEIVING PACKET USING TUNNEL NETWORK INTERFACE IN SERVER OF IPv4 NETWORK

METHOD FOR CREATING TUNNEL NETWORK INTERFACE AND TRANSMITTING/RECEIVING PACKET USING TUNNEL NETWORK INTERFACE IN SERVER OF IPv4 NETWORK

机译:IPv4网络服务器中使用隧道网络接口创建隧道网络接口和收发包的方法

摘要

A method for constructing a tunnel network interface in a server of an IPv4 network and transmitting/receiving packets by using a tunnel network interface are provided to transmit/receive packets to/from each terminal by using a single tunnel network interface established in an OS(Operating System) of a server. When a new terminal attempts a connection(201), a server establishes information for the new terminal in a single tunnel network interface(202). The server sets an output network interface with respect to an IPv6 address of the new terminal as the tunnel network interface(203), and establishes a tunnel for the new terminal(204). The server checks whether there is a request for transmission of an IPv6 packet from an application program(205). If there is a request for transmission of an IPv6 packet, the server searches an IPv4 address and UDP port information by using destination IPv6 information as a key value(206), establishes an IPv4 or IPv6_UDP header by using the searched IPv4 information and transfers it to an IPv4 stack(207). The server transmits the packet transferred via the IPv4 stack to a corresponding terminal(208). The server checks whether an IPv4 packet has been received from an arbitrary terminal located in an IPv4 network(209). If an IPv4 packet has been received, the server checks whether the received packet is an IPv6 or UDP_IPv6 tunneling packet(210). If the received packet is the IPv6 or UDP_IPv6 tunneling packet and if the received packet has been tunneled to an IPv4 header, the server removes the IPv4 header, and if the received packet has been tunneled to an IPv4_UDP, the server removes a UD P header from a UDP stack(212). The server sets a packet reception interface as a tunnel network interface(213) and transfers the IPv4 header or IPv4_UDP header-deleted IPv6 packet to a reception processing routine of the tunnel network interface(214).
机译:提供一种用于在IPv4网络的服务器中构造隧道网络接口并使用隧道网络接口发送/接收数据包的方法,以通过使用在OS中建立的单个隧道网络接口向/从每个终端发送/接收数据包。服务器)。当新终端尝试连接(201)时,服务器在单个隧道网络接口中为新终端建立信息(202)。服务器将关于新终端的IPv6地址的输出网络接口设置为隧道网络接口(203),并为新终端建立隧道(204)。服务器检查是否存在来自应用程序的发送IPv6分组的请求(205)。如果请求发送IPv6数据包,则服务器将目标IPv6信息用作键值来搜索IPv4地址和UDP端口信息(206),并使用搜索到的IPv4信息建立IPv4或IPv6_UDP头并将其传输到IPv4堆栈(207)。服务器将经由IPv4栈传送的分组发送到对应的终端(208)。服务器检查是否已经从位于IPv4网络中的任意终端接收到IPv4分组(209)。如果已经接收到IPv4分组,则服务器检查接收到的分组是IPv6还是UDP_IPv6隧道分组(210)。如果接收到的数据包是IPv6或UDP_IPv6隧道数据包,并且如果接收到的数据包已经传输到IPv4标头,则服务器将删除IPv4标头,如果接收到的数据包已经传输到IPv4_UDP,则服务器将删除UD P标头来自UDP堆栈(212)。服务器将分组接收接口设置为隧道网络接口(213),并将IPv4报头或删除了IPv4_UDP报头的IPv6分组传送到隧道网络接口的接收处理例程(214)。

著录项

  • 公开/公告号KR100882353B1

    专利类型

  • 公开/公告日2009-02-12

    原文格式PDF

  • 申请/专利权人

    申请/专利号KR20070035572

  • 发明设计人 문성;김해숙;홍성백;

    申请日2007-04-11

  • 分类号H04L12/66;H04L12/46;H04L12/28;

  • 国家 KR

  • 入库时间 2022-08-21 19:12:11

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号