keil_netconfig.h ( File view )

  • By 残星浮梦 2016-01-13
  • View(s):0
  • Download(s):2
  • Point(s): 1
			/** @file keil_netconfig.h
 *  @brief Test configuration: connection between any host and MCB167NET board (192.168.1.3) - dynamic SAD/SPD configuration over UDP port 500 ("ISAKMP light")
 */

/**************************/
/* inbound configurations */
/**************************/

/* SAD configuartion data */
sad_entry inbound_sad_config[IPSEC_MAX_SAD_ENTRIES] = {

	  EMPTY_SAD_ENTRY,
	  EMPTY_SAD_ENTRY,
	  EMPTY_SAD_ENTRY,
	  EMPTY_SAD_ENTRY,
	  EMPTY_SAD_ENTRY,
	  EMPTY_SAD_ENTRY,
	  EMPTY_SAD_ENTRY,
	  EMPTY_SAD_ENTRY,
	  EMPTY_SAD_ENTRY,
	  EMPTY_SAD_ENTRY


};

/* SPD configuration data */
spd_entry inbound_spd_config[IPSEC_MAX_SAD_ENTRIES] = {

/*            source                            destination                       protocol          ports         policy          SA pointer 
 *            address          network          address          network                            src    dest                              */
	SPD_ENTRY(  192,168,1,0,     255,255,255,0,   192,168,1,3,     255,255,255,255,   IPSEC_PROTO_UDP, 0,   500, POLICY_BYPASS, 0),
   	EMPTY_SPD_ENTRY,
   	EMPTY_SPD_ENTRY,
   	EMPTY_SPD_ENTRY,
   	EMPTY_SPD_ENTRY,
   	EMPTY_SPD_ENTRY,
   	EMPTY_SPD_ENTRY,
	EMPTY_SPD_ENTRY

};


/***************************/
/* outbound configurations */
/***************************/

/* SAD configuartion data */
sad_entry outbound_sad_config[IPSEC_MAX_SAD_ENTRIES] = {

	EMPTY_SAD_ENTRY,
	EMPTY_SAD_ENTRY,
	EMPTY_SAD_ENTRY,
	EMPTY_SAD_ENTRY,
	EMPTY_SAD_ENTRY,

...
...
(Please download the complete source code to view)
			
...
Expand> <Close

Want complete source code? Download it here

Point(s): 1

Download
0 lines left, continue to read
Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
01.97 kB
01.97 kB
ah.c13.66 kB2003-12-12|13:49
des.c37.21 kB2003-12-12|01:02
esp.c14.04 kB2003-12-12|13:49
ipsec.c10.18 kB2003-12-12|13:49
md5.c18.27 kB2013-06-24|17:22
sa.c34.38 kB2003-12-12|01:02
sha1.c21.95 kB2003-12-04|14:55
util.c13.83 kB2004-06-19|18:49
01.97 kB
01.97 kB
ah.h2.99 kB2003-12-12|01:02
debug.h8.08 kB2003-12-12|11:41
des.h2.93 kB2003-12-12|01:02
esp.h3.24 kB2003-12-12|01:02
ipsec.h2.98 kB2003-12-12|01:02
md5.h2.97 kB2003-12-12|01:02
sa.h9.98 kB2003-12-12|01:02
sha1.h2.88 kB2003-12-12|01:02
types.h6.17 kB2003-12-12|01:02
util.h3.81 kB2003-12-12|01:02
01.97 kB
dumpdev.h2.30 kB2003-12-12|01:02
ipsecdev.h3.03 kB2003-12-12|01:02
01.97 kB
01.97 kB
keil_1000_ah_md5.h2.51 kB2003-12-12|01:02
keil_1001_ah_sha1.h2.53 kB2003-12-12|01:02
keil_1002_esp_3des.h2.55 kB2003-12-12|01:02
keil_1003_esp_3des_md5.h2.68 kB2003-12-12|01:02
keil_1004_esp_3des_sha1.h2.71 kB2003-12-12|01:02
keil_bypass.h2.19 kB2003-12-12|01:02
keil_netconfig.h2.24 kB2003-12-12|01:02
phy_2000_ah_md5.h2.51 kB2003-12-12|01:02
phy_2001_ah_sha1.h2.53 kB2003-12-12|01:02
phy_2002_esp_3des.h2.55 kB2003-12-12|01:02
phy_2003_esp_3des_md5.h2.68 kB2003-12-12|01:02
phy_2004_esp_3des_sha1.h2.71 kB2003-12-12|01:02
phy_bypass.h2.20 kB2003-12-12|01:02
phy_netconfig.h2.25 kB2003-12-12|01:02
01.97 kB
01.97 kB
dumpdev-espdata.h4.51 kB2003-12-12|01:02
dumpdev-espdata.zip3.09 kB2003-11-24|19:45
dumpdev-httpgetdata.h28.08 kB2003-12-12|01:02
dumpdev-httpgetdata.zip32.70 kB2003-11-11|17:51
dumpdev-pingdata.h6.58 kB2003-12-12|01:02
dumpdev-pingdata.zip8.07 kB2003-11-11|17:51
01.97 kB
ah_test-sample_ah_packet.h3.46 kB2003-12-12|01:42
ah_test-sample_ah_packet.zip1.76 kB2003-11-18|19:12
structural_test.h3.16 kB2003-12-12|01:02
01.97 kB
dumpdev.c14.90 kB2003-12-12|01:02
ipsecdev.c18.58 kB2003-12-12|13:49
01.97 kB
01.97 kB
ah_test.c7.29 kB2003-12-12|01:42
des_test.c11.87 kB2003-12-12|01:02
esp_test.c14.96 kB2003-12-12|11:40
main.c5.35 kB2003-12-12|01:02
md5_test.c7.34 kB2003-12-12|01:02
sa_test.c32.48 kB2003-12-12|11:40
sha1_test.c11.65 kB2003-12-12|01:02
util_test.c10.19 kB2004-06-19|18:47
...
Sponsored links

keil_netconfig.h (172.21 kB)

Need 1 point
Your Point(s)

Your Point isn't enough.

Get point immediately by PayPal

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more point

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D