1 | initial version |
You dissector must have two registration functions formatted as this (as defined in doc/packet-PROTOABBREV.c):
/* Prototypes */
/* (Required to prevent [-Wmissing-prototypes] warnings */
void proto_reg_handoff_PROTOABBREV(void);
void proto_register_PROTOABBREV(void);
....
void
proto_register_PROTOABBREV(void)
{
....
}
void
proto_reg_handoff_PROTOABBREV(void)
{
....
}
If you deviate from this specific format, the registration routines will not be detected in the build, hence not called, and your dissector will not work.