Lines Matching refs:rad_attr
895 register const struct radius_attr *rad_attr = (const struct radius_attr *)attr; in radius_attrs_print() local
902 ND_TCHECK(*rad_attr); in radius_attrs_print()
904 if (rad_attr->type > 0 && rad_attr->type < TAM_SIZE(attr_type)) in radius_attrs_print()
905 attr_string = attr_type[rad_attr->type].name; in radius_attrs_print()
908 if (rad_attr->len < 2) in radius_attrs_print()
912 rad_attr->type, in radius_attrs_print()
913 rad_attr->len)); in radius_attrs_print()
916 if (rad_attr->len > length) in radius_attrs_print()
920 rad_attr->type, in radius_attrs_print()
921 rad_attr->len)); in radius_attrs_print()
926 rad_attr->type, in radius_attrs_print()
927 rad_attr->len)); in radius_attrs_print()
929 if (rad_attr->type < TAM_SIZE(attr_type)) in radius_attrs_print()
931 if (rad_attr->len > 2) in radius_attrs_print()
933 if ( attr_type[rad_attr->type].print_func ) in radius_attrs_print()
934 (*attr_type[rad_attr->type].print_func)( in radius_attrs_print()
935 ndo, ((const u_char *)(rad_attr+1)), in radius_attrs_print()
936 rad_attr->len - 2, rad_attr->type); in radius_attrs_print()
941 print_unknown_data(ndo, (const u_char *)rad_attr+2, "\n\t ", (rad_attr->len)-2); in radius_attrs_print()
943 length-=(rad_attr->len); in radius_attrs_print()
944 rad_attr = (const struct radius_attr *)( ((const char *)(rad_attr))+rad_attr->len); in radius_attrs_print()