From: Sowmini Varadhan <sowmini.varadhan@oracle.com>
To: Oleg <lego12239@yandex.ru>
Cc: netdev@vger.kernel.org
Subject: Re: struct ip vs struct iphdr
Date: Thu, 4 May 2017 12:52:48 -0400 [thread overview]
Message-ID: <20170504165248.GI7300@oracle.com> (raw)
In-Reply-To: <20170504164219.GA25287@legohost>
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
next prev parent reply other threads:[~2017-05-04 16:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-04 16:42 struct ip vs struct iphdr Oleg
2017-05-04 16:52 ` Sowmini Varadhan [this message]
2017-05-05 7:48 ` Oleg
2017-05-04 17:08 ` Girish Moodalbail
2017-05-05 8:02 ` Oleg
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=20170504165248.GI7300@oracle.com \
--to=sowmini.varadhan@oracle.com \
--cc=lego12239@yandex.ru \
--cc=netdev@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.