This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001502] Make ip6_init2() visible globally to allow method ofdisabling ipv6 support at runtime.


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001502

--- Comment #2 from Grant Edwards <grant.b.edwards@gmail.com> 2012-03-01 15:28:06 GMT ---
Created an attachment (id=1603)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1603)
Sample code showing how to disable ipv6 at runtime.

The file disable-ipv6-at-runtime.c demonstrates how to disable ipv6
support at runtime.  It needs to be done early in the boot process so
a dummy DEVTAB entry init() function is used as a hook to call the
code that conditionally disables ipv6 support.

Both the actual mechanism to disable ipv6 and the way it's invoked are
a bit too clever, but there doesn't seem to be any simpler, more
obvious way to do it.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]