(usagi-users 03405) setsockopt for IPv6 on Fedora Core 2?
Patrick Lam <[email protected]>
| Newsgroups | gmane.linux.ipv6.usagi.users |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am trying to play around with setsockopt. However, when I look around my FC2 machine, I found quite a few conflicting implementations in it. First, I am trying to use inet6_opt_init() to see how the HOPOPTS works, but then I found that it is simply not defined in the /include/net/*.h. Same for inet6_opt_append and inet6_opt_finish. Actually, do I need these few fundtions to enable HOPOPTS at all? Second, I happened to find an ipv6_setsockopt() in /include/net/ipv6.h. What is it supposed to do? Is it replacing setsockopt? Finally, I have been trying to find some sample codes on the web that makes use of HOPOPTS, but simply can't find anything at all. Can someone give me some pointers on how to find some sample IPv6 codes? Your help is very much appreciated. Regards, Patrick ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com