[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170504165248.GI7300@oracle.com>
Date: Thu, 4 May 2017 12:52:48 -0400
From: Sowmini Varadhan <sowmini.varadhan@...cle.com>
To: Oleg <lego12239@...dex.ru>
Cc: netdev@...r.kernel.org
Subject: Re: struct ip vs struct iphdr
On (05/04/17 19:42), Oleg wrote:
>
> Hi, all.
>
> It seems struct ip and struct iphdr are similar: struct ip, despite of
> it name, doesn't contain anything but ip header.
>
> So, my noob question, what is the difference between them?
>
> Thanks.
BSD vs linux?
struct ip is a BSD-ism, intended to be used if you were porting
some BSD app.
--Sowmini
Powered by blists - more mailing lists