File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,17 @@ EUSERS
9696EXFULL
9797FIONREAD
9898IMAXBEL
99+ IP_RECVTOS
100+ IP_TOS
101+ IPPROTO_ICMP
102+ IPPROTO_IDP
103+ IPPROTO_IGMP
104+ IPPROTO_IP
105+ IPPROTO_IPV6
106+ IPPROTO_MAX
107+ IPPROTO_PUP
108+ IPPROTO_TCP
109+ IPPROTO_UDP
99110IPV6_ADD_MEMBERSHIP
100111IPV6_DROP_MEMBERSHIP
101112IUCLC
@@ -129,6 +140,7 @@ SIGPWR
129140SIGSTKFLT
130141SOCK_CLOEXEC
131142SOCK_NONBLOCK
143+ SOCK_RAW
132144SO_BSDCOMPAT
133145SO_DOMAIN
134146SO_NO_CHECK
Original file line number Diff line number Diff line change @@ -585,7 +585,13 @@ pub const IP_MULTICAST_TTL: ::c_int = 33;
585585pub  const  IP_MULTICAST_LOOP :  :: c_int  = 34 ; 
586586pub  const  IP_ADD_MEMBERSHIP :  :: c_int  = 35 ; 
587587pub  const  IP_DROP_MEMBERSHIP :  :: c_int  = 36 ; 
588+ pub  const  IP_TOS :  :: c_int  = 1 ; 
589+ pub  const  IP_RECVTOS :  :: c_int  = 2 ; 
590+ pub  const  IPPROTO_IGMP :  :: c_int  = 2 ; 
591+ pub  const  IPPROTO_PUP :  :: c_int  = 12 ; 
592+ pub  const  IPPROTO_IDP :  :: c_int  = 22 ; 
588593pub  const  IPPROTO_RAW :  :: c_int  = 255 ; 
594+ pub  const  IPPROTO_MAX :  :: c_int  = 255 ; 
589595// } 
590596
591597// netinet/tcp.h 
@@ -810,6 +816,7 @@ pub const SO_PROTOCOL: ::c_int = 38;
810816pub  const  SO_DOMAIN :  :: c_int  = 39 ; 
811817pub  const  SOCK_STREAM :  :: c_int  = 1 ; 
812818pub  const  SOCK_DGRAM :  :: c_int  = 2 ; 
819+ pub  const  SOCK_RAW :  :: c_int  = 3 ; 
813820pub  const  SOCK_NONBLOCK :  :: c_int  = 0o4_000 ; 
814821pub  const  SOCK_CLOEXEC :  :: c_int  = 0o2_000_000 ; 
815822pub  const  SOCK_SEQPACKET :  :: c_int  = 5 ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments