[NET]: show bound packet types
authorStephen Hemminger <shemminger@linux-foundation.org>
Mon, 12 Mar 2007 21:35:37 +0000 (14:35 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:25:04 +0000 (22:25 -0700)
commit0e1256ffd1ec654b35e023c66f6b262d4cba91e9
treed949e9d2dfcd9bb94b47e9a3a63f2afe09d2ec79
parentf690808e17925fc45217eb22e8670902ecee5c1b
[NET]: show bound packet types

Show what protocols are bound to what packet types in /proc/net/ptype
Uses kallsyms to decode function pointers if possible.
Example:
Type Device      Function
ALL  eth1     packet_rcv_spkt+0x0
0800          ip_rcv+0x0
0806          arp_rcv+0x0
86dd          :ipv6:ipv6_rcv+0x0

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c