[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <E1Ogkvf-00052E-00.xeb-mail-ru@f271.mail.ru>
Date: Thu, 05 Aug 2010 00:51:11 +0400
From: xeb@...l.ru
To: Stephen Hemminger <shemminger@...tta.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 2/3] PPTP: PPP over IPv4 (Point-to-Point Tunneling Protocol)
On Wed, 4 Aug 2010 10:24:31 -0700 Stephen Hemminger <shemminger@...tta.com> wrote:
> On Wed, 04 Aug 2010 14:45:33 +0400
> xeb@...l.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.
ok
--
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