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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? isakmp.h

?? TCPDUMP的C語言源代碼,是在數據鏈路層的應用
?? H
?? 第 1 頁 / 共 2 頁
字號:
/* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright *    notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright *    notice, this list of conditions and the following disclaimer in the *    documentation and/or other materials provided with the distribution. * 3. Neither the name of the project nor the names of its contributors *    may be used to endorse or promote products derived from this software *    without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. *//* YIPS @(#)$Id: isakmp.h,v 1.11 2007-08-29 02:38:14 mcr Exp $ *//* refer to RFC 2408 *//* must include <netinet/in.h> */#if !defined(_ISAKMP_H_)#define _ISAKMP_H_typedef u_char cookie_t[8];typedef u_char msgid_t[4];typedef struct { /* i_cookie + r_cookie */	cookie_t i_ck;	cookie_t r_ck;} isakmp_index;#define INITIATOR       1#define RESPONDER       2#define PORT_ISAKMP 500#define GENERATE  1#define VALIDATE  0/* Phase of oakley definition *//*  0000 0000 0000 0000       |    |||| ||||       |    |||| ++++--> negosiation number in phase       |    ++++-------> phase number       +---------------> expire ? */#define ISAKMP_PH1      0x0010#define ISAKMP_PH2      0x0020#define ISAKMP_EXPIRED  0x0100#define ISAKMP_NGP_0    0x0000#define ISAKMP_NGP_1    0x0001#define ISAKMP_NGP_2    0x0002#define ISAKMP_NGP_3    0x0003#define ISAKMP_NGP_4    0x0004#define ISAKMP_PH1_N    (ISAKMP_PH1 | ISAKMP_NGP_0)  /* i.e. spawn */#define ISAKMP_PH1_1    (ISAKMP_PH1 | ISAKMP_NGP_1)#define ISAKMP_PH1_2    (ISAKMP_PH1 | ISAKMP_NGP_2)#define ISAKMP_PH1_3    (ISAKMP_PH1 | ISAKMP_NGP_3)#define ISAKMP_PH2_N    (ISAKMP_PH2 | ISAKMP_NGP_0)#define ISAKMP_PH2_1    (ISAKMP_PH2 | ISAKMP_NGP_1)#define ISAKMP_PH2_2    (ISAKMP_PH2 | ISAKMP_NGP_2)#define ISAKMP_PH2_3    (ISAKMP_PH2 | ISAKMP_NGP_3)#define ISAKMP_TIMER_DEFAULT     10 /* seconds */#define ISAKMP_TRY_DEFAULT        3 /* times *//* 3.1 ISAKMP Header Format (IKEv1 and IKEv2)         0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+        !                          Initiator                            !        !                            Cookie                             !        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+        !                          Responder                            !        !                            Cookie                             !        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+        !  Next Payload ! MjVer ! MnVer ! Exchange Type !     Flags     !        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+        !                          Message ID                           !        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+        !                            Length                             !        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+*/struct isakmp {	cookie_t i_ck;		/* Initiator Cookie */	cookie_t r_ck;		/* Responder Cookie */	u_int8_t np;		/* Next Payload Type */	u_int8_t vers;#define ISAKMP_VERS_MAJOR	0xf0#define ISAKMP_VERS_MAJOR_SHIFT	4#define ISAKMP_VERS_MINOR	0x0f#define ISAKMP_VERS_MINOR_SHIFT	0	u_int8_t etype;		/* Exchange Type */	u_int8_t flags;		/* Flags */	msgid_t msgid;	u_int32_t len;		/* Length */};/* Next Payload Type */#define ISAKMP_NPTYPE_NONE   0 /* NONE*/#define ISAKMP_NPTYPE_SA     1 /* Security Association */#define ISAKMP_NPTYPE_P      2 /* Proposal */#define ISAKMP_NPTYPE_T      3 /* Transform */#define ISAKMP_NPTYPE_KE     4 /* Key Exchange */#define ISAKMP_NPTYPE_ID     5 /* Identification */#define ISAKMP_NPTYPE_CERT   6 /* Certificate */#define ISAKMP_NPTYPE_CR     7 /* Certificate Request */#define ISAKMP_NPTYPE_HASH   8 /* Hash */#define ISAKMP_NPTYPE_SIG    9 /* Signature */#define ISAKMP_NPTYPE_NONCE 10 /* Nonce */#define ISAKMP_NPTYPE_N     11 /* Notification */#define ISAKMP_NPTYPE_D     12 /* Delete */#define ISAKMP_NPTYPE_VID   13 /* Vendor ID */#define IKEv1_MAJOR_VERSION  1#define IKEv1_MINOR_VERSION  0#define IKEv2_MAJOR_VERSION  2#define IKEv2_MINOR_VERSION  0/* Exchange Type */#define ISAKMP_ETYPE_NONE   0 /* NONE */#define ISAKMP_ETYPE_BASE   1 /* Base */#define ISAKMP_ETYPE_IDENT  2 /* Identity Proteciton */#define ISAKMP_ETYPE_AUTH   3 /* Authentication Only */#define ISAKMP_ETYPE_AGG    4 /* Aggressive */#define ISAKMP_ETYPE_INF    5 /* Informational *//* Flags */#define ISAKMP_FLAG_E 0x01 /* Encryption Bit */#define ISAKMP_FLAG_C 0x02 /* Commit Bit */#define ISAKMP_FLAG_extra 0x04/* IKEv2 */#define ISAKMP_FLAG_I (1 << 3)  /* (I)nitiator */#define ISAKMP_FLAG_V (1 << 4)  /* (V)ersion   */#define ISAKMP_FLAG_R (1 << 5)  /* (R)esponse  *//* 3.2 Payload Generic Header         0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+        ! Next Payload  !   RESERVED    !         Payload Length        !        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+*/struct isakmp_gen {	u_int8_t  np;       /* Next Payload */	u_int8_t  critical; /* bit 7 - critical, rest is RESERVED */	u_int16_t len;      /* Payload Length */};/* 3.3 Data Attributes         0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+        !A!       Attribute Type        !    AF=0  Attribute Length     !        !F!                             !    AF=1  Attribute Value      !        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+        .                   AF=0  Attribute Value                       .        .                   AF=1  Not Transmitted                       .        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+*/struct isakmp_data {	u_int16_t type;     /* defined by DOI-spec, and Attribute Format */	u_int16_t lorv;     /* if f equal 1, Attribute Length */	                  /* if f equal 0, Attribute Value */	/* if f equal 1, Attribute Value */};#define ISAKMP_GEN_TLV 0x0000#define ISAKMP_GEN_TV  0x8000	/* mask for type of attribute format */#define ISAKMP_GEN_MASK 0x8000/* 3.4 Security Association Payload */	/* MAY NOT be used, because of being defined in ipsec-doi. */	/*	If the current payload is the last in the message,	then the value of the next payload field will be 0.	This field MUST NOT contain the	values for the Proposal or Transform payloads as they are considered	part of the security association negotiation.  For example, this	field would contain the value "10" (Nonce payload) in the first	message of a Base Exchange (see Section 4.4) and the value "0" in the	first message of an Identity Protect Exchange (see Section 4.5).	*/struct ikev1_pl_sa {	struct isakmp_gen h;	u_int32_t doi; /* Domain of Interpretation */	u_int32_t sit; /* Situation */};/* 3.5 Proposal Payload */	/*	The value of the next payload field MUST only contain the value "2"	or "0".  If there are additional Proposal payloads in the message,	then this field will be 2.  If the current Proposal payload is the	last within the security association proposal, then this field will	be 0.	*/struct ikev1_pl_p {	struct isakmp_gen h;	u_int8_t p_no;      /* Proposal # */	u_int8_t prot_id;   /* Protocol */	u_int8_t spi_size;  /* SPI Size */	u_int8_t num_t;     /* Number of Transforms */	/* SPI */};/* 3.6 Transform Payload */	/*	The value of the next payload field MUST only contain the value "3"	or "0".  If there are additional Transform payloads in the proposal,	then this field will be 3.  If the current Transform payload is the	last within the proposal, then this field will be 0.	*/struct ikev1_pl_t {	struct isakmp_gen h;	u_int8_t  t_no;     /* Transform # */	u_int8_t  t_id;     /* Transform-Id */	u_int16_t reserved; /* RESERVED2 */	/* SA Attributes */};/* 3.7 Key Exchange Payload */struct ikev1_pl_ke {	struct isakmp_gen h;	/* Key Exchange Data */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕制服丝袜成人av| 国产精品影视在线| 久久99国产精品久久| 成人av集中营| 欧美一区二区在线看| 亚洲免费在线播放| 国产 欧美在线| 欧美va亚洲va香蕉在线 | 91女厕偷拍女厕偷拍高清| 欧美一区二区美女| 亚洲电影视频在线| 91视频国产观看| 国产精品天干天干在观线| 免费成人在线播放| 欧美日韩在线免费视频| 亚洲日本在线观看| 成人精品鲁一区一区二区| 精品sm捆绑视频| 麻豆精品一二三| 91麻豆精品国产无毒不卡在线观看| 成人免费在线播放视频| 国产成人免费在线视频| 久久久久久久久一| 久久精品久久久精品美女| 在线播放中文字幕一区| 午夜欧美视频在线观看| 欧美性受xxxx黑人xyx| 亚洲激情网站免费观看| 99精品黄色片免费大全| 国产精品久久毛片| www.亚洲人| 国产精品美女久久久久aⅴ| 成人手机电影网| 国产精品国产三级国产aⅴ无密码| 成人激情av网| 亚洲免费观看高清在线观看| 欧洲人成人精品| 亚洲成人在线免费| 日韩欧美高清在线| 国产在线看一区| 国产欧美一区二区三区鸳鸯浴 | 日韩精品在线一区| 毛片av中文字幕一区二区| 日韩一区二区三免费高清| 欧美aⅴ一区二区三区视频| 欧美哺乳videos| 国产一区二区福利| 日韩毛片精品高清免费| 欧美日韩精品欧美日韩精品一| 亚洲第一搞黄网站| 欧美一级专区免费大片| 国模少妇一区二区三区| 日本一区二区成人| 99久久精品国产导航| 亚洲资源在线观看| 精品免费视频一区二区| 国产精品亚洲专一区二区三区| 欧美极品aⅴ影院| 91看片淫黄大片一级在线观看| 亚洲国产va精品久久久不卡综合| 91精品国产综合久久久蜜臀粉嫩 | 一二三四社区欧美黄| 91精品国产91久久综合桃花| 国产一区二区三区黄视频| 亚洲欧美综合在线精品| 欧美色偷偷大香| 国产在线精品不卡| 一区二区三区色| 精品国产一区二区三区不卡| 91色婷婷久久久久合中文| 日韩在线一二三区| 国产精品久久久久久久久晋中| 欧美日韩成人一区| 成人一区二区三区在线观看| 亚洲成人av电影在线| 久久久美女艺术照精彩视频福利播放| 91浏览器在线视频| 国产美女一区二区| 日韩av一区二区三区四区| 国产精品久久久爽爽爽麻豆色哟哟| 欧美三级韩国三级日本一级| 盗摄精品av一区二区三区| 丝瓜av网站精品一区二区| 中文字幕亚洲视频| 久久亚洲二区三区| 91精品国产91久久久久久最新毛片| 99国产精品久久久| 国产一区二区三区| 免费观看久久久4p| 亚洲va欧美va人人爽| 亚洲欧美综合色| 精品播放一区二区| 欧美va亚洲va香蕉在线| 欧美亚日韩国产aⅴ精品中极品| 大尺度一区二区| 国产精品1区2区3区在线观看| 偷偷要91色婷婷| 夜夜亚洲天天久久| 一区二区三区精品久久久| 中文字幕av不卡| 久久精品亚洲国产奇米99| 欧美成人乱码一区二区三区| 欧美日韩一区二区三区不卡 | 国产呦萝稀缺另类资源| 天堂久久一区二区三区| 一区二区三区不卡在线观看| 中文字幕一区二区三| 国产欧美日产一区| 国产清纯美女被跳蛋高潮一区二区久久w | 亚洲男人的天堂在线观看| 国产农村妇女精品| 中文欧美字幕免费| 中文字幕av免费专区久久| 国产女人水真多18毛片18精品视频 | 中文字幕中文字幕一区| 国产精品青草综合久久久久99| 久久这里只有精品首页| 久久这里只精品最新地址| 欧美精品一区二区精品网| 欧美电影免费观看高清完整版在线| 日韩午夜中文字幕| 日韩欧美国产午夜精品| 精品国产乱码91久久久久久网站| 精品久久久久久亚洲综合网 | 亚洲黄网站在线观看| 亚洲精品国产成人久久av盗摄| 亚洲综合av网| 日本麻豆一区二区三区视频| 久久国产精品一区二区| 国产精品一区二区三区四区| 懂色av一区二区三区免费观看| 91丝袜高跟美女视频| 欧美日精品一区视频| 日韩亚洲欧美综合| 久久精品在线免费观看| 亚洲视频每日更新| 视频一区在线视频| 国产在线精品不卡| 色诱亚洲精品久久久久久| 欧美人与z0zoxxxx视频| 久久一夜天堂av一区二区三区| 欧美国产日韩精品免费观看| 亚洲线精品一区二区三区 | eeuss鲁一区二区三区| 91黄色小视频| 欧美mv日韩mv国产网站app| 中文欧美字幕免费| 日韩vs国产vs欧美| 成人久久视频在线观看| 欧美日韩在线三级| 中文字幕电影一区| 日韩精品欧美精品| 成人av电影在线观看| 91精品国产欧美一区二区| 欧美激情一区在线观看| 丝袜美腿亚洲一区| 99精品国产91久久久久久| 8x福利精品第一导航| 国产精品黄色在线观看| 免费精品视频最新在线| 91亚洲国产成人精品一区二区三 | 成人一道本在线| 欧美一卡二卡三卡| 一区二区欧美视频| 国产一区二区女| 91精品国产综合久久蜜臀| 亚洲日本成人在线观看| 国产高清在线精品| 欧美一二三区在线| 亚洲国产综合色| 91麻豆精品视频| 欧美激情一区二区在线| 美女精品自拍一二三四| 欧美无人高清视频在线观看| 国产精品久久久久永久免费观看 | 一本一道久久a久久精品| 精品少妇一区二区三区在线播放| 亚洲一级不卡视频| 99re这里都是精品| 欧美经典一区二区三区| 激情欧美一区二区三区在线观看| 欧美日韩一区二区三区在线| 亚洲欧美一区二区三区极速播放| 国产成人免费视频网站 | 亚洲免费观看高清完整版在线观看| 国产麻豆精品在线| 精品粉嫩超白一线天av| 日本美女一区二区三区视频| 欧美精品v国产精品v日韩精品| 亚洲精品va在线观看| 一本高清dvd不卡在线观看| 国产精品久久久久久户外露出| 国产成人精品免费在线| 久久综合精品国产一区二区三区 | 日本午夜精品视频在线观看| 91福利区一区二区三区| 亚洲欧美国产毛片在线| av高清久久久| 亚洲欧美国产77777| 欧洲国产伦久久久久久久|