diff options
author | harti <harti@FreeBSD.org> | 2003-08-06 14:34:38 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-08-06 14:34:38 +0000 |
commit | c4df8bc17e600eecd5f6415645461286ff9cdc2f (patch) | |
tree | cde9e0bcf9ce8bad1f64f572c80db93f3bc8ad80 /sys/netnatm/natm.h | |
parent | c2ce7aecc7fac7b230a1d5b52d97781fa072a273 (diff) | |
download | FreeBSD-src-c4df8bc17e600eecd5f6415645461286ff9cdc2f.zip FreeBSD-src-c4df8bc17e600eecd5f6415645461286ff9cdc2f.tar.gz |
Remove the last vestiges of ATM raw mode. This has not been useful for a
long time and has already been removed from the only driver that supported
it (en(4)) and from the man page.
Diffstat (limited to 'sys/netnatm/natm.h')
-rw-r--r-- | sys/netnatm/natm.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sys/netnatm/natm.h b/sys/netnatm/natm.h index d0469df..9cc925d 100644 --- a/sys/netnatm/natm.h +++ b/sys/netnatm/natm.h @@ -86,21 +86,11 @@ struct natmpcb { #define NPCB_CONNECTED 0x02 /* connected */ #define NPCB_IP 0x04 /* used by IP */ #define NPCB_DRAIN 0x08 /* destory as soon as inq == 0 */ -#define NPCB_RAW 0x10 /* in 'raw' mode? */ /* flag arg to npcb_free */ #define NPCB_REMOVE 0 /* remove from global list */ #define NPCB_DESTROY 1 /* destroy and be free */ -/* - * NPCB_RAWCC is a hack which applies to connections in 'raw' mode. it - * is used to override the sbspace() macro when you *really* don't want - * to drop rcv data. the recv socket buffer size is raised to this value. - * - * XXX: socket buffering needs to be looked at. - */ -#define NPCB_RAWCC (1024*1024) /* 1MB */ - LIST_HEAD(npcblist, natmpcb); /* global data structures */ @@ -114,13 +104,6 @@ extern u_int natm_sookcnt; extern u_int natm_sookbytes; /* account of ok */ #endif -/* atm_rawioctl: kernel's version of SIOCRAWATM [for internal use only!] */ -struct atm_rawioctl { - struct natmpcb *npcb; - int rawvalue; -}; -#define SIOCXRAWATM _IOWR('a', 125, struct atm_rawioctl) - /* external functions */ /* natm_pcb.c */ |