{0, NULL}
};
+void proto_reg_handoff_fcoe(void);
+
static int proto_fcoe = -1;
static int hf_fcoe_ver = -1;
static int hf_fcoe_len = -1;
void
proto_register_fcoe(void)
{
+ module_t *fcoe_module;
+
/* Setup list of header fields See Section 1.6.1 for details*/
static hf_register_info hf[] = {
{ &hf_fcoe_sof,
* subtrees used */
proto_register_field_array(proto_fcoe, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
+
+ fcoe_module = prefs_register_protocol(proto_fcoe, proto_reg_handoff_fcoe);
+
+ prefs_register_obsolete_preference(fcoe_module, "ethertype");
}
/*