jdk/src/java.base/windows/native/libnet/NetworkInterface_winXP.c
changeset 41771 18c9669e76ca
parent 41602 56443be12e8e
equal deleted inserted replaced
41770:8a9072bd132b 41771:18c9669e76ca
    20  *
    20  *
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    22  * or visit www.oracle.com if you need additional information or have any
    22  * or visit www.oracle.com if you need additional information or have any
    23  * questions.
    23  * questions.
    24  */
    24  */
    25 
    25 #include "net_util.h"
    26 #include <stdlib.h>
    26 #include "NetworkInterface.h"
    27 #include <windows.h>
       
    28 #include <winsock2.h>           /* needed for htonl */
       
    29 #include <iprtrmib.h>
       
    30 #include <assert.h>
       
    31 #include <limits.h>
       
    32 
    27 
    33 #include "java_net_NetworkInterface.h"
    28 #include "java_net_NetworkInterface.h"
    34 #include "jni_util.h"
       
    35 
       
    36 #include "NetworkInterface.h"
       
    37 #include "net_util.h"
       
    38 
    29 
    39 /*
    30 /*
    40  * Windows implementation of the java.net.NetworkInterface native methods.
    31  * Windows implementation of the java.net.NetworkInterface native methods.
    41  * This module provides the implementations of getAll, getByName, getByIndex,
    32  * This module provides the implementations of getAll, getByName, getByIndex,
    42  * and getByAddress.
    33  * and getByAddress.