Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - io-pkt and route cache?: Page 1 of 6 (6 Items)
   
io-pkt and route cache?  
Hi,

We implemented some API's to Add/delete and flush routes. The code is based along the same lines as route application. 
But Im seeing a strange behavior. When our system comes up, it programmatically configures an ethernet interface using 
ioctl calls followed by adding a default route. The routing table reflects the right setting. So far so good. However if
 I try to ping the gateway, it doesnt work.

If I then delete the route using route delete command and then add the same route back, things start working.

Is there some sort of a route cache that needs to be flushed before we begin adding/removing entries from the routing 
table?

Help please!

Thanks,
Santosh