diff options
author | Arnaldo Carvalho de Melo <acme@ghostprotocols.net> | 2005-08-09 23:12:12 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 18:49:35 -0400 |
commit | d8c97a9451068dd9f7b838a240bb6db894133a5e (patch) | |
tree | 76d087cbfe404755a385eef131f7063b48525695 | |
parent | 295f7324ff8d9ea58b4d3ec93b1aaa1d80e048a9 (diff) |
[NET]: Export symbols needed by the current DCCP code
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/ipv4/inet_timewait_sock.c | 2 | ||||
-rw-r--r-- | net/ipv4/ip_output.c | 2 | ||||
-rw-r--r-- | net/ipv4/ip_sockglue.c | 2 | ||||
-rw-r--r-- | net/ipv4/route.c | 4 |
4 files changed, 8 insertions, 2 deletions
diff --git a/net/ipv4/inet_timewait_sock.c b/net/ipv4/inet_timewait_sock.c index 5cba59b869fe..22882d95f646 100644 --- a/net/ipv4/inet_timewait_sock.c +++ b/net/ipv4/inet_timewait_sock.c | |||
@@ -47,6 +47,8 @@ void __inet_twsk_kill(struct inet_timewait_sock *tw, struct inet_hashinfo *hashi | |||
47 | inet_twsk_put(tw); | 47 | inet_twsk_put(tw); |
48 | } | 48 | } |
49 | 49 | ||
50 | EXPORT_SYMBOL_GPL(__inet_twsk_kill); | ||
51 | |||
50 | /* | 52 | /* |
51 | * Enter the time wait state. This is called with locally disabled BH. | 53 | * Enter the time wait state. This is called with locally disabled BH. |
52 | * Essentially we whip up a timewait bucket, copy the relevant info into it | 54 | * Essentially we whip up a timewait bucket, copy the relevant info into it |
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index dd568b0b7062..633945d27ac2 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c | |||
@@ -158,6 +158,8 @@ int ip_build_and_send_pkt(struct sk_buff *skb, struct sock *sk, | |||
158 | dst_output); | 158 | dst_output); |
159 | } | 159 | } |
160 | 160 | ||
161 | EXPORT_SYMBOL_GPL(ip_build_and_send_pkt); | ||
162 | |||
161 | static inline int ip_finish_output2(struct sk_buff *skb) | 163 | static inline int ip_finish_output2(struct sk_buff *skb) |
162 | { | 164 | { |
163 | struct dst_entry *dst = skb->dst; | 165 | struct dst_entry *dst = skb->dst; |
diff --git a/net/ipv4/ip_sockglue.c b/net/ipv4/ip_sockglue.c index ff4bd067b397..ddb1aedbdc6d 100644 --- a/net/ipv4/ip_sockglue.c +++ b/net/ipv4/ip_sockglue.c | |||
@@ -1090,7 +1090,5 @@ int ip_getsockopt(struct sock *sk, int level, int optname, char __user *optval, | |||
1090 | 1090 | ||
1091 | EXPORT_SYMBOL(ip_cmsg_recv); | 1091 | EXPORT_SYMBOL(ip_cmsg_recv); |
1092 | 1092 | ||
1093 | #ifdef CONFIG_IP_SCTP_MODULE | ||
1094 | EXPORT_SYMBOL(ip_getsockopt); | 1093 | EXPORT_SYMBOL(ip_getsockopt); |
1095 | EXPORT_SYMBOL(ip_setsockopt); | 1094 | EXPORT_SYMBOL(ip_setsockopt); |
1096 | #endif | ||
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 3aef0e15460f..8c0b14e3beec 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
@@ -2602,6 +2602,8 @@ int __ip_route_output_key(struct rtable **rp, const struct flowi *flp) | |||
2602 | return ip_route_output_slow(rp, flp); | 2602 | return ip_route_output_slow(rp, flp); |
2603 | } | 2603 | } |
2604 | 2604 | ||
2605 | EXPORT_SYMBOL_GPL(__ip_route_output_key); | ||
2606 | |||
2605 | int ip_route_output_flow(struct rtable **rp, struct flowi *flp, struct sock *sk, int flags) | 2607 | int ip_route_output_flow(struct rtable **rp, struct flowi *flp, struct sock *sk, int flags) |
2606 | { | 2608 | { |
2607 | int err; | 2609 | int err; |
@@ -2620,6 +2622,8 @@ int ip_route_output_flow(struct rtable **rp, struct flowi *flp, struct sock *sk, | |||
2620 | return 0; | 2622 | return 0; |
2621 | } | 2623 | } |
2622 | 2624 | ||
2625 | EXPORT_SYMBOL_GPL(ip_route_output_flow); | ||
2626 | |||
2623 | int ip_route_output_key(struct rtable **rp, struct flowi *flp) | 2627 | int ip_route_output_key(struct rtable **rp, struct flowi *flp) |
2624 | { | 2628 | { |
2625 | return ip_route_output_flow(rp, flp, NULL, 0); | 2629 | return ip_route_output_flow(rp, flp, NULL, 0); |