WSL2-Linux-Kernel/net
James Chapman 0ad6614048 l2tp: Add debugfs files for dumping l2tp debug info
The existing pppol2tp driver exports debug info to
/proc/net/pppol2tp. Rather than adding info to that file for the new
functionality added in this patch series, we add new files in debugfs,
leaving the old /proc file for backwards compatibility (L2TPv2 only).

Currently only one file is provided: l2tp/tunnels, which lists
internal debug info for all l2tp tunnels and sessions. More files may
be added later. The info is for debug and problem analysis only -
userspace apps should use netlink to obtain status about l2tp tunnels
and sessions.

Although debugfs does not support net namespaces, the tunnels and
sessions dumped in l2tp/tunnels are only those in the net namespace of
the process reading the file.

Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-04-03 14:56:07 -07:00
..
9p 9p: Change the name of new protocol from 9p2010.L to 9p2000.L 2010-03-13 08:57:29 -06:00
802 net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
8021q net: move address list functions to a separate file 2010-04-03 14:22:11 -07:00
appletalk net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
atm atm: Use kasprintf 2010-03-21 18:34:15 -07:00
ax25 net: ax25: use seq_hlist_foo() helpers 2010-02-10 11:12:09 -08:00
bluetooth net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
bridge bridge: cleanup: remove unused assignment 2010-03-21 21:21:58 -07:00
caif net-caif: using kmalloc/kfree requires the include of slab.h 2010-04-01 00:28:49 -07:00
can can: deny filterlist access on non-CAN interfaces 2010-02-02 07:21:34 -08:00
core net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
dcb const: struct nla_policy 2010-02-18 14:30:18 -08:00
dccp net: remove trailing space in messages 2010-03-24 14:01:54 -07:00
decnet net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
dsa net: move address list functions to a separate file 2010-04-03 14:22:11 -07:00
econet net: use net_eq to compare nets 2009-11-25 15:14:13 -08:00
ethernet llc: use dev_hard_header 2009-12-26 20:38:23 -08:00
ieee802154 net: use net_eq to compare nets 2009-11-25 15:14:13 -08:00
ipv4 net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
ipv6 net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
ipx net: ipx: use seq_list_foo() helpers 2010-02-10 12:31:10 -08:00
irda net: remove trailing space in messages 2010-03-24 14:01:54 -07:00
iucv const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
key xfrm: SP lookups signature with mark 2010-02-22 16:21:12 -08:00
l2tp l2tp: Add debugfs files for dumping l2tp debug info 2010-04-03 14:56:07 -07:00
lapb net: remove NET_RX_BAD and NET_RX_CN* defines 2009-07-05 19:15:35 -07:00
llc llc: cleanup: remove dead code from llc_init() 2010-03-24 13:34:08 -07:00
mac80211 net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
netfilter netfilter: ctnetlink: fix reliable event delivery if message building fails 2010-03-20 14:29:03 -07:00
netlabel net: remove INIT_RCU_HEAD() usage 2010-02-17 00:03:27 -08:00
netlink netlink: Export genl_lock() API for use by modules 2010-04-03 14:56:05 -07:00
netrom net: netrom: use seq_hlist_foo() helpers 2010-02-10 11:12:08 -08:00
packet net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
phonet phonet: use for_each_set_bit() 2010-03-15 16:00:47 -07:00
rds rds: cleanup: remove unneeded variable 2010-03-24 13:34:09 -07:00
rfkill rename new rfkill sysfs knobs 2010-03-19 15:48:25 -04:00
rose net: rose: use seq_hlist_foo() helpers 2010-02-10 11:12:08 -08:00
rxrpc net: use net_eq to compare nets 2009-11-25 15:14:13 -08:00
sched gen_estimator: deadlock fix 2010-04-01 18:38:48 -07:00
sctp sctp: eliminate useless code 2010-03-30 23:58:22 -07:00
sunrpc net: remove trailing space in messages 2010-03-24 14:01:54 -07:00
tipc tipc: define needless global scoped variable static 2010-03-30 23:58:22 -07:00
unix AF_UNIX: update locking comment 2010-02-18 14:12:06 -08:00
wanrouter headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
wimax wimax: remove unneeded variable 2010-03-24 13:34:09 -07:00
wireless cfg80211: Add connection quality monitoring support to nl80211 2010-03-24 16:02:37 -04:00
x25 net: backlog functions rename 2010-03-05 13:34:03 -08:00
xfrm xfrm: remove policy lock when accessing policy->walk.dead 2010-04-01 19:41:35 -07:00
Kconfig l2tp: Split pppol2tp patch into separate l2tp and ppp parts 2010-04-03 14:56:02 -07:00
Makefile l2tp: Split pppol2tp patch into separate l2tp and ppp parts 2010-04-03 14:56:02 -07:00
TUNABLE
compat.c net: use compat helper functions in compat_sys_recvmmsg 2009-12-11 15:07:57 -08:00
nonet.c
socket.c fs: no games with DCACHE_UNHASHED 2009-12-17 10:51:40 -05:00
sysctl_net.c net: spread __net_init, __net_exit 2010-01-17 19:16:02 -08:00