Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Registered protocol family ?

4,321 views
Skip to first unread message

Guillaume Dargaud

unread,
Mar 12, 2009, 12:29:17 PM3/12/09
to
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

Thanks
--
Guillaume Dargaud
http://www.gdargaud.net/


Lew Pitcher

unread,
Mar 12, 2009, 1:10:11 PM3/12/09
to
On March 12, 2009 12:29, in comp.os.linux.networking, Guillaume Dargaud
(use_the_form_on...@www.gdargaud.net) wrote:

> Hello all,
> where can I find more info on what those numbers mean ?

You can start in /etc/protocols

> # dmesg | grep family
> [ 0.111792] NET: Registered protocol family 16

chaos 16 CHAOS # Chaos

> [ 0.167374] NET: Registered protocol family 2

igmp 2 IGMP # internet group management protocol

> [ 0.716058] NET: Registered protocol family 1

icmp 1 ICMP # internet control message protocol

> [ 0.720180] NET: Registered protocol family 17

udp 17 UDP # user datagram protocol

After that, you can check out the various RFCs at http://www.rfc-editor.org/
and the documentation at the Intenet Engineering Task Force (ietf.org)

--
Lew Pitcher

Master Codewright & JOAT-in-training | Registered Linux User #112576
http://pitcher.digitalfreehold.ca/ | GPG public key available by request
---------- Slackware - Because I know what I'm doing. ------


Balwinder S Dheeman

unread,
Mar 12, 2009, 4:23:23 PM3/12/09
to
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/

Allen Kistler

unread,
Mar 12, 2009, 5:27:02 PM3/12/09
to
Balwinder S Dheeman wrote:
> 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:
>
> [snip]

Fedora and Red Hat put the same info in /etc/modprobe.d/modprobe.conf.dist.

However, whatever your distro, if you're using anything other than a
prehistoric modprobe, the info should be in some file in /etc/modprobe.d
(or in /etc/modprobe.conf itself).

Guillaume Dargaud

unread,
Mar 23, 2009, 7:29:31 AM3/23/09
to
> However, whatever your distro, if you're using anything other than a
> prehistoric modprobe, the info should be in some file in /etc/modprobe.d
> (or in /etc/modprobe.conf itself).

It was an embedded system, so none of those fancy modprobe thingies. But
your replies got us on the right track to find and solve the issues (missing
options in .config and in uClibc).
Thanks.

0 new messages