routing

Hi,

can anyone say my, how to get, add/set and delete a route in NetOS 6.3

I try the following:
to get the route
ip_route_tbl *route_table ;
ip_get_routing_table(route_table);

to set the route
ip_add_static_route(devname, daddress, subnet, gateway, cost, mode);

but this not work really.
has anyone an example or so?

Ciao
Rosko

p_add_static_route(devname, daddress, subnet, gateway, cost, mode);

should work. This is what I am using to define a gateway.
device should be “eth0”