--- zzzz-none-000/linux-2.4.17/include/linux/atmdev.h 2001-11-22 19:49:02.000000000 +0000 +++ sangam-fb-401/linux-2.4.17/include/linux/atmdev.h 2005-06-14 11:09:35.000000000 +0000 @@ -95,7 +95,12 @@ /* enable or disable single-copy */ #define ATM_SETBACKEND _IOW('a',ATMIOC_SPECIAL+2,atm_backend_t) /* set backend handler */ - +#define ATM_NEWBACKENDIF _IOW('a',ATMIOC_SPECIAL+3,atm_backend_t) + /* use backend to make new if */ +#define ATM_STOPTX _IOW('a',ATMIOC_SPECIAL+4,struct atmif_sioc) + /* Stop Tx on Sangam DSL */ +#define ATM_FLUSHTX _IOW('a',ATMIOC_SPECIAL+5,struct atmif_sioc) + /* Flush Tx queues */ /* * These are backend handkers that can be set via the ATM_SETBACKEND call * above. In the future we may support dynamic loading of these - for now, @@ -103,7 +108,7 @@ */ #define ATM_BACKEND_RAW 0 #define ATM_BACKEND_PPP 1 /* PPPoATM - RFC2364 */ -#define ATM_BACKEND_BR_2684 2 /* Bridged RFC1483/2684 */ +#define ATM_BACKEND_BR2684 2 /* Bridged RFC1483/2684 */ /* for ATM_GETTYPE */ #define ATM_ITFTYP_LEN 8 /* maximum length of interface type name */ @@ -321,6 +326,21 @@ void *user_back; /* user backlink - not touched by */ /* native ATM stack. Currently used */ /* by CLIP and sch_atm. */ + +#ifdef CONFIG_PACKET_MMAP + atomic_t mapped; + unsigned long *pg_vec; + unsigned int pg_vec_order; + unsigned int pg_vec_pages; + unsigned int pg_vec_len; + + struct tpacket_hdr **iovec; + unsigned int frame_size; + unsigned int iovmax; + unsigned int head; + int copy_thresh; +#endif + };