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

# mbuf_inbound_modified

## Declaration

```occ
void mbuf_inbound_modified(mbuf_t mbuf);
```

## Parameters

- `mbuf`: The mbuf that has been modified.

## Discussion

Discussion This function will clear the checksum flags to indicate that a hardware checksum should not be used. Any filter modifying data should call this function on an mbuf before passing the packet up the stack. If a filter modifies a packet in a way that affects any checksum, the filter is responsible for either modifying the checksum to compensate for the changes or verifying the checksum before making the changes and then modifying the data and calculating a new checksum only if the original checksum was valid.
