Add macro for checking the validity of a radius packet code