ppp: Add ppp_dev_name() exported function
authorJames Chapman <jchapman@katalix.com>
Fri, 2 Apr 2010 06:18:39 +0000 (06:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Apr 2010 21:56:02 +0000 (14:56 -0700)
commit63f96072f9ba430aa348bc987c3d5a4f48bae301
tree7c210e4a03f09c12f302a8f4800e1258660c1068
parentfd558d186df2c13a22455373858bae634a4795af
ppp: Add ppp_dev_name() exported function

ppp_dev_name() gives PPP users visibility of a ppp channel's device
name. This can be used by L2TP drivers to dump the assigned PPP
interface name.

Signed-off-by: James Chapman <jchapman@katalix.com>
Reviewed-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp_generic.c
include/linux/ppp_channel.h