blob: cb63098dcc23f31d9445c151346cffd63e92e170 (
plain)
ofs | hex dump | ascii |
---|
0000 | 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 03 23 00 00 02 0d 08 06 00 00 00 2d 02 a0 | .PNG........IHDR...#.........-.. |
0020 | 37 00 00 18 36 69 43 43 50 49 43 43 20 50 72 6f 66 69 6c 65 00 00 58 85 95 79 09 38 55 df d7 ff | 7...6iCCPICC.Profile..X..y.8U... |
0040 | 3e f7 dc c1 e5 5e f3 3c cf f3 3c 0f 99 e7 29 f3 ac 74 5d d3 35 67 26 32 a6 50 d1 a4 42 84 54 32 | >....^.<..<...)..t].5g&2.P..B.T2 |
0060 | 45 03 49 8a 0c 29 91 21 44 03 4a a5 54 2a 8a 4c ef 41 f5 fd bd df f7 ff fc df e7 dd cf 73 ce f9 | E.I..).!D.J.T*.L.A...........s.. |
0080 | 58 7b ed b5 3f 7b af b5 87 e5 02 c0 c5 4e 0a 0f 0f 46 d1 03 10 12 1a 15 61 6f 6a c/*
* These are the public elements of the Linux LAPB module.
*/
#ifndef LAPB_KERNEL_H
#define LAPB_KERNEL_H
#define LAPB_OK 0
#define LAPB_BADTOKEN 1
#define LAPB_INVALUE 2
#define LAPB_CONNECTED 3
#define LAPB_NOTCONNECTED 4
#define LAPB_REFUSED 5
#define LAPB_TIMEDOUT 6
#define LAPB_NOMEM 7
#define LAPB_STANDARD 0x00
#define LAPB_EXTENDED 0x01
#define LAPB_SLP 0x00
#define LAPB_MLP 0x02
#define LAPB_DTE 0x00
#define LAPB_DCE 0x04
struct lapb_register_struct {
void (*connect_confirmation)(struct net_device *dev, int reason);
void (*connect_indication)(struct net_device *dev, int reason);
void (*disconnect_confirmation)(struct net_device *dev, int reason);
void (*disconnect_indication)(struct net_device *dev, int reason);
int (*data_indication)(struct net_device *dev, struct sk_buff *skb);
void (*data_transmit)(struct net_device *dev, struct sk_buff *skb);
};
struct lapb_parms_struct {
unsigned int t1;
unsigned int t1timer;
unsigned int t2;
unsigned int t2timer;
unsigned int n2;
unsigned int n2count;
unsigned int window;
unsigned int state;
unsigned int mode;
};
extern int lapb_register(struct net_device *dev,
const struct lapb_register_struct *callbacks);
extern int lapb_unregister(struct net_device *dev);
extern int lapb_getparms(struct net_device *dev, struct lapb_parms_struct *parms);
extern int lapb_setparms(struct net_device *dev, struct lapb_parms_struct *parms);
extern int lapb_connect_request(struct net_device *dev);
extern int lapb_disconnect_request(struct net_device *dev);
extern int lapb_data_request(struct net_device *dev, struct sk_buff *skb);
extern int lapb_data_received(struct net_device *dev, struct sk_buff *skb);
#endif
|