Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
mbuf.h File Reference

Go to the source code of this file.

Data Structures

struct  s_mbuf
 

Macros

#define M_SIZE   4504
 
#define MAX_MBUF   4
 
#define sm_next   m_next
 
#define sm_off   m_off
 
#define sm_len   m_len
 
#define sm_data   m_data
 
#define SMbuf   Mbuf
 
#define mtod   smtod
 
#define mtodoff   smtodoff
 
#define smtod(x, t)   ((t)((x)->sm_data + (x)->sm_off))
 
#define smtodoff(x, t, o)   ((t)((x)->sm_data + (o)))
 

Typedefs

typedef struct s_mbuf SMbuf
 

Macro Definition Documentation

#define M_SIZE   4504

Definition at line 18 of file mbuf.h.

#define MAX_MBUF   4

Definition at line 21 of file mbuf.h.

#define mtod   smtod

Definition at line 30 of file mbuf.h.

#define mtodoff   smtodoff

Definition at line 31 of file mbuf.h.

#define sm_data   m_data

Definition at line 28 of file mbuf.h.

#define sm_len   m_len

Definition at line 27 of file mbuf.h.

#define sm_next   m_next

Definition at line 25 of file mbuf.h.

#define sm_off   m_off

Definition at line 26 of file mbuf.h.

#define SMbuf   Mbuf

Definition at line 29 of file mbuf.h.

#define smtod (   x,
  t 
)    ((t)((x)->sm_data + (x)->sm_off))

Definition at line 47 of file mbuf.h.

#define smtodoff (   x,
  t,
 
)    ((t)((x)->sm_data + (o)))

Definition at line 48 of file mbuf.h.

Typedef Documentation

typedef struct s_mbuf SMbuf

Definition at line 44 of file mbuf.h.