| To: | Tomá? Macek <maca02@xxxxxxxx> |
|---|---|
| Subject: | Re: receive only one record from the routing table |
| From: | Thomas Graf <tgraf@xxxxxxx> |
| Date: | Fri, 17 Jun 2005 21:13:40 +0200 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <Pine.LNX.4.61.0506172057240.26739@localhost.localdomain> |
| References: | <Pine.LNX.4.61.0506171359490.31631@localhost.localdomain> <20050617141527.GN22463@postel.suug.ch> <Pine.LNX.4.61.0506172057240.26739@localhost.localdomain> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
* Tom?? Macek <Pine.LNX.4.61.0506172057240.26739@xxxxxxxxxxxxxxxxxxxxx> 2005-06-17 20:57 > Part of my routing table is here: > > 3.3.0.0 * 255.255.0.0 U 0 0 0 eth1 > default meric 0.0.0.0 UG 0 0 0 eth0 > > Ommiting NLM_F_DUMP and typing './a.out 3.3.0.0' gives > > Error in recieved packet: Success > Read From Socket Failed... Bcause you don't set rtm_dst_len to the prefix length or 32, and rtm_family (AF_INET). You could also use libnl, probably easier to use. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: receive only one record from the routing table, Tomáš Macek |
|---|---|
| Next by Date: | netpoll and the bonding driver, Jeff Moyer |
| Previous by Thread: | Re: receive only one record from the routing table, Tomáš Macek |
| Next by Thread: | Re: receive only one record from the routing table, Tomáš Macek |
| Indexes: | [Date] [Thread] [Top] [All Lists] |