亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? netvj.h

?? 一個tcp/ip協(xié)議棧,帶有PPP、IP、TCP、UDP等協(xié)議
?? H
字號:
/*
 * Definitions for tcp compression routines.
 *
 * $Id: netvj.h,v 1.2 2002/01/07 05:47:46 odin34 Exp $
 *
 * Copyright (c) 1989 Regents of the University of California.
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms are permitted
 * provided that the above copyright notice and this paragraph are
 * duplicated in all such forms and that any documentation,
 * advertising materials, and other materials related to such
 * distribution and use acknowledge that the software was developed
 * by the University of California, Berkeley.  The name of the
 * University may not be used to endorse or promote products derived
 * from this software without specific prior written permission.
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 *
 *	Van Jacobson (van@helios.ee.lbl.gov), Dec 31, 1989:
 *	- Initial distribution.
 */

#ifndef VJCOMPRESS_H
#define VJCOMPRESS_H

#define MAX_SLOTS	16			/* must be > 2 and < 256 */
#define MAX_HDR		128

/*
 * Compressed packet format:
 *
 * The first octet contains the packet type (top 3 bits), TCP
 * 'push' bit, and flags that indicate which of the 4 TCP sequence
 * numbers have changed (bottom 5 bits).  The next octet is a
 * conversation number that associates a saved IP/TCP header with
 * the compressed packet.  The next two octets are the TCP checksum
 * from the original datagram.  The next 0 to 15 octets are
 * sequence number changes, one change per bit set in the header
 * (there may be no changes and there are two special cases where
 * the receiver implicitly knows what changed -- see below).
 * 
 * There are 5 numbers which can change (they are always inserted
 * in the following order): TCP urgent pointer, window,
 * acknowlegement, sequence number and IP ID.  (The urgent pointer
 * is different from the others in that its value is sent, not the
 * change in value.)  Since typical use of SLIP links is biased
 * toward small packets (see comments on MTU/MSS below), changes
 * use a variable length coding with one octet for numbers in the
 * range 1 - 255 and 3 octets (0, MSB, LSB) for numbers in the
 * range 256 - 65535 or 0.  (If the change in sequence number or
 * ack is more than 65535, an uncompressed packet is sent.)
 */

/*
 * Packet types (must not conflict with IP protocol version)
 *
 * The top nibble of the first octet is the packet type.  There are
 * three possible types: IP (not proto TCP or tcp with one of the
 * control flags set); uncompressed TCP (a normal IP/TCP packet but
 * with the 8-bit protocol field replaced by an 8-bit connection id --
 * this type of packet syncs the sender & receiver); and compressed
 * TCP (described above).
 *
 * LSB of 4-bit field is TCP "PUSH" bit (a worthless anachronism) and
 * is logically part of the 4-bit "changes" field that follows.  Top
 * three bits are actual packet type.  For backward compatibility
 * and in the interest of conserving bits, numbers are chosen so the
 * IP protocol version number (4) which normally appears in this nibble
 * means "IP packet".
 */

/* Undefine this to enable statistics. */
#define VJ_NO_STATS

/* packet types */
#define TYPE_IP 0x40
#define TYPE_UNCOMPRESSED_TCP 0x70
#define TYPE_COMPRESSED_TCP 0x80
#define TYPE_ERROR 0x00

/* Bits in first octet of compressed packet */
#define NEW_C	0x40	/* flag bits for what changed in a packet */
#define NEW_I	0x20
#define NEW_S	0x08
#define NEW_A	0x04
#define NEW_W	0x02
#define NEW_U	0x01

/* reserved, special-case values of above */
#define SPECIAL_I (NEW_S|NEW_W|NEW_U)		/* echoed interactive traffic */
#define SPECIAL_D (NEW_S|NEW_A|NEW_W|NEW_U)	/* unidirectional data */
#define SPECIALS_MASK (NEW_S|NEW_A|NEW_W|NEW_U)

#define TCP_PUSH_BIT 0x10


/*
 * "state" data for each active tcp conversation on the wire.  This is
 * basically a copy of the entire IP/TCP header from the last packet
 * we saw from the conversation together with a small identifier
 * the transmit & receive ends of the line use to locate saved header.
 */
struct cstate {
    struct cstate *cs_next;	/* next most recently used state (xmit only) */
    u_short cs_hlen;		/* size of hdr (receive only) */
    u_char cs_id;			/* connection # associated with this state */
    u_char cs_filler;
    union {
		char csu_hdr[MAX_HDR];
		struct ip csu_ip;	/* ip/tcp hdr from most recent packet */
    } vjcs_u;
};
#define cs_ip vjcs_u.csu_ip
#define cs_hdr vjcs_u.csu_hdr

/*
 * all the state data for one serial line (we need one of these per line).
 */
struct vjcompress {
    struct cstate *last_cs;	/* most recently used tstate */
    u_char last_recv;		/* last rcvd conn. id */
    u_char last_xmit;		/* last sent conn. id */
    u_short flags;
    u_char maxSlotIndex;
    u_char compressSlot;	/* Flag indicating OK to compress slot ID. */
#ifndef VJ_NO_STATS
    struct vjstat stats;
#endif
    struct cstate tstate[MAX_SLOTS];	/* xmit connection states */
    struct cstate rstate[MAX_SLOTS];	/* receive connection states */
};

/* flag values */
#define VJF_TOSS 1		/* tossing rcvd frames because of input err */

extern void  vj_compress_init __P((struct vjcompress *comp));
extern u_int vj_compress_tcp __P((
					struct vjcompress *comp,
					NBuf *nb));
extern void  vj_uncompress_err __P((struct vjcompress *comp));
extern int vj_uncompress_uncomp(NBuf *nb, struct vjcompress *comp);
extern int vj_uncompress_tcp(NBuf **nb, struct vjcompress *comp);

#endif /* VJCOMPRESS_H */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91麻豆.com| 99久久综合狠狠综合久久| xvideos.蜜桃一区二区| 国产999精品久久| 亚洲综合网站在线观看| 91精品国产综合久久婷婷香蕉 | 中文字幕免费在线观看视频一区| 成人免费毛片嘿嘿连载视频| 91精品在线免费| 亚洲天堂网中文字| 欧美一区午夜视频在线观看| 在线亚洲精品福利网址导航| 成人一区在线观看| 国产成人av影院| 国产iv一区二区三区| 国产v日产∨综合v精品视频| 成人精品一区二区三区中文字幕| 粉嫩在线一区二区三区视频| 不卡一区中文字幕| 色噜噜久久综合| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 色婷婷一区二区| 欧美精品久久久久久久多人混战 | 亚洲高清免费在线| 亚洲国产另类av| 免费日韩伦理电影| 国产成人精品在线看| 成人永久aaa| 在线观看91精品国产入口| 欧美三级日韩在线| 欧美变态tickle挠乳网站| 国产亚洲欧洲997久久综合| 国产精品午夜免费| 亚洲r级在线视频| 国模少妇一区二区三区| 97精品久久久久中文字幕| 欧美日韩不卡在线| 久久精品无码一区二区三区| 中文字幕在线观看不卡视频| 夜色激情一区二区| 经典三级在线一区| 色婷婷av久久久久久久| 日韩一区二区三区视频在线观看| 日本一区二区动态图| 亚洲国产乱码最新视频 | 欧美日韩视频在线第一区| 精品日韩在线观看| 中文字幕视频一区| 另类中文字幕网| 色综合一区二区| 欧美不卡123| 亚洲午夜日本在线观看| 国产曰批免费观看久久久| 欧美性生活久久| 日本一区二区三区视频视频| 天天做天天摸天天爽国产一区 | 欧美日韩亚洲另类| 欧美精彩视频一区二区三区| 亚洲v日本v欧美v久久精品| 国产91精品在线观看| 337p亚洲精品色噜噜| 亚洲视频一区在线观看| 激情文学综合网| 欧美亚洲国产一区二区三区va | 久久久久久久久久看片| 亚洲电影在线播放| 成人亚洲一区二区一| 91精品国产日韩91久久久久久| 中文字幕一区二区三区不卡| 另类小说色综合网站| 欧美色窝79yyyycom| 国产精品九色蝌蚪自拍| 狠狠色狠狠色综合| 777久久久精品| 一二三四社区欧美黄| 高清成人在线观看| 日韩精品一区二区三区蜜臀 | 亚洲激情欧美激情| 成人晚上爱看视频| 精品99一区二区三区| 亚洲18影院在线观看| 91蜜桃传媒精品久久久一区二区| 国产亚洲一区二区三区在线观看| 日本女人一区二区三区| 欧美日本国产视频| 亚洲一区二区三区四区的| 91丨国产丨九色丨pron| 国产精品免费久久| 国产sm精品调教视频网站| 久久久精品免费网站| 国产一区二区视频在线| 精品日韩一区二区三区免费视频| 日韩vs国产vs欧美| 欧美一区二区在线观看| 午夜av区久久| 777久久久精品| 免费在线成人网| 日韩一区二区三区视频在线观看 | 欧美性生活久久| 亚洲制服欧美中文字幕中文字幕| 99精品国产热久久91蜜凸| 中文字幕视频一区| 91啪亚洲精品| 亚洲精品第一国产综合野| 色综合天天视频在线观看| 最新国产の精品合集bt伙计| 成人av电影在线播放| 国产精品久久久久桃色tv| www.在线欧美| 亚洲精品国产精品乱码不99 | 国产精品视频观看| 成人免费视频网站在线观看| 国产人妖乱国产精品人妖| 国产精品一品视频| 国产无人区一区二区三区| 成人免费观看av| 中文字幕日韩av资源站| 91色综合久久久久婷婷| 怡红院av一区二区三区| 欧美日韩久久不卡| 另类小说综合欧美亚洲| 国产午夜精品久久久久久久| 波多野结衣一区二区三区 | 精品一区二区三区影院在线午夜| 欧美精品一区二区三区蜜桃视频| 黑人巨大精品欧美一区| 国产色婷婷亚洲99精品小说| 成人一区二区三区中文字幕| 中文字幕在线播放不卡一区| 欧美午夜片在线看| 精品在线你懂的| 国产精品国产自产拍高清av| 在线视频一区二区免费| 奇米影视一区二区三区小说| 久久精品亚洲一区二区三区浴池| 99久久精品费精品国产一区二区| 亚洲综合在线观看视频| 91精品国产91久久综合桃花| 韩国午夜理伦三级不卡影院| 成人免费一区二区三区在线观看| 欧美性大战久久久久久久| 蜜乳av一区二区| 欧美激情中文字幕| 欧美亚一区二区| 激情久久久久久久久久久久久久久久| 欧美激情中文字幕| 欧美日本精品一区二区三区| 国产精品小仙女| 一区二区在线观看av| 日韩精品一区二区三区四区视频| jizz一区二区| 日韩电影在线观看电影| 国产精品久久国产精麻豆99网站| 欧美精品久久天天躁| 成人美女在线视频| 青娱乐精品在线视频| 国产精品久久影院| 欧美一级精品大片| 91国偷自产一区二区使用方法| 久久国产精品一区二区| 亚洲综合久久av| 中文字幕va一区二区三区| 欧美精品1区2区| 成人a区在线观看| 美美哒免费高清在线观看视频一区二区| 国产精品久久一卡二卡| 日韩精品一区二区三区四区视频| 一本大道久久精品懂色aⅴ | 欧美日韩国产精选| 成人晚上爱看视频| 久久精品99国产精品日本| 亚洲最新视频在线播放| 久久精品在线观看| 日韩欧美一级精品久久| 欧美丝袜丝交足nylons| 波多野结衣欧美| 国产在线麻豆精品观看| 午夜国产不卡在线观看视频| 国产精品成人免费在线| 久久久影院官网| 日韩欧美一二三四区| 欧美日韩国产一级片| 99久久99久久精品免费观看 | 成人激情动漫在线观看| 久久国产福利国产秒拍| 亚洲成av人**亚洲成av**| 日韩美女精品在线| 国产目拍亚洲精品99久久精品| 欧美大片国产精品| 欧美一区二区三区在线| 欧美私人免费视频| 91成人在线精品| 99久久99久久精品免费看蜜桃| 国产成人精品在线看| 国内精品伊人久久久久av一坑 | 欧洲精品在线观看| 91在线观看视频| a在线欧美一区| 成人三级伦理片| www.欧美色图|