| 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 16:15:27 +0200 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <Pine.LNX.4.61.0506171359490.31631@xxxxxxxxxxxxxxxxxxxxx> |
| References: | <Pine.LNX.4.61.0506171359490.31631@xxxxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
* Tom?? Macek <Pine.LNX.4.61.0506171359490.31631@xxxxxxxxxxxxxxxxxxxxx> 2005-06-17 14:51 > nlMsg->nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); // Length of > message. > nlMsg->nlmsg_type = RTM_GETROUTE; // Get the routes from kernel > routing table . > > nlMsg->nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; // The message is a > request for dump. Omit NLM_F_DUMP and you'll be fine, see rfc3549. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | receive only one record from the routing table, Tomáš Macek |
|---|---|
| Next by Date: | [PATCH 1/2] Update: LSM-IPSec Networking Hooks, jaegert |
| Previous by Thread: | 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] |