aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-11-14 00:43:11 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:53:48 -0500
commit862b82c6f960cc61274d370aa78ce1112f92a83e (patch)
tree51e252e1525dd7d02a695d428890a4c37fae2442 /include/net
parentef76bc23ef2acf20c8f7f841a542d8ab74c827c6 (diff)
[IPSEC]: Merge most of the output path
As part of the work on asynchrnous cryptographic operations, we need to be able to resume from the spot where they occur. As such, it helps if we isolate them to one spot. This patch moves most of the remaining family-specific processing into the common output code. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/dst.h1
-rw-r--r--include/net/xfrm.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/net/dst.h b/include/net/dst.h
index 7a0b1bde8e28..e86b9a008ebf 100644
--- a/include/net/dst.h
+++ b/include/net/dst.h
@@ -98,6 +98,7 @@ struct dst_ops
98 struct dst_entry * (*negative_advice)(struct dst_entry *); 98 struct dst_entry * (*negative_advice)(struct dst_entry *);
99 void (*link_failure)(struct sk_buff *); 99 void (*link_failure)(struct sk_buff *);
100 void (*update_pmtu)(struct dst_entry *dst, u32 mtu); 100 void (*update_pmtu)(struct dst_entry *dst, u32 mtu);
101 int (*local_out)(struct sk_buff *skb);
101 int entry_size; 102 int entry_size;
102 103
103 atomic_t entries; 104 atomic_t entries;
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index a9dbe091ae58..ab9e747340b4 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -259,6 +259,7 @@ struct xfrm_state_afinfo {
259 unsigned int family; 259 unsigned int family;
260 unsigned int proto; 260 unsigned int proto;
261 unsigned int eth_proto; 261 unsigned int eth_proto;
262 unsigned int nf_post_routing;
262 struct module *owner; 263 struct module *owner;
263 struct xfrm_type *type_map[IPPROTO_MAX]; 264 struct xfrm_type *type_map[IPPROTO_MAX];
264 struct xfrm_mode *mode_map[XFRM_MODE_MAX]; 265 struct xfrm_mode *mode_map[XFRM_MODE_MAX];