netdev
[Top] [All Lists]

ZERONET and BADCLASS

To: netdev@xxxxxxxxxxx
Subject: ZERONET and BADCLASS
From: Yuji Sekiya <sekiya@xxxxxxxxxxxxxx>
Date: Mon, 23 Oct 2000 11:08:02 +0900
Organization: Keio University
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Wanderlust/1.1.1 (Purple Rain) REMI/1.14.1 (Mushigawaōsugi) Chao/1.14.0 (Momoyama) APEL/10.2 Emacs/20.7 (i386-*-nt5.0.2195) MULE/4.1 (AOI) Meadow/IPv6-1.13 Beta1++ (TANAHASHI:61)
Hello,

I have a simple question. 
In net/ipv4/fib_frontend.c:inet_addr_type(),

        if (ZERONET(addr) || BADCLASS(addr))
                return RTN_BROADCAST;
        if (MULTICAST(addr))
                return RTN_MULTICAST;

the kernel treats ZERONET(0.0.0.0/8) and BADCLASS(240.0.0.0/4) as
boradcast address.

I think these address classes are invalid address classes
Then is it correct to treat them as broadcast address ?

Sorry if I am missing someting...

-- Yuji Sekiya


<Prev in Thread] Current Thread [Next in Thread>
  • ZERONET and BADCLASS, Yuji Sekiya <=