From 19c9bba94152148523ba0f7ef7cffe3d45656b11 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 29 Apr 1997 21:13:14 +0000 Subject: Import of Linux/MIPS 2.1.36 --- include/linux/isdn_ppp.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'include/linux/isdn_ppp.h') diff --git a/include/linux/isdn_ppp.h b/include/linux/isdn_ppp.h index 5ce86f868..026d9ee3b 100644 --- a/include/linux/isdn_ppp.h +++ b/include/linux/isdn_ppp.h @@ -4,18 +4,20 @@ extern int isdn_ppp_dial_slave(char *); extern int isdn_ppp_hangup_slave(char *); -struct pppinfo +#define CALLTYPE_INCOMING 0x1 +#define CALLTYPE_OUTGOING 0x2 +#define CALLTYPE_CALLBACK 0x4 + +struct pppcallinfo { - int type; /* set by user */ - union { - char clid[32]; /* calling ID */ - int bundles; - int linknumber; - } info; + int calltype; + unsigned char local_num[64]; + unsigned char remote_num[64]; + int charge_units; }; -#define PPPIOCLINKINFO _IOWR('t',128,struct pppinfo) +#define PPPIOCGCALLINFO _IOWR('t',128,struct pppcallinfo) #define PPPIOCBUNDLE _IOW('t',129,int) #define PPPIOCGMPFLAGS _IOR('t',130,int) #define PPPIOCSMPFLAGS _IOW('t',131,int) -- cgit v1.2.3