This is the mail archive of the ecos-discuss@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]

Re: Disable IPv6 at startup?


Perhaps the IPV6CTL_AUTO_LINKLOCAL sysctl() (enable CYGPKG_NET_FREEBSD_SYSCTL) might work?

Jay

On 2/16/2012 12:06 PM, Grant Edwards wrote:
What's the simplest/best way to "disable" IPv6 at runtime?

For IPv4 if you never set up any addresses or routes, then that's
"disabled enough" since it won't respond visibly to any IPv4 packets
(AFAICT).

However, for IPv6, there is a default link-local address and a
link-local route -- so even if the user application never sets up any
IPv6 configuration, the device will respond to IPv6 packets (neighbor
discovery, ping, etc).


-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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