.\" 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 "TCF_EM_REGISTER" "9" "09 October 2005" "" "" .SH NAME tcf_em_register \- register an extended match .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int tcf_em_register (struct tcf_ematch_ops * \fIops\fB); \fR .SH "ARGUMENTS" .TP \fB\fIops\fB\fR ematch operations lookup table .SH "DESCRIPTION" .PP This function must be called by ematches to announce their presence. The given \fIops\fR must have kind set to a unique identifier and the callback \fBmatch\fR must be implemented. All other callbacks are optional and a fallback implementation is used instead. .PP Returns -EEXISTS if an ematch of the same kind has already registered. .SH "DESCRIPTION" .PP This function must be called by ematches to announce their presence. The given \fIops\fR must have kind set to a unique identifier and the callback \fBmatch\fR must be implemented. All other callbacks are optional and a fallback implementation is used instead. .PP Returns -EEXISTS if an ematch of the same kind has already registered.