TCF_EM_TREE_VALIDATE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

tcf_em_tree_validate - validate ematch config TLV and build ematch tree  

SYNOPSIS

"SYNOPSIS"

int tcf_em_tree_validate (struct tcf_proto * tp, struct rtattr * rta, struct tcf_ematch_tree * tree);  

ARGUMENTS

tp
classifier kind handle
rta
ematch tree configuration TLV
tree
destination ematch tree variable to store the resulting ematch tree.
 

DESCRIPTION

This function validates the given configuration TLV rta and builds an ematch tree in tree. The resulting tree must later be copied into the private classifier data using tcf_em_tree_change. You MUST NOT provide the ematch tree variable of the private classifier data directly, the changes would not be locked properly.

Returns a negative error code if the configuration TLV contains errors.  

DESCRIPTION

This function validates the given configuration TLV rta and builds an ematch tree in tree. The resulting tree must later be copied into the private classifier data using tcf_em_tree_change. You MUST NOT provide the ematch tree variable of the private classifier data directly, the changes would not be locked properly.

Returns a negative error code if the configuration TLV contains errors.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:54 GMT, October 09, 2005