diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-02-22 08:05:40 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:23:36 -0400 |
commit | 7159039a128fa0a73ca7b532f6e1d30d9885277f (patch) | |
tree | 0d02459f9716d7fe5268c1bcbd9b1b9e531b882b /net/ipv6/af_inet6.c | |
parent | b558ff799977a4eda8b3823d1cf6c1c33becb671 (diff) |
[IPV6]: Decentralize EXPORT_SYMBOLs.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'net/ipv6/af_inet6.c')
-rw-r--r-- | net/ipv6/af_inet6.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index 5cac14a5c778..fed3758181e1 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c | |||
@@ -349,6 +349,8 @@ out: | |||
349 | return err; | 349 | return err; |
350 | } | 350 | } |
351 | 351 | ||
352 | EXPORT_SYMBOL(inet6_bind); | ||
353 | |||
352 | int inet6_release(struct socket *sock) | 354 | int inet6_release(struct socket *sock) |
353 | { | 355 | { |
354 | struct sock *sk = sock->sk; | 356 | struct sock *sk = sock->sk; |
@@ -365,6 +367,8 @@ int inet6_release(struct socket *sock) | |||
365 | return inet_release(sock); | 367 | return inet_release(sock); |
366 | } | 368 | } |
367 | 369 | ||
370 | EXPORT_SYMBOL(inet6_release); | ||
371 | |||
368 | int inet6_destroy_sock(struct sock *sk) | 372 | int inet6_destroy_sock(struct sock *sk) |
369 | { | 373 | { |
370 | struct ipv6_pinfo *np = inet6_sk(sk); | 374 | struct ipv6_pinfo *np = inet6_sk(sk); |
@@ -428,6 +432,8 @@ int inet6_getname(struct socket *sock, struct sockaddr *uaddr, | |||
428 | return(0); | 432 | return(0); |
429 | } | 433 | } |
430 | 434 | ||
435 | EXPORT_SYMBOL(inet6_getname); | ||
436 | |||
431 | int inet6_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) | 437 | int inet6_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
432 | { | 438 | { |
433 | struct sock *sk = sock->sk; | 439 | struct sock *sk = sock->sk; |
@@ -457,6 +463,8 @@ int inet6_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) | |||
457 | return(0); | 463 | return(0); |
458 | } | 464 | } |
459 | 465 | ||
466 | EXPORT_SYMBOL(inet6_ioctl); | ||
467 | |||
460 | const struct proto_ops inet6_stream_ops = { | 468 | const struct proto_ops inet6_stream_ops = { |
461 | .family = PF_INET6, | 469 | .family = PF_INET6, |
462 | .owner = THIS_MODULE, | 470 | .owner = THIS_MODULE, |
@@ -603,6 +611,8 @@ out_illegal: | |||
603 | goto out; | 611 | goto out; |
604 | } | 612 | } |
605 | 613 | ||
614 | EXPORT_SYMBOL(inet6_register_protosw); | ||
615 | |||
606 | void | 616 | void |
607 | inet6_unregister_protosw(struct inet_protosw *p) | 617 | inet6_unregister_protosw(struct inet_protosw *p) |
608 | { | 618 | { |
@@ -619,6 +629,8 @@ inet6_unregister_protosw(struct inet_protosw *p) | |||
619 | } | 629 | } |
620 | } | 630 | } |
621 | 631 | ||
632 | EXPORT_SYMBOL(inet6_unregister_protosw); | ||
633 | |||
622 | int inet6_sk_rebuild_header(struct sock *sk) | 634 | int inet6_sk_rebuild_header(struct sock *sk) |
623 | { | 635 | { |
624 | int err; | 636 | int err; |