[Previous] [Contents] [Index] [Next]

vp_mget()

Allocate an mbuf

Synopsis:

#include <net/if_vp.h>

struct mbuf * vp_mget( vpid_t id, 
                       short type );

Library:

vpack3r.lib, vpack3s.lib

Description:

The vp_mget() function allocates an mbuf.

id
A virtual packet ID returned by vp_attach().
type
The mbuf type.

Returns:

A pointer to an mbuf, or NULL if it can't allocate an mbuf.

Classification:

QNX 4

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

/usr/include/sys/mbuf.h


[Previous] [Contents] [Index] [Next]