Re: Registered protocol family ?



On 03/12/2009 09:59 PM, Guillaume Dargaud wrote:
Hello all,
where can I find more info on what those numbers mean ?

# dmesg | grep family
[ 0.111792] NET: Registered protocol family 16
[ 0.167374] NET: Registered protocol family 2
[ 0.716058] NET: Registered protocol family 1
[ 0.720180] NET: Registered protocol family 17


Here is an excerpt from a Debian machine's /etc/modprobe.d/aliases file:

## network protocols ##
# alias net-pf-1 unix
# alias net-pf-2 ipv4
# alias net-pf-3 ax25
# alias net-pf-4 ipx
# alias net-pf-5 appletalk
# alias net-pf-6 netrom
alias net-pf-7 bridge
# alias net-pf-8 atm
# alias net-pf-9 x25
# alias net-pf-10 ipv6
# alias net-pf-11 rose
# alias net-pf-12 decnet
# alias net-pf-13 NETBEUI
# alias net-pf-15 af_key
# alias net-pf-16 af_netlink
# alias net-pf-17 af_packet
# alias net-pf-18 ASH
# alias net-pf-19 econet
# alias net-pf-20 atm
# alias net-pf-22 SNA
# alias net-pf-23 irda
# alias net-pf-24 pppoe
alias net-pf-25 wanrouter
# alias net-pf-26 llc2
# alias net-pf-31 bluetooth
# alias net-pf-33 af_rxrpc

the pf above represents Protocol Family.

Hope that helps,
--
Dr Balwinder S "bsd" Dheeman Registered Linux User: #229709
Anu'z Linux@HOME (Unix Shoppe) Machines: #168573, 170593, 259192
Chandigarh, UT, 160062, India Plan9, Fedora, Debian/FreeBSD/XP
Home: http://cto.homelinux.net/~bsd/ Visit: http://counter.li.org/
.