.\" 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_TREE_VALIDATE" "9" "09 October 2005" "" "" .SH NAME tcf_em_tree_validate \- validate ematch config TLV and build ematch tree .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int tcf_em_tree_validate (struct tcf_proto * \fItp\fB, struct rtattr * \fIrta\fB, struct tcf_ematch_tree * \fItree\fB); \fR .SH "ARGUMENTS" .TP \fB\fItp\fB\fR classifier kind handle .TP \fB\fIrta\fB\fR ematch tree configuration TLV .TP \fB\fItree\fB\fR destination ematch tree variable to store the resulting ematch tree. .SH "DESCRIPTION" .PP This function validates the given configuration TLV \fIrta\fR and builds an ematch tree in \fItree\fR\&. The resulting tree must later be copied into the private classifier data using \fBtcf_em_tree_change\fR\&. You MUST NOT provide the ematch tree variable of the private classifier data directly, the changes would not be locked properly. .PP Returns a negative error code if the configuration TLV contains errors. .SH "DESCRIPTION" .PP This function validates the given configuration TLV \fIrta\fR and builds an ematch tree in \fItree\fR\&. The resulting tree must later be copied into the private classifier data using \fBtcf_em_tree_change\fR\&. You MUST NOT provide the ematch tree variable of the private classifier data directly, the changes would not be locked properly. .PP Returns a negative error code if the configuration TLV contains errors.