* include/cygwin/in.h (struct ip_mreq_source): Define.

(struct ip_msfilter): Define.
	(IP_MSFILTER_SIZE): Define.
	(struct in_pktinfo): Define.
	(struct group_req): Define.
	(struct group_source_req): Define.
	(struct group_filter): Define.
	(GROUP_FILTER_SIZE): Define.
	(INADDR_ALLRTRS_GROUP): Define.
	* include/cygwin/socket.h: Define protocol agnostic multicast options.
This commit is contained in:
Corinna Vinschen
2007-01-16 11:37:05 +00:00
parent 94b91791ea
commit 6281771f37
3 changed files with 80 additions and 2 deletions

View File

@ -1,6 +1,6 @@
/* cygwin/socket.h
Copyright 1999, 2000, 2001, 2005 Red Hat, Inc.
Copyright 1999, 2000, 2001, 2005, 2006, 2007 Red Hat, Inc.
This file is part of Cygwin.
@ -243,6 +243,17 @@ struct OLD_msghdr
#define IPV6_LEAVE_GROUP IPV6_DROP_MEMBERSHIP
#define IPV6_PKTINFO 19
/* IP agnostic options for use with getsockopt/setsockopt */
#define MCAST_JOIN_GROUP 41
#define MCAST_LEAVE_GROUP 42
#define MCAST_BLOCK_SOURCE 43
#define MCAST_UNBLOCK_SOURCE 44
#define MCAST_JOIN_SOURCE_GROUP 45
#define MCAST_LEAVE_SOURCE_GROUP 46
#define MCAST_EXCLUDE 0
#define MCAST_INCLUDE 1
/* Old WinSock1 values, needed internally */
#ifdef __INSIDE_CYGWIN__
#define _WS1_IP_OPTIONS 1