aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/af_inet6.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/af_inet6.c')
-rw-r--r--net/ipv6/af_inet6.c12
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
352EXPORT_SYMBOL(inet6_bind);
353
352int inet6_release(struct socket *sock) 354int 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
370EXPORT_SYMBOL(inet6_release);
371
368int inet6_destroy_sock(struct sock *sk) 372int 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
435EXPORT_SYMBOL(inet6_getname);
436
431int inet6_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) 437int 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
466EXPORT_SYMBOL(inet6_ioctl);
467
460const struct proto_ops inet6_stream_ops = { 468const 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
614EXPORT_SYMBOL(inet6_register_protosw);
615
606void 616void
607inet6_unregister_protosw(struct inet_protosw *p) 617inet6_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
632EXPORT_SYMBOL(inet6_unregister_protosw);
633
622int inet6_sk_rebuild_header(struct sock *sk) 634int inet6_sk_rebuild_header(struct sock *sk)
623{ 635{
624 int err; 636 int err;