589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * Copyright (C) 2009 Robert Shearman
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * This library is free software; you can redistribute it and/or
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * modify it under the terms of the GNU Lesser General Public
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * License as published by the Free Software Foundation; either
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * version 2.1 of the License, or (at your option) any later version.
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * This library is distributed in the hope that it will be useful,
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * Lesser General Public License for more details.
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * You should have received a copy of the GNU Lesser General Public
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * License along with this library; if not, write to the Free Software
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * a choice of LGPL license versions is made available with the language indicating
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * of the LGPL is applied is otherwise unspecified.
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync} SOCKADDR_IN6_OLD,*PSOCKADDR_IN6_OLD, *LPSOCKADDR_IN6_OLD;
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync/* Structure to keep interface specific information */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync WS(sockaddr_gen) iiAddress; /* Interface address */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync WS(sockaddr_gen) iiBroadcastAddress; /* Broadcast address */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync/* Possible flags for the iiFlags - bitmask */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#define IFF_BROADCAST 0x00000002 /* Broadcast is supported */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#define IFF_LOOPBACK 0x00000004 /* this is loopback interface */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#define IFF_POINTTOPOINT 0x00000008 /* this is point-to-point interface */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#define IFF_MULTICAST 0x00000010 /* multicast is supported */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#define WS_IFF_BROADCAST 0x00000002 /* Broadcast is supported */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#define WS_IFF_LOOPBACK 0x00000004 /* this is loopback interface */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#define WS_IFF_POINTTOPOINT 0x00000008 /* this is point-to-point interface */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#define WS_IFF_MULTICAST 0x00000010 /* multicast is supported */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#endif /* USE_WS_PREFIX */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#endif /* USE_WS_PREFIX */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * Multicast group information
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#endif /* USE_WS_PREFIX */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#endif /* USE_WS_PREFIX */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync/* TCP_NODELAY is defined elsewhere */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync/* WS_TCP_NODELAY is defined elsewhere */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#endif /* USE_WS_PREFIX */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#define IN6ADDR_LOOPBACK_INIT { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 }
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#define WS_IN6ADDR_LOOPBACK_INIT { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 }
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#endif /* USE_WS_PREFIX */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncstatic inline BOOL WS(IN6_IS_ADDR_LOOPBACK) ( const IN6_ADDR *a )
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#endif /* __WS2IPDEF__ */