| Last change
 on this file since 21968 was             21456, checked in by dmik, 15 years ago | 
        
          | 
WinSock2: IPPROTO_IP option constants have different values than in Winsock1.1 (closes ticket:10).
 | 
        
          | File size:
            758 bytes | 
      
      
| Line |  | 
|---|
| 1 | /* | 
|---|
| 2 | * Additional Winsock 2 definitions - used for ws2_32.dll | 
|---|
| 3 | */ | 
|---|
| 4 |  | 
|---|
| 5 | #ifndef __WS2TCPIP_H__ | 
|---|
| 6 | #define __WS2TCPIP_H__ | 
|---|
| 7 |  | 
|---|
| 8 | #define IP_OPTIONS                  1 /* set/get IP options */ | 
|---|
| 9 | #define IP_HDRINCL                  2 /* header is included with data */ | 
|---|
| 10 | #define IP_TOS              3 /* IP type of service and preced*/ | 
|---|
| 11 | #define IP_TTL              4 /* IP time to live */ | 
|---|
| 12 | #define IP_MULTICAST_IF     9 /* set/get IP multicast i/f  */ | 
|---|
| 13 | #define IP_MULTICAST_TTL       10 /* set/get IP multicast ttl */ | 
|---|
| 14 | #define IP_MULTICAST_LOOP      11 /* set/get IP multicast loopback */ | 
|---|
| 15 | #define IP_ADD_MEMBERSHIP      12 /* add an IP group membership */ | 
|---|
| 16 | #define IP_DROP_MEMBERSHIP     13 /* drop an IP group membership */ | 
|---|
| 17 | #define IP_DONTFRAGMENT        14 /* don't fragment IP datagrams */ | 
|---|
| 18 |  | 
|---|
| 19 | #endif  /* __WS2TCPIP_H__ */ | 
|---|
| 20 |  | 
|---|
| 21 |  | 
|---|
| 22 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.