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]
Message-Id: <20150105.161226.1516060067244301673.davem@davemloft.net>
Date:	Mon, 05 Jan 2015 16:12:26 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	therbert@...gle.com
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH net-next 2/4] ip: IP cmsg cleanup

From: Tom Herbert <therbert@...gle.com>
Date: Mon,  5 Jan 2015 12:00:33 -0800

> diff --git a/include/net/inet_sock.h b/include/net/inet_sock.h
> index 360b110..4091fab 100644
> --- a/include/net/inet_sock.h
> +++ b/include/net/inet_sock.h
> @@ -195,6 +195,15 @@ struct inet_sock {
>  #define IPCORK_OPT	1	/* ip-options has been held in ipcork.opt */
>  #define IPCORK_ALLFRAG	2	/* always fragment (for ipv6 for now) */
>  
> +/* cmsg flags for inet */
> +#define IP_CMSG_PKTINFO		(1 << 0)
> +#define IP_CMSG_TTL		(1 << 1)
> +#define IP_CMSG_TOS		(1 << 2)
> +#define IP_CMSG_RECVOPTS	(1 << 3)
> +#define IP_CMSG_RETOPTS		(1 << 4)
> +#define IP_CMSG_PASSSEC		(1 << 5)
> +#define IP_CMSG_ORIGDSTADDR	(1 << 6)

Please include linux/bitops.h and use "BIT()" for this.
--
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