---
title: mbuf_nextpkt
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 10.4+]
path: kernel/1535633-mbuf_nextpkt
---

# mbuf_nextpkt

## Declaration

```occ
mbuf_t mbuf_nextpkt(const mbuf_t mbuf);
```

## Parameters

- `mbuf`: The mbuf.

## Return Value

Return Value The nextpkt.

## Discussion

Discussion Gets the next packet from the mbuf.
