VirtualBox

Changeset 15233 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Dec 10, 2008 8:24:55 AM (16 years ago)
Author:
vboxsync
Message:

slirp:icmp: ICMP socket creation for Darwin

File:
1 edited

Legend:

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

    r15230 r15233  
    7878    pData->icmp_socket.so_state = SS_ISFCONNECTED;
    7979#ifndef RT_OS_WINDOWS
     80# ifndef RT_OS_DARWIN
    8081    pData->icmp_socket.s = socket(PF_INET, SOCK_RAW, IPPROTO_ICMP);
     82# else /* !RT_OS_DARWIN */
     83    pData->icmp_socket.s = socket(PF_INET, SOCK_DGRAM, IPPROTO_ICMP);
     84# endif /* RT_OS_DARWIN */
    8185    if (pData->icmp_socket.s == -1)
    8286    {
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