Skip to contentSkip to conversation

: [XFRM]: Extract common hashing code into xfrm_hash.[ch]

PATCH New David Miller 1 participant 1 message Aug 17, 2006

Subsystems (3)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 14/15 : [XFRM]: Extract common hashing code into xfrm_hash.[ch]

[XFRM]: Extract common hashing code into xfrm_hash.[ch]

---
 net/xfrm/Makefile      |    3 +
 net/xfrm/xfrm_hash.c   |   41 ++++++++++++++++++
 net/xfrm/xfrm_hash.h   |  112 ++++++++++++++++++++++++++++++++++++++++++++++++
 net/xfrm/xfrm_policy.c |   95 +++--------------------------------------
 net/xfrm/xfrm_state.c  |   99 ++++--------------------------------------
 5 files changed, 172 insertions(+), 178 deletions(-)
net/xfrm/Makefile +2 -1
index 693aac1..de3c1a6 100644
@@ -2,6 +2,7 @@ #
 # Makefile for the XFRM subsystem.
 #
 
-obj-$(CONFIG_XFRM) := xfrm_policy.o xfrm_state.o xfrm_input.o xfrm_algo.o
+obj-$(CONFIG_XFRM) := xfrm_policy.o xfrm_state.o xfrm_hash.o \
+		      xfrm_input.o xfrm_algo.o
 obj-$(CONFIG_XFRM_USER) += xfrm_user.o
 
net/xfrm/xfrm_hash.c new file +41 -0

41 lines not on this page · raw message

net/xfrm/xfrm_hash.h new file +112 -0

112 lines not on this page · raw message

net/xfrm/xfrm_policy.c +8 -87

158 lines not on this page · raw message

net/xfrm/xfrm_state.c +9 -90

146 lines not on this page · raw message

Signature · 1 line
1.4.2.rc2.g3e042