Networking over RS485?

Are there any existing packages for masterless networking over RS485? The project I’m working on currently communicates over RS485 and I’m considering implementing a token-ring inspired network protocol for it, but I’d be happy to use some other cheap two-wire protocol if there’s already something along those lines.