---
name: "__dev_remove_pack"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/__dev_remove_pack"
---

# \_\_dev\_remove\_pack(9)

remove packet handler

## NAME

\_\_dev\_remove\_pack - remove packet handler

## SYNOPSIS

**void \_\_dev\_remove\_pack(struct packet\_type \*** *pt***);**

## ARGUMENTS

*pt*

packet type declaration

## DESCRIPTION

Remove a protocol handler that was previously added to the kernel protocol handlers by **dev\_add\_pack**. The passed packet\_type is removed from the kernel lists and can be freed or reused once this function returns.

The packet type might still be in use by receivers and must not be freed until after all the CPU's have gone through a quiescent state.

## COPYRIGHT
