Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 01-15-2010, 07:14 AM   #1
LQ Newbie
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
Why socket option "IPV6_ROUTER_ALERT" is invalid?

I want router catch the ip packet which mark router alert label, change it and send to the next hop. Not just forward it immediately.
So I set IP_ROUTER_ALERT and IPV6_ROUTER_ALERT option for ipv4 and ipv6 socket. IP_ROUTER_ALERT was just fine and I can do what I expect. However when I set on IPV6_ROUTER_ALERT, it tells me "Protocol not available" (errno = 92). And This option can be found in "$Kernel/net/ipv6/ipv6_sockglue.c"

Could anyone help? Thanks ~~~

Last edited by heartstring; 01-15-2010 at 07:55 AM.
Old 01-16-2010, 06:13 PM   #2
Senior Member
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
Is your kernel compiled with IPv6 support enabled?
Kevin Barry
Old 01-16-2010, 09:26 PM   #3
LQ Newbie
Registered: Jan 2010
Posts: 2

Original Poster
Rep: Reputation: 0
I think I've opened all of the IPv6 features...(version 2.6.28)
Originally Posted by ta0kira View Post
Is your kernel compiled with IPv6 support enabled?
Kevin Barry


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Httpd: "Invalid argument: alloc_listener: failed to get a socket for (null)" nirox Slackware 10 07-22-2012 04:13 PM
Slackware 12.2 /sbin/dhcpcd: invalid option R due to DHCP_KEEPRESOLV[x]="yes" rhermsen Slackware 2 07-19-2009 01:06 PM
"cc1: error: invalid option 'tune=i686'" while installing Perl modules via CPAN scuzzman Programming 12 08-21-2006 10:30 PM
Quagga "Can't bind socket: Invalid argument" JJX Linux - Networking 0 04-29-2004 11:21 AM
LinNeighborhood --"nmblookup: invalid option -- o" wlfdgcrkz Linux - Software 0 04-27-2003 02:35 PM

All times are GMT -5. The time now is 07:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration