(usagi-users 03691) Router Alert Query
"Gayatri Bulla" <[email protected]>
| Newsgroups | gmane.linux.ipv6.usagi.users |
|---|---|
| Message-ID | <[email protected]> |
Hello, I have a query related to Router Alert Option. In ip6_ra_control() function in ipv6_sockglue.c file, you are checking this: if (sk->type != SOCK_RAW || sk->num != IPPROTO_RAW) return -EINVAL; I dint get the importance of sk->num != IPPROTO_RAW check..... Why are you checking the local port to be IPPROTO_RAW, what i feel is it should parse and handle all raw packets and not just IPPROTO_RAW packets. I am working on multicast forwarding, for that we are creating an raw socket with protocol as IPPROTO_ICMPV6, as ip6_ra_control has a check for IPPROTO_RAW, its failing there. Please comment on this... Regards, Gayatri