version 1.1, 2012/02/21 23:32:47
|
version 1.1.1.2, 2016/11/01 09:56:12
|
Line 64
|
Line 64
|
/* returns the calling number (IP, MAC, whatever) */ |
/* returns the calling number (IP, MAC, whatever) */ |
int (*callednum)(Link l, void *buf, size_t buf_len); |
int (*callednum)(Link l, void *buf, size_t buf_len); |
/* returns the called number (IP, MAC, whatever) */ |
/* returns the called number (IP, MAC, whatever) */ |
|
u_short (*getmtu)(Link l, int conf); /* returns actual MTU */ |
|
u_short (*getmru)(Link l, int conf); /* returns actual MRU */ |
}; |
}; |
typedef struct phystype *PhysType; |
typedef struct phystype *PhysType; |
|
|
Line 99
|
Line 101
|
extern int PhysGetPeerIface(Link l, char *buf, size_t buf_len); |
extern int PhysGetPeerIface(Link l, char *buf, size_t buf_len); |
extern int PhysGetCallingNum(Link l, char *buf, size_t buf_len); |
extern int PhysGetCallingNum(Link l, char *buf, size_t buf_len); |
extern int PhysGetCalledNum(Link l, char *buf, size_t buf_len); |
extern int PhysGetCalledNum(Link l, char *buf, size_t buf_len); |
|
extern u_short PhysGetMtu(Link l, int conf); |
|
extern u_short PhysGetMru(Link l, int conf); |
extern int PhysIsBusy(Link l); |
extern int PhysIsBusy(Link l); |
|
|
extern int PhysInit(Link l); |
extern int PhysInit(Link l); |