.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "DEV_REMOVE_PACK" "" "06 October 2005" "" ""
.SH NAME
dev_remove_pack \- remove packet handler
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void dev_remove_pack (struct packet_type * \fIpt\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIpt\fB\fR
packet type declaration
.SH "DESCRIPTION"
.PP
Remove a protocol handler that was previously added to the kernel
protocol handlers by \fBdev_add_pack\fR\&. The passed &packet_type is removed
from the kernel lists and can be freed or reused once this function
returns.
.PP
This call sleeps to guarantee that no CPU is looking at the packet
type after return.