/* SPDX-License-Identifier: GPL-2.0-or-later */ /****************************************************************************** * * (C)Copyright 1998,1999 SysKonnect, * a business unit of Schneider & Koch & Co. Datensysteme GmbH. * * The information in this file is provided "AS IS" without warranty. * ******************************************************************************/ #ifndef _MBUF_ #define _MBUF_ #define M_SIZE … #ifndef MAX_MBUF #define MAX_MBUF … #endif #ifndef NO_STD_MBUF #define sm_next … #define sm_off … #define sm_len … #define sm_data … #define SMbuf … #define mtod … #define mtodoff … #endif struct s_mbuf { … } ; Mbuf ; /* mbuf head, to typed data */ #define smtod(x,t) … #define smtodoff(x,t,o) … #endif /* _MBUF_ */