#define NDRV_PROTOCOL_DESC_VERS 1
#define NDRV_DEMUXTYPE_ETHERTYPE 2
#define NDRV_DEMUXTYPE_SAP 3
#define NDRV_DEMUXTYPE_SNAP 4
#define NDRV_SETDMXSPEC 5
#define NDRV_ADDMULTICAST 6
#define NDRV_DELMULTICAST 7
#define SOL_NDRVPROTO 8

struct ndrv_protocol_desc {
int version;
int protocol_family;
int demux_count;
int demux_list;
};


struct ndrv_demux_desc{
int type;
int length;

union {
int ether_type;
int sap[100];
int snap[100];
}data;

};