Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6


bpqether.h
01: #ifndef __BPQETHER_H
02: #define __BPQETHER_H
03: 
04: /*
05:  *      Defines for the BPQETHER pseudo device driver
06:  */
07: 
08: #ifndef __LINUX_IF_ETHER_H
09: #include <linux/if_ether.h>
10: #endif
11: 
12: #define SIOCSBPQETHOPT          (SIOCDEVPRIVATE+0)      /* reserved */
13: #define SIOCSBPQETHADDR         (SIOCDEVPRIVATE+1)
14:  
15: struct bpq_ethaddr {
16:         unsigned char destination[ETH_ALEN];
17:         unsigned char accept[ETH_ALEN];
18: };
19: 
20: /* 
21:  * For SIOCSBPQETHOPT - this is compatible with PI2/PacketTwin card drivers,
22:  * currently not implemented, though. If someone wants to hook a radio
23:  * to his Ethernet card he may find this useful. ;-)
24:  */
25: 
26: #define SIOCGBPQETHPARAM        0x5000  /* get Level 1 parameters */
27: #define SIOCSBPQETHPARAM        0x5001  /* set */
28: 
29: struct bpq_req  {
30:     int cmd;
31:     int speed;                  /* unused */
32:     int clockmode;              /* unused */
33:     int txdelay;
34:     unsigned char persist;      /* unused */
35:     int slotime;                /* unused */
36:     int squeldelay;
37:     int dmachan;                /* unused */
38:     int irq;                    /* unused */
39: };
40: 
41: #endif
42: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/