size_t proto_ctx_size; //!< Size required for the packet ctx structure.
- fr_proto_opt_group_t opt_group; //!< Option groups implemented by proto lib.
+ int opt_group; //!< Option groups implemented by proto lib.
fr_proto_decode_t decode; //!< Function to decode a protocol/header.
fr_proto_encode_t encode; //!< Function to encode a protocol/header.
fr_strerror_printf("Option %i group %i not implemented", opt, group);
return -1;
}
- break;
case PROTO_OPT_GROUP_L2:
switch (opt) {
fr_strerror_printf("Option %i group %i not implemented", opt, group);
return -1;
}
- break;
default:
fr_strerror_printf("Option group %i not implemented", group);
fr_strerror_printf("Option %i group %i not implemented", opt, group);
return -1;
}
- break;
case PROTO_OPT_GROUP_L2:
switch (opt) {
fr_strerror_printf("Option %i group %i not implemented", opt, group);
return -1;
}
- break;
default:
fr_strerror_printf("Option group %i not implemented", group);