NPROTO vs AF_MAX defines

From: Leslie Watter (leslie.watter_at_gmail.com)
Date: 01/31/05

  • Next message: Ralf Baechle: "Re: [PATCH] Fix SERIAL_TXX9 dependencies"
    Date:	Mon, 31 Jan 2005 18:53:10 -0200
    To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
    
    

    Hi,

    Looking into /usr/src/include/linux/net.h:29
    we have the following define:
    -----------------
    #define NPROTO 32
    -----------------

    Is this '32' the same number used to define AF_MAX
    (/usr/src/include/linux/socket.h)?

    -------
    06:50 leslie@cronos linux> grep AF_MAX socket.h
    #define AF_MAX 32 /* For now.. */
    #define PF_MAX AF_MAX
    ------

    Sorry if this sounds too basically.

    Cheers,

    LEslie
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Ralf Baechle: "Re: [PATCH] Fix SERIAL_TXX9 dependencies"

    Relevant Pages

    • Re: udev and devfs - The final word
      ... >> device enumeration. ... > Oh, don't look too closely at some pseudo-code, it's not like the code ... things to grep for and checking the results of greps as we go) - then ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Strange disk corruption with Linux >= 2.6.13
      ... Non-volatile memory driver v1.2 ... Freeing unused kernel memory: 148k freed ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: Catching NForce2 lockup with NMI watchdog
      ... >table in the system BIOS which the motherboard vendors supply. ... Is it not possible that Linux could be made to handling this hardware ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.7 (future kernel) wish
      ... > I've never seen one give a STOP error from that but I guess a bad driver ... I would like to see the HAL type crap for Linux. ... to have uniform user device control from a gui programmable means. ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • [2.6 patch] remove unused drivers/net/wan/lmc/lmc_ver.h
      ... * This is being done to keep 1 central location where all linux ... * made the souce code not only hard to read but version problems hard ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)