xfrm.h (4ba24fef3eb3b142197135223b90ced2f319cd53) | xfrm.h (0c5c9fb55106333e773de8c9dd321fa8240caeb3) |
---|---|
1#ifndef _NET_XFRM_H 2#define _NET_XFRM_H 3 4#include <linux/compiler.h> 5#include <linux/xfrm.h> 6#include <linux/spinlock.h> 7#include <linux/list.h> 8#include <linux/skbuff.h> --- 112 unchanged lines hidden (view full) --- 121 u8 dying; 122 u8 proto; 123 u32 seq; 124 struct xfrm_address_filter *filter; 125}; 126 127/* Full description of state of transformer. */ 128struct xfrm_state { | 1#ifndef _NET_XFRM_H 2#define _NET_XFRM_H 3 4#include <linux/compiler.h> 5#include <linux/xfrm.h> 6#include <linux/spinlock.h> 7#include <linux/list.h> 8#include <linux/skbuff.h> --- 112 unchanged lines hidden (view full) --- 121 u8 dying; 122 u8 proto; 123 u32 seq; 124 struct xfrm_address_filter *filter; 125}; 126 127/* Full description of state of transformer. */ 128struct xfrm_state { |
129#ifdef CONFIG_NET_NS 130 struct net *xs_net; 131#endif | 129 possible_net_t xs_net; |
132 union { 133 struct hlist_node gclist; 134 struct hlist_node bydst; 135 }; 136 struct hlist_node bysrc; 137 struct hlist_node byspi; 138 139 atomic_t refcnt; --- 377 unchanged lines hidden (view full) --- 517 518struct xfrm_policy_queue { 519 struct sk_buff_head hold_queue; 520 struct timer_list hold_timer; 521 unsigned long timeout; 522}; 523 524struct xfrm_policy { | 130 union { 131 struct hlist_node gclist; 132 struct hlist_node bydst; 133 }; 134 struct hlist_node bysrc; 135 struct hlist_node byspi; 136 137 atomic_t refcnt; --- 377 unchanged lines hidden (view full) --- 515 516struct xfrm_policy_queue { 517 struct sk_buff_head hold_queue; 518 struct timer_list hold_timer; 519 unsigned long timeout; 520}; 521 522struct xfrm_policy { |
525#ifdef CONFIG_NET_NS 526 struct net *xp_net; 527#endif | 523 possible_net_t xp_net; |
528 struct hlist_node bydst; 529 struct hlist_node byidx; 530 531 /* This lock only affects elements except for entry. */ 532 rwlock_t lock; 533 atomic_t refcnt; 534 struct timer_list timer; 535 --- 1278 unchanged lines hidden --- | 524 struct hlist_node bydst; 525 struct hlist_node byidx; 526 527 /* This lock only affects elements except for entry. */ 528 rwlock_t lock; 529 atomic_t refcnt; 530 struct timer_list timer; 531 --- 1278 unchanged lines hidden --- |