[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100804102431.4cec4313@nehalam>
Date: Wed, 4 Aug 2010 10:24:31 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: xeb@...l.ru
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 2/3] PPTP: PPP over IPv4 (Point-to-Point Tunneling
Protocol)
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.
--
--
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