⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ipnet2h.c,v

📁 关于IP协议方面的
💻 C,V
字号:
head	1.1;access;symbols;locks	dls:1.1; strict;comment	@ * @;1.1date	97.09.21.19.27.09;	author dls;	state Dist;branches;next	;desc@@1.1log@pre-3e code@text@/* ipnet2h.c - ipnet2h */#include <conf.h>#include <kernel.h>#include <network.h>/*------------------------------------------------------------------------ *  ipnet2h - convert an IP packet header from net to host byte order *------------------------------------------------------------------------ */struct ip *ipnet2h(pip)struct	ip	*pip;{	/* NOTE: does not include IP options	*/	pip->ip_len = net2hs(pip->ip_len);	pip->ip_id = net2hs(pip->ip_id);	pip->ip_fragoff = net2hs(pip->ip_fragoff);	return pip;}@

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -