route addition/deletion from within kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
        What APIs do I call if I need to add/delete routes (to be called from 
a module) . I tried to follow the socket ioctl handlers for route 
addition/deletion but looks like these are not exported ((struct fib_table 
*)tb->tb_insert() == fn_hash_insert, I am working on 2.4.18,btw), I get the 
feeling I am complete off-track looking for APIs, can somebody point out how 
I can go about doing this. 
Thanks in advance,
vemuri
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux