|
|
|
Re: Disable IPv4 | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
On 04/14/2011 01:32 PM, Rose Price wrote:
First, please don't do this cut/paste inline responses, they are hard to follow.
>> You're talking about the module parameter here, correct?
>
> Yes I think, I was referring to the following code in ip6_input.c, and
> ip6_output.c, which may have changed,
>
> ipv6_rcv()
>
> if ((skb = skb_share_check(skb, GFP_ATOMIC)) == NULL ||
> !idev || unlikely(idev->cnf.disable_ipv6)) {<-------------------------------------------------------
That's the per-interface setting, which is inherited from the default.
I'm confused though, since your disable IPv6/IPv4 question comes from a
10,000 foot management view of the system, but you're looking down in
the details of the input/output routines... you first need to understand
how to disable before you can jump right into the code details.
Take a look at Documentation/networking/ip-sysctl.txt and ipv6.txt for
some notes on the settings.
-Brian
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Netdev] [Ethernet Bridging] [Linux 802.1Q VLAN] [Linux Wireless] [Kernel Newbies] [Security] [Linux for Hams] [Netfilter] [Git] [Bugtraq] [Photo] [Yosemite] [Yosemite News and Information] [MIPS Linux] [ARM Linux] [Linux RAID] [Linux PCI] [Linux Admin] [Samba] [Video 4 Linux] [Linux Resources]