FreeBSD kernel netgraph code
ngatmbase.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

struct mbuf * uni_msg_pack_mbuf (struct uni_msg *, void *, size_t)
 
struct uni_msg * uni_msg_alloc (size_t)
 
struct uni_msg * uni_msg_build (void *,...)
 
void uni_msg_destroy (struct uni_msg *)
 
int uni_msg_unpack_mbuf (struct mbuf *, struct uni_msg **)
 

Function Documentation

◆ uni_msg_alloc()

struct uni_msg * uni_msg_alloc ( size_t  s)

Definition at line 352 of file ngatmbase.c.

References EXTRA, and ngatm_unilist_mtx.

Referenced by uni_msg_build(), and uni_msg_unpack_mbuf().

Here is the caller graph for this function:

◆ uni_msg_build()

struct uni_msg * uni_msg_build ( void *  ptr,
  ... 
)

Definition at line 411 of file ngatmbase.c.

References uni_msg_alloc().

Here is the call graph for this function:

◆ uni_msg_destroy()

void uni_msg_destroy ( struct uni_msg *  m)

◆ uni_msg_pack_mbuf()

struct mbuf * uni_msg_pack_mbuf ( struct uni_msg *  msg,
void *  hdr,
size_t  hdrlen 
)

Definition at line 138 of file ngatmbase.c.

References last.

Referenced by ng_ccatm_send_uni(), ng_ccatm_send_uni_glob(), uni_saal_output(), and uni_uni_output().

Here is the caller graph for this function:

◆ uni_msg_unpack_mbuf()

int uni_msg_unpack_mbuf ( struct mbuf *  m,
struct uni_msg **  pmsg 
)

Definition at line 458 of file ngatmbase.c.

References uni_msg_alloc().

Referenced by ng_ccatm_rcvdata(), ng_ccatm_rcvuni(), ng_uni_rcvlower(), and ng_uni_rcvupper().

Here is the call graph for this function:
Here is the caller graph for this function: