Date: Sun, 29 Apr 2007 02:57:06 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 118925 for review Message-ID: <200704290257.l3T2v64q009431@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=118925 Change 118925 by kmacy@kmacy_vt-x:opentoe_init on 2007/04/29 02:56:25 rather than overloading random unused fields as in linux add a pointer to a separate structure for TOE tracking of socket state Affected files ... .. //depot/projects/opentoe/sys/sys/socketvar.h#4 edit Differences ... ==== //depot/projects/opentoe/sys/sys/socketvar.h#4 (text+ko) ==== @@ -131,6 +131,7 @@ #define SB_AIO 0x80 /* AIO operations queued */ #define SB_KNOTE 0x100 /* kernel note attached */ #define SB_AUTOSIZE 0x800 /* automatically size socket buffer */ +#define SB_TOE 0x1000 /* socket is associated with a TOE */ void (*so_upcall)(struct socket *, void *, int); void *so_upcallarg; @@ -145,6 +146,7 @@ void *so_accept_filter_arg; /* saved filter args */ char *so_accept_filter_str; /* saved user args */ } *so_accf; + void *so_toe; /* (b) TOE private data */ }; #define SB_EMPTY_FIXUP(sb) do { \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704290257.l3T2v64q009431>