X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fipv6%2Faf_inet6.c;h=980687f39c8fe49fb7101887f55abcbba769f820;hb=90ad8654ffeb336af8c878fdf7bc72e2ac72467a;hp=83e832e3e65e019f657ca658d1c2474c34410bad;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index 83e832e3e..980687f39 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c @@ -560,6 +560,8 @@ static struct inet_protosw rawv6_protosw = { .flags = INET_PROTOSW_REUSE, }; +#define INETSW6_ARRAY_LEN (sizeof(inetsw6_array) / sizeof(struct inet_protosw)) + void inet6_register_protosw(struct inet_protosw *p) {