I think we decided to no longer typedef enums. Above in ALPROTO_ you didn't, so it may be good to not do it here either.