VirtualBox

Changeset 15638 in vbox for trunk/src


Ignore:
Timestamp:
Dec 18, 2008 7:58:57 AM (16 years ago)
Author:
vboxsync
Message:

slirp:icmp: missed changes (build fix)

Location:
trunk/src/VBox/Devices/Network/slirp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/libslirp.h

    r15266 r15638  
    5454                   int guest_port);
    5555
    56 #if defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) && defined(RT_OS_WINDOWS) 
     56#if defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) && defined(RT_OS_WINDOWS)
    5757
    58 # ifdef VBOX_WITH_SLIRP_ICMP
    5958
    6059/*
    6160 * ICMP handle state change
    6261 */
    63 #define VBOX_ICMP_EVENT_INDEX           0
     62# define VBOX_ICMP_EVENT_INDEX           0
    6463
    6564/**
     
    7069 *  - wakeup
    7170 */
    72 #  define VBOX_WAKEUP_EVENT_INDEX       1
     71# define VBOX_WAKEUP_EVENT_INDEX       1
    7372
    7473/*
    7574 * UDP/TCP socket state change (socket ready to receive, to send, ...)
    7675 */
    77 #  define VBOX_SOCKET_EVENT_INDEX       2
     76# define VBOX_SOCKET_EVENT_INDEX       2
    7877
    7978/*
    8079 * The number of events for WSAWaitForMultipleEvents().
    8180 */
    82 #  define VBOX_EVENT_COUNT              3
    83 
    84 # else
    85 
    86 #  define VBOX_WAKEUP_EVENT_INDEX       0
    87 #  define VBOX_SOCKET_EVENT_INDEX       1
    88 #  define VBOX_EVENT_COUNT              2
    89 
    90 # endif
     81# define VBOX_EVENT_COUNT              3
    9182
    9283HANDLE *slirp_get_events(PNATState pData);
  • trunk/src/VBox/Devices/Network/slirp/slirp_state.h

    r15453 r15638  
    2121#ifndef _slirp_state_h_
    2222#define _slirp_state_h_
    23 #ifdef VBOX_WITH_SLIRP_ICMP
    2423#include "ip_icmp.h"
    25 #endif
    2624
    2725/** Number of DHCP clients supported by NAT. */
     
    120118    struct socket udb;
    121119    struct socket *udp_last_so;
    122 #ifdef VBOX_WITH_SLIRP_ICMP
    123120    struct socket icmp_socket;
    124121    struct icmp_storage icmp_msg_head;
     
    126123    void *pvIcmpBuffer;
    127124    size_t szIcmpBuffer;
    128     /* Accordin MSDN specification IcmpParseReplies 
     125    /* Accordin MSDN specification IcmpParseReplies
    129126     * function should be detected in runtime
    130127     */
     
    133130    HMODULE hmIcmpLibrary;
    134131# endif
    135 #endif
    136132#if defined(VBOX_WITH_SIMPLIFIED_SLIRP_SYNC) && defined(RT_OS_WINDOWS)
    137133# define VBOX_SOCKET_EVENT (pData->phEvents[VBOX_SOCKET_EVENT_INDEX])
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