[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH alternative] ifplugd: fix netlink recv
From: walter harms <wharms () bfs ! de>
Date: 2013-07-09 16:49:07
Message-ID: 51DC3F03.2090400 () bfs ! de
[Download RAW message or body]
Am 09.07.2013 16:33, schrieb Johannes Stezenbach:
> On Tue, Jul 09, 2013 at 03:53:59PM +0200, walter harms wrote:
>> Am 09.07.2013 15:08, schrieb Johannes Stezenbach:
>>> Or is there some max size guaranteed for NETLINK_ROUTE messages
>>> in group RTMGRP_LINK? If not, then the code needs to
>>> be able to handle the max size of a netlink message.
>>
>> according to RFC the buffer size is 1024 bytes.
>
> Which RFC?
>
As usual i could not find the exact reference
NTL here the RFC for netlink: http://tools.ietf.org/html/rfc3549
An here the structure of netlink packet (http://qos.ittc.ku.edu/netlink/html/node16.html)
I suspect that the 1024 originate from the packet. I remember only some ascii art
with this size, sorry
// structure of the netlink packet.
struct {
struct nlmsghdr n;
struct rtmsg r;
char buf[1024]; } req;
re,
wh
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic