blob: 02487b39ce537dc681285a55f70e1587dec96b7b [file] [log] [blame]
Alexey Dobriyand62ddc22008-11-25 17:14:31 -08001#ifndef __NETNS_XFRM_H
2#define __NETNS_XFRM_H
3
Alexey Dobriyan9d4139c2008-11-25 17:16:11 -08004#include <linux/list.h>
5
Alexey Dobriyand62ddc22008-11-25 17:14:31 -08006struct netns_xfrm {
Alexey Dobriyan9d4139c2008-11-25 17:16:11 -08007 struct list_head state_all;
Alexey Dobriyan73d189d2008-11-25 17:16:58 -08008 /*
9 * Hash table to find appropriate SA towards given target (endpoint of
10 * tunnel or destination of transport mode) allowed by selector.
11 *
12 * Main use is finding SA after policy selected tunnel or transport
13 * mode. Also, it can be used by ah/esp icmp error handler to find
14 * offending SA.
15 */
16 struct hlist_head *state_bydst;
Alexey Dobriyand62ddc22008-11-25 17:14:31 -080017};
18
19#endif