Skip to contentSkip to conversation

NPROTO vs AF_MAX defines

DISCUSSION Leslie Watter 1 participant 1 message Jan 31, 2005

lore
Share & tools
lore
#0 lore raw

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