AF_ROUTE

Could anyone give example code to show how routing sockets on the big
stack can be used to set a default route. I cannot find any conclusive
reference material anywhere as to how it works. I simply want to set the
0.0.0.0 route programmatically.
Your input would be very much appreciated.

Poseidon