[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120727095942.59798456@nehalam.linuxnetplumber.net>
Date: Fri, 27 Jul 2012 09:59:42 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Pavel Emelyanov <xemul@...allels.com>
Cc: Stephen Hemminger <shemminger@...ux-foundation.org>,
Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: [PATCH 1/2] iproute: Add magic cookie to route dump file
On Fri, 27 Jul 2012 08:55:41 +0400
Pavel Emelyanov <xemul@...allels.com> wrote:
> In order to somehow verify that a blob contains route dump a
> 4-bytes magic is put at the head of the data and is checked
> on restore.
>
> Magic digits are taken from Portland (OR) coordinates :) Is
> there any more reliable way of generating such?
>
> Signed-of-by: Pavel Emelyanov <xemul@...allels.com>
>
Any magic number is fine as long as it is non-offensive and
unique.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists