VirtualBox

Ignore:
Timestamp:
Oct 28, 2010 9:27:05 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67140
Message:

*: spelling fixes, thanks Timeless!

File:
1 edited

Legend:

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

    r32740 r33540  
    9595 * We have to associate the ethernet header with each packet we're sending
    9696 * because things like icmp will inherit the tag it self so the tag along
    97  * isn't sufficent to identify our mbufs. For the icmp scenario the ethernet
    98  * header naturarlly changes before the packet is send pack, so let check it.
     97 * isn't sufficient to identify our mbufs. For the icmp scenario the ethernet
     98 * header naturally changes before the packet is send pack, so let check it.
    9999 */
    100100typedef struct VBOXNETFLTTAG
     
    132132
    133133/** The unique tag id for this module.
    134  * This is basically a unique string hash that lives on untill reboot.
     134 * This is basically a unique string hash that lives on until reboot.
    135135 * It is used for tagging mbufs. */
    136136static mbuf_tag_id_t g_idTag;
     
    324324static mbuf_t vboxNetFltDarwinMBufFromSG(PVBOXNETFLTINS pThis, PINTNETSG pSG)
    325325{
    326     /// @todo future? mbuf_how_t How = preemtion enabled ? MBUF_DONTWAIT : MBUF_WAITOK;
     326    /// @todo future? mbuf_how_t How = preemption enabled ? MBUF_DONTWAIT : MBUF_WAITOK;
    327327    mbuf_how_t How = MBUF_WAITOK;
    328328
     
    350350     *
    351351     * So, in the end it's better to just do it the simple way that will work
    352      * 100%, even if it involes some extra work (alloc + copy) we really wished
     352     * 100%, even if it involves some extra work (alloc + copy) we really wished
    353353     * to avoid.
    354354     *
    355355     * Note. We can't make use of the physical addresses on darwin because the
    356      *       way the mbuf / cluster stuffe works (see mbuf_data_to_physical and
     356     *       way the mbuf / cluster stuff works (see mbuf_data_to_physical and
    357357     *       mcl_to_paddr).
    358358     */
     
    10561056             * This api is a bit weird, the best reference is the code.
    10571057             *
    1058              * Also, we have a bit or race conditions wrt the maintance of
     1058             * Also, we have a bit or race conditions wrt the maintenance of
    10591059             * host the interface promiscuity for vboxNetFltPortOsIsPromiscuous.
    10601060             */
Note: See TracChangeset for help on using the changeset viewer.

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