.\" 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_ADD_PACK" "" "06 October 2005" "" "" .SH NAME dev_add_pack \- add packet handler .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void dev_add_pack (struct packet_type * \fIpt\fB); \fR .SH "ARGUMENTS" .TP \fB\fIpt\fB\fR packet type declaration .SH "DESCRIPTION" .PP Add a protocol handler to the networking stack. The passed &packet_type is linked into kernel lists and may not be freed until it has been removed from the kernel lists. .PP This call does not sleep therefore it can not guarantee all CPU's that are in middle of receiving packets will see the new packet type (until the next received packet).