| /****************************************************************************** |
| * (C)Copyright 1998,1999 SysKonnect, |
| * a business unit of Schneider & Koch & Co. Datensysteme GmbH. |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License as published by |
| * the Free Software Foundation; either version 2 of the License, or |
| * (at your option) any later version. |
| * The information in this file is provided "AS IS" without warranty. |
| ******************************************************************************/ |
| struct s_mbuf *sm_next ; /* low level linked list */ |
| short sm_off ; /* offset in m_data */ |
| u_int sm_len ; /* len of data */ |
| typedef struct s_mbuf SMbuf ; |
| /* mbuf head, to typed data */ |
| #define smtod(x,t) ((t)((x)->sm_data + (x)->sm_off)) |
| #define smtodoff(x,t,o) ((t)((x)->sm_data + (o))) |