---
title: proto_media_detached
framework: kernel
role: symbol
role_heading: Type Alias
path: kernel/proto_media_detached
---

# proto_media_detached

## Declaration

```occ
typedef errno_t (*proto_media_detached)(ifnet_t ifp, protocol_family_t protocol);
```

## Parameters

- `ifp`: The interface.
- `protocol_family`: The protocol family.

## Return Value

Return Value See the discussion.

## Discussion

Discussion proto_media_detached notifies you that your protocol has been detached.
