lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ