/******************************************************************************1*2* atm_nicstar.h3*4* Driver-specific declarations for use by NICSTAR driver specific utils.5*6* Author: Rui Prior7*8* (C) INESC 19989*10******************************************************************************/111213#ifndef LINUX_ATM_NICSTAR_H14#define LINUX_ATM_NICSTAR_H1516/* Note: non-kernel programs including this file must also include17* sys/types.h for struct timeval18*/1920#include <linux/atmapi.h>21#include <linux/atmioc.h>2223#define NS_GETPSTAT _IOWR('a',ATMIOC_SARPRV+1,struct atmif_sioc)24/* get pool statistics */25#define NS_SETBUFLEV _IOW('a',ATMIOC_SARPRV+2,struct atmif_sioc)26/* set buffer level markers */27#define NS_ADJBUFLEV _IO('a',ATMIOC_SARPRV+3)28/* adjust buffer level */2930typedef struct buf_nr31{32unsigned min;33unsigned init;34unsigned max;35}buf_nr;363738typedef struct pool_levels39{40int buftype;41int count; /* (At least for now) only used in NS_GETPSTAT */42buf_nr level;43} pool_levels;4445/* type must be one of the following: */46#define NS_BUFTYPE_SMALL 147#define NS_BUFTYPE_LARGE 248#define NS_BUFTYPE_HUGE 349#define NS_BUFTYPE_IOVEC 4505152#endif /* LINUX_ATM_NICSTAR_H */535455