def all_avps_by_name(name)
      code, _type, vendor = Internals::AVPNames.get(name)
      all_avps_by_code(code, vendor)
    end
def all_avps_by_name(name)
      code, _type, vendor = Internals::AVPNames.get(name)
      all_avps_by_code(code, vendor)
    end
Returns all AVPs with the given name. Only covers "top-level"
 AVPs - it won't look inside Grouped AVPs.

 @param name [String] The AVP name, either one predefined in
   {Constants::AVAILABLE_AVPS} or user-defined with {AVP.define}

 @return [Array<AVP>]