From: Stephen Hemminger <shemminger@vyatta.com>
To: xeb@mail.ru
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 2/3] PPTP: PPP over IPv4 (Point-to-Point Tunneling Protocol)
Date: Wed, 4 Aug 2010 10:24:31 -0700 [thread overview]
Message-ID: <20100804102431.4cec4313@nehalam> (raw)
In-Reply-To: <E1OgbTZ-0006nb-00.xeb-mail-ru@f279.mail.ru>
On Wed, 04 Aug 2010 14:45:33 +0400
xeb@mail.ru wrote:
> +struct pptp_gre_header {
> + u_int8_t flags; /* bitfield */
> + u_int8_t ver; /* should be PPTP_GRE_VER (enhanced GRE) */
> + u_int16_t protocol; /* should be PPTP_GRE_PROTO (ppp-encaps) */
> + u_int16_t payload_len; /* size of ppp payload, not inc. gre header */
> + u_int16_t call_id; /* peer's call_id for this session */
> + u_int32_t seq; /* sequence number. Present if S==1 */
> + u_int32_t ack; /* seq number of highest packet recieved by */
> +
Use u8, u16, u32 in kernel code.
--
next prev parent reply other threads:[~2010-08-04 17:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-04 10:45 [PATCH 2/3] PPTP: PPP over IPv4 (Point-to-Point Tunneling Protocol) xeb
2010-08-04 17:24 ` Stephen Hemminger [this message]
2010-08-04 20:51 ` xeb
2010-08-04 17:25 ` Stephen Hemminger
2010-08-04 20:49 ` xeb
2010-08-04 19:19 ` Dan Williams
2010-08-04 20:36 ` Re[2]: " xeb
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=20100804102431.4cec4313@nehalam \
--to=shemminger@vyatta.com \
--cc=netdev@vger.kernel.org \
--cc=xeb@mail.ru \
/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