diff options
Diffstat (limited to 'net/decnet/af_decnet.c')
-rw-r--r-- | net/decnet/af_decnet.c | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/net/decnet/af_decnet.c b/net/decnet/af_decnet.c index c560ea01e..ab244350e 100644 --- a/net/decnet/af_decnet.c +++ b/net/decnet/af_decnet.c @@ -2032,24 +2032,23 @@ static struct net_proto_family dn_family_ops = { }; static struct proto_ops dn_proto_ops = { - AF_DECnet, - - dn_release, - dn_bind, - dn_connect, - sock_no_socketpair, - dn_accept, - dn_getname, - dn_poll, - dn_ioctl, - dn_listen, - dn_shutdown, - dn_setsockopt, - dn_getsockopt, - sock_no_fcntl, - dn_sendmsg, - dn_recvmsg, - sock_no_mmap + family: AF_DECnet, + + release: dn_release, + bind: dn_bind, + connect: dn_connect, + socketpair: sock_no_socketpair, + accept: dn_accept, + getname: dn_getname, + poll: dn_poll, + ioctl: dn_ioctl, + listen: dn_listen, + shutdown: dn_shutdown, + setsockopt: dn_setsockopt, + getsockopt: dn_getsockopt, + sendmsg: dn_sendmsg, + recvmsg: dn_recvmsg, + mmap: sock_no_mmap, }; #ifdef CONFIG_SYSCTL @@ -2091,7 +2090,7 @@ static int __init decnet_setup(char *str) decnet_address = dn_htons(area << 10 | node); dn_dn2eth(decnet_ether_address, dn_ntohs(decnet_address)); - return 0; + return 1; } __setup("decnet=", decnet_setup); |