All Kinds of structs include/linux/netdevice.h /*
The DEVICE structure. Actually, this whole structure is a big mistake. It mixes I/O data with strictly “high-level” data, and it has to know about almost every data structure used in the INET module. FIXME: cleanup struct net_device such that network protocol info moves out. */ struct net_device {
/* * This is the first field of the "visible" part of this structure * (i.
Start IPsec: ipsec setup start
Verify IPsec: ipsec eroute ipsec verify ipsec barf ipset auto –status
Show IPsec stats ip xfrm state ip xfrm policy
Set IPsec On client: #!/bin/bash ip xfrm state flush ip xfrm policy flush ip addr add 2000::1/64 dev eth0
ip xfrm state add src 2000::1 dst 2000::2 proto esp spi 0x1000 mode transport
enc des3_ede enc_des3_ede_secret_key1 auth sha1 auth_sha1_secret_key1
ip xfrm state add src 2000::2 dst 2000::1 proto esp spi 0x2000 mode transport