mpls
int hlen = hoff + sizeof(struct mpls);
struct mpls *mpls;
mpls = mtodoff(m, struct mpls *, hoff);
label = MPLS_LABEL(ntohl(mpls->mpls_shim));
if (m->m_len < sizeof(struct mpls)) {
m = m_pullup(m, sizeof(struct mpls));
mpls = mtod(m, struct mpls*);
label = MPLS_LABEL(ntohl(mpls->mpls_shim));
if (MPLS_STACK(ntohl(mpls->mpls_shim))) {
m_adj(m, sizeof(struct mpls));
if (MPLS_STACK(ntohl(mpls->mpls_shim))) {
m_adj(m, sizeof(struct mpls));
struct mpls *mpls;
KASSERT(m->m_len >= sizeof(struct mpls),
mpls = mtod(m, struct mpls *);
label = MPLS_LABEL(ntohl(mpls->mpls_shim));
struct mpls *mpls = NULL;
KASSERT(m->m_pkthdr.len >= sizeof(struct mpls),
struct mpls *mpls;
M_PREPEND(*m, sizeof(struct mpls), M_NOWAIT);
mpls = mtod(*m, struct mpls *);
mpls->mpls_shim = htonl(buf);
struct mpls *mpls;
if (m->m_len < sizeof(struct mpls) &&
(m = m_pullup(m, sizeof(struct mpls))) == NULL)
mpls = mtod(m, struct mpls *);
buf = ntohl(mpls->mpls_shim);
mpls->mpls_shim = htonl(buf);
struct mpls *mpls;
if (m->m_len < sizeof(struct mpls)) {
m = m_pullup(m, sizeof(struct mpls));
mpls = mtod(m, struct mpls *);
buf = ntohl(mpls->mpls_shim);
m_adj(m, sizeof(struct mpls));
SYSCTL_NODE(_net, PF_MPLS, mpls, CTLFLAG_RW, 0,
DOMAIN_SET(mpls);