> Excerpt from <linux/socket.h>:
> /* Supported address families. */
> #define AF_UNSPEC 0
> #define AF_UNIX 1 /* Unix domain sockets */
> #define AF_INET 2 /* Internet IP Protocol */
> #define AF_AX25 3 /* Amateur Radio AX.25 */
> #define AF_IPX 4 /* Novell IPX */
> #define AF_APPLETALK 5 /* Appletalk DDP */
> #define AF_NETROM 6 /* Amateur radio NetROM */
> #define AF_BRIDGE 7 /* Multiprotocol bridge */
> #define AF_AAL5 8 /* Reserved for Werner's ATM */
> #define AF_X25 9 /* Reserved for X.25 project */
> #define AF_INET6 10 /* IP version 6 */
> #define AF_MAX 12 /* For now.. */
> /* Protocol families, same as address families. */
> #define PF_UNSPEC AF_UNSPEC
> #define PF_UNIX AF_UNIX
> #define PF_INET AF_INET
> #define PF_AX25 AF_AX25
> #define PF_IPX AF_IPX
> #define PF_APPLETALK AF_APPLETALK
> #define PF_NETROM AF_NETROM
> #define PF_BRIDGE AF_BRIDGE
> #define PF_AAL5 AF_AAL5
> #define PF_X25 AF_X25
> #define PF_INET6 AF_INET6
> Cheers,
> Bjorn <bj0rn@blox.se>
Thanks!
I've now found the "sock_register" calls under "net/*/". This covers
"atalk", "ax25", "inet", "ipx", "netrom" and "unix".
That leaves "p8022", "p8022tr", "snap" and "rif" from net/protocols.c.
Maybe these are internal ones?
-- Peter