lkml.org 
[lkml]   [1999]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: what is net-pf-17?
Date
-----BEGIN PGP SIGNED MESSAGE-----

> Hi Drago, Marty.
>
> >> What is net-pf-17?
>
> > It's the packet protocol family (AF_PACKET/PF_PACKET). Check
> > out all the address/protocol family defintions in <socket.h>.
>
> >> Is there a table of what net-pf-xx means? (I know appletalk and
> >> ipx are 4 and 5). Can more meaningful messages be displayed
> >> (this is fundamentally a redhat 5.2 system).
>
> > This is what modprobe is given by the kernel to locate the
> > driver for this protocol. Add this to your /etc/conf.modules:
>
> For reference, here's the valies I've managed to identify...

Where do these numbers come from? (other than
/usr/src/linux/include/linux/socket.h and
/usr/include/socketbits.h...by-the-way, why are they defined,
sometimes differently, in the two files?) Do we get numbers from
IANA, or are these implementation specific?

> Q> Modprobe Identifier Possible Identifier
> Q> ~~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
> Q> net-pf-1 unix
> Q> net-pf-2 ipv4
> Q> net-pf-3 ax25
> Q> net-pf-4 ipx
> Q> net-pf-5 appletalk
> Q> net_pf_6 netrom
> Q> net_pf_8 atmpvc
> Q> net_pf_9 x25
> Q> net_pf_10 ipv6
> Q> net_pf_11 rose
> Q> net_pf_12 decnet
> Q> net_pf_13 netbeui
> Q> net_pf_16 netlink
> Q> net-pf-17 packet
> Q> net_pf_18 ash
> Q> net_pf_19 econet
> Q> net_pf_20 atmsvc
> Q> net_pf_22 sna
> Q> net_pf_23 irda

Additionally, I have seen and am using PF_KEY=15 (RFC2367).
Currently, our PF_KEYv2 is part of the 'ipsec' module, but should be
separated at some point into 'key' since it is a generic keying
interface.

> The 'possible identifier' column is where I have identified the
> protocol being referred to, but have no info as to the actual protocol
> identifier to use. Basically, if you have the relevant protocol as a
> module for your current kernel, look for a module with a name similar
> to those given, probably to be found in...
>
> /lib/modules/`uname -r`/net/

or: /lib/modules/`uname -r`/misc/

> Best wishes from Riley.

slainte mhath, RGB
- --
The first Ottawa Linux Symposium was a huge success! <ottawalinuxsymposium.org>
This SunRayce was a wet one! DroughtRelief_99? -- <www.sunrayce.com/sunrayce/>
Richard Guy Briggs -- PGP key available Auto-Free Ottawa! Canada
<http://www.conscoop.ottawa.on.ca/rgb/> </www.flora.org/afo/>
Prevent Internet Wiretapping! -- FreeS/WAN:<www.xs4all.nl/~freeswan>
Thanks for voting Green! -- <green.ca> Marillion:<www.marillion.co.uk>

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBN6rn59+sBuIhFagtAQHbRAP/UIFOT6LE1sVCev4QQ4JHwdM1AImJdlic
UpSvMBOoupoMV8dw7yzWoOZzIT6+vBOL4kRThz7XNV8KCt/oeDllUbpnehIXvYhF
42S5jkmtG0012+R9asqt16TVUXxp6jmCkoXUTFtdUACPEp8yuncXWeWgS/zolKkQ
Y+4Fy7h9R7s=
=UJGh
-----END PGP SIGNATURE-----

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

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.324 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site