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