Network protocol is just set of rules in which a network device does something with data.
As I understand in network protocols family there two major types: one which carries data and one which figures out where to carry it.
The one which carries (routed) is dealing with data reception from a software algorithm and preparation of it for transmission destination addressing.
The one which figures out where to deliver (routing) deals with environment discovery. What is connected to what.