dynamic C routing

dear Sirs,

I’d want to know if is possible the routing between the PPP and the ETH interface. I opened both interfaces with the ipconfig():

ifconfig(IF_ETH0, IFS_IPADDR, aton(“192.168.1.254”),
IFS_NETMASK, aton(“255.255.255.0”),
IFS_ROUTER_SET, aton(“192.168.1.1”),
IFS_UP,
IFS_END);

ifconfig(IF_PPP0,
IFS_PPP_INIT,
IFS_PPP_SPEED, 115200L,
IFS_IPADDR, aton(“10.1.10.1”),
IFS_PPP_ACCEPTIP, 0,
IFS_PPP_SETREMOTEIP, aton(“10.1.10.2”),
IFS_PPP_ACCEPTDNS, 0,
IFS_PPP_LOCALAUTH, “”, “”,
IFS_UP,
IFS_END);

The PPP interface is on serial port and without modem. I’d want to send the TCP/IP traffic from PPP interface to the Ethernet port with a static route. Is it possible?

Regards,