netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Graf <tgraf@suug.ch>
To: "Tomá? Macek" <maca02@atlas.cz>
Cc: netdev@oss.sgi.com
Subject: Re: receive only one record from the routing table
Date: Fri, 17 Jun 2005 21:13:40 +0200	[thread overview]
Message-ID: <20050617191340.GO22463@postel.suug.ch> (raw)
In-Reply-To: <Pine.LNX.4.61.0506172057240.26739@localhost.localdomain>

* Tom?? Macek <Pine.LNX.4.61.0506172057240.26739@localhost.localdomain> 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.

  reply	other threads:[~2005-06-17 19:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-17 13:51 receive only one record from the routing table Tomáš Macek
2005-06-17 14:15 ` Thomas Graf
2005-06-17 18:57   ` Tomáš Macek
2005-06-17 19:13     ` Thomas Graf [this message]
2005-06-18 18:55       ` Tomáš Macek
2005-06-18 20:23         ` Thomas Graf
2005-06-22 10:07           ` Tomáš Macek
2005-06-22 13:53           ` Print one record only - addition Tomáš Macek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050617191340.GO22463@postel.suug.ch \
    --to=tgraf@suug.ch \
    --cc=maca02@atlas.cz \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).