| 
         
         | 
       
       
        | 
         uint16_t
         | 
        
         
          NTOHS
         
         (uint16_t val)
         | 
       
       
        | 
         | 
        
         Converts a short (16-bit) value from network to host byte order.
         
          More...
         
          
         | 
       
       
        | 
         | 
       
       
        | 
         uint32_t
         | 
        
         
          NTOHL
         
         (uint32_t val)
         | 
       
       
        | 
         | 
        
         Converts a long (32-bit) value from network to host byte order.
         
          More...
         
          
         | 
       
       
        | 
         | 
       
       
        | 
         uint32_t
         | 
        
         
          SwapEndiannessInt32u
         
         (uint32_t val)
         | 
       
       
        | 
         | 
       
      
     
     
     
     
     
      Functions that provide conversions from network to host byte order. Network byte order is big endian, so these APIs are only necessary on platforms which have a natural little endian byte order. On big-endian platforms, the APIs are macro'd away to nothing. See
      
       endian.h
      
      for source code.
     
     
     
     
     
      
       
        ◆
       
      
      HTONL
     
     
      
      
       
        Definition at line
        
         71
        
        of file
        
         endian.h
        
        .
       
       
      
     
     
     
      
       
        ◆
       
      
      HTONS
     
     
      
      
       
        Definition at line
        
         74
        
        of file
        
         endian.h
        
        .
       
       
      
     
     
     
     
      
       
        ◆
       
      
      NTOHL()
     
     
      
       
        
         
          | 
           uint32_t NTOHL
           | 
          
           (
           | 
          
           uint32_t
           | 
          
           
            val
           
           | 
          
           )
           | 
          
           | 
         
        
       
       
      
       
        Converts a long (32-bit) value from network to host byte order.
       
       
      
     
     
     
      
       
        ◆
       
      
      NTOHS()
     
     
      
       
        
         
          | 
           uint16_t NTOHS
           | 
          
           (
           | 
          
           uint16_t
           | 
          
           
            val
           
           | 
          
           )
           | 
          
           | 
         
        
       
       
      
       
        Converts a short (16-bit) value from network to host byte order.
       
       
      
     
     
     
      
       
        ◆
       
      
      SwapEndiannessInt32u()
     
     
      
       
        
         
          | 
           uint32_t SwapEndiannessInt32u
           | 
          
           (
           | 
          
           uint32_t
           | 
          
           
            val
           
           | 
          
           )
           | 
          
           |