VirtualBox

Changeset 41967 in vbox


Ignore:
Timestamp:
Jun 29, 2012 3:23:45 AM (13 years ago)
Author:
vboxsync
Message:

NAT: NTOHS -> RT_N2H_U16

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/ip_input.c

    r41783 r41967  
    166166     * Convert fields to host representation.
    167167     */
    168     NTOHS(ip->ip_len);
     168    RT_N2H_U16(ip->ip_len);
    169169    if (ip->ip_len < hlen)
    170170    {
     
    173173    }
    174174
    175     NTOHS(ip->ip_id);
    176     NTOHS(ip->ip_off);
     175    RT_N2H_U16(ip->ip_id);
     176    RT_N2H_U16(ip->ip_off);
    177177
    178178    /*
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette