Huafeng Lu writes:
> To support the IP instance information, and to support future changes, 
> we could change the API to use a TLV (type, length, value). We can put 
> all paramters in a structure like:
>       typedef cl_hook_param {
>               int     cl_type;
>               size_t  cl_len;
>               uint8_t cl_value[];
>       } cl_hook_param_t;
> Thus, all future changes can be handled.

Not sure how that'd work, but I suggest discussing the issue with the
other folks involved in the project and then bringing the completed
proposal back for ARC review.

(My guess is that the 'types' defined effectively become part of the
API itself, so the support for future changes given by that may be a
little limited.)

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to