VirtualBox

Changeset 57911 in vbox


Ignore:
Timestamp:
Sep 27, 2015 12:29:22 AM (9 years ago)
Author:
vboxsync
Message:

VBoxNetAdp/darwin: we still need to call bpf_tap_out() on outgoing
packets as filter driver relies on the interface driver to handle that
for packets we let out to the wire, like broadcasts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/darwin/VBoxNetAdp-darwin.cpp

    r57907 r57911  
    147147     * We are a dummy interface with all the real work done in
    148148     * VBoxNetFlt bridged networking filter.  If anything makes it
    149      * this far, just drop it, we have nowhere to send it to.
     149     * this far, it must be a broadcast or a packet for an unknown
     150     * guest that intnet didn't know where to dispatch.  In that case
     151     * we must still do the BPF tap and stats.
    150152     */
     153    bpf_tap_out(pIface, DLT_EN10MB, pMBuf, NULL, 0);
     154
    151155    mbuf_freem_list(pMBuf);
    152156    return 0;
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