By definition a routing protocol is a set of messages, rules and algorithms used by routers for the overall purpose of learning routes to other networks not physically connected to it. (RIP, EIGRP, OSPF, and BGP are all examples of routing protocols!