def METHOD_NAME(class_object, current_hop_limit, 
                         managed_flag, other_flag, 
                         router_lifetime, reachable_time, retransmission_timer):        
    flag_byte = 0x00
    if (managed_flag):
        flag_byte |= 0x80
    if (other_flag):
        flag_byte |= 0x40
    message_data = struct.pack('>BBHLL', current_hop_limit, flag_byte, router_lifetime, reachable_time, retransmission_timer)
    return class_object.__build_message(NDP.ROUTER_ADVERTISEMENT, message_data)