aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/ematch.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-01-23 01:10:23 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:11:07 -0500
commit62e3ba1b558e5f393ef746880613fb8222e64d03 (patch)
tree159c218ad38daef676b2cbc5a00e6b83a04cc16d /net/sched/ematch.c
parentf206351a50ea86250fabea96b9af8d8f8fc02603 (diff)
[NET_SCHED]: Move EXPORT_SYMBOL next to exported symbol
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/ematch.c')
-rw-r--r--net/sched/ematch.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/net/sched/ematch.c b/net/sched/ematch.c
index f3a104e323bd..27941cfc0ab5 100644
--- a/net/sched/ematch.c
+++ b/net/sched/ematch.c
@@ -141,6 +141,7 @@ errout:
141 write_unlock(&ematch_mod_lock); 141 write_unlock(&ematch_mod_lock);
142 return err; 142 return err;
143} 143}
144EXPORT_SYMBOL(tcf_em_register);
144 145
145/** 146/**
146 * tcf_em_unregister - unregster and extended match 147 * tcf_em_unregister - unregster and extended match
@@ -171,6 +172,7 @@ out:
171 write_unlock(&ematch_mod_lock); 172 write_unlock(&ematch_mod_lock);
172 return err; 173 return err;
173} 174}
175EXPORT_SYMBOL(tcf_em_unregister);
174 176
175static inline struct tcf_ematch * tcf_em_get_match(struct tcf_ematch_tree *tree, 177static inline struct tcf_ematch * tcf_em_get_match(struct tcf_ematch_tree *tree,
176 int index) 178 int index)
@@ -380,6 +382,7 @@ errout_abort:
380 tcf_em_tree_destroy(tp, tree); 382 tcf_em_tree_destroy(tp, tree);
381 return err; 383 return err;
382} 384}
385EXPORT_SYMBOL(tcf_em_tree_validate);
383 386
384/** 387/**
385 * tcf_em_tree_destroy - destroy an ematch tree 388 * tcf_em_tree_destroy - destroy an ematch tree
@@ -413,6 +416,7 @@ void tcf_em_tree_destroy(struct tcf_proto *tp, struct tcf_ematch_tree *tree)
413 tree->hdr.nmatches = 0; 416 tree->hdr.nmatches = 0;
414 kfree(tree->matches); 417 kfree(tree->matches);
415} 418}
419EXPORT_SYMBOL(tcf_em_tree_destroy);
416 420
417/** 421/**
418 * tcf_em_tree_dump - dump ematch tree into a rtnl message 422 * tcf_em_tree_dump - dump ematch tree into a rtnl message
@@ -472,6 +476,7 @@ int tcf_em_tree_dump(struct sk_buff *skb, struct tcf_ematch_tree *tree, int tlv)
472rtattr_failure: 476rtattr_failure:
473 return -1; 477 return -1;
474} 478}
479EXPORT_SYMBOL(tcf_em_tree_dump);
475 480
476static inline int tcf_em_match(struct sk_buff *skb, struct tcf_ematch *em, 481static inline int tcf_em_match(struct sk_buff *skb, struct tcf_ematch *em,
477 struct tcf_pkt_info *info) 482 struct tcf_pkt_info *info)
@@ -529,10 +534,4 @@ stack_overflow:
529 printk("Local stack overflow, increase NET_EMATCH_STACK\n"); 534 printk("Local stack overflow, increase NET_EMATCH_STACK\n");
530 return -1; 535 return -1;
531} 536}
532
533EXPORT_SYMBOL(tcf_em_register);
534EXPORT_SYMBOL(tcf_em_unregister);
535EXPORT_SYMBOL(tcf_em_tree_validate);
536EXPORT_SYMBOL(tcf_em_tree_destroy);
537EXPORT_SYMBOL(tcf_em_tree_dump);
538EXPORT_SYMBOL(__tcf_em_tree_match); 537EXPORT_SYMBOL(__tcf_em_tree_match);