VirtualBox

Changeset 87384 in vbox


Ignore:
Timestamp:
Jan 22, 2021 10:57:43 PM (4 years ago)
Author:
vboxsync
Message:

NAT/Net: Spell "service" correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/VBoxNetLwipNAT.cpp

    r87383 r87384  
    119119};
    120120
    121 typedef struct NATSEVICEPORTFORWARDRULE
     121typedef struct NATSERVICEPORTFORWARDRULE
    122122{
    123123    PORTFORWARDRULE Pfr;
    124124    fwspec         FWSpec;
    125 } NATSEVICEPORTFORWARDRULE, *PNATSEVICEPORTFORWARDRULE;
    126 
    127 typedef std::vector<NATSEVICEPORTFORWARDRULE> VECNATSERVICEPF;
     125} NATSERVICEPORTFORWARDRULE, *PNATSERVICEPORTFORWARDRULE;
     126
     127typedef std::vector<NATSERVICEPORTFORWARDRULE> VECNATSERVICEPF;
    128128typedef VECNATSERVICEPF::iterator ITERATORNATSERVICEPF;
    129129typedef VECNATSERVICEPF::const_iterator CITERATORNATSERVICEPF;
     
    193193    VECNATSERVICEPF m_vecPortForwardRule6;
    194194
    195     static int natServicePfRegister(NATSEVICEPORTFORWARDRULE& natServicePf);
     195    static int natServicePfRegister(NATSERVICEPORTFORWARDRULE& natServicePf);
    196196    static int natServiceProcessRegisteredPf(VECNATSERVICEPF& vecPf);
    197197};
     
    353353                                             : m_vecPortForwardRule4;
    354354
    355             NATSEVICEPORTFORWARDRULE r;
     355            NATSERVICEPORTFORWARDRULE r;
    356356            RT_ZERO(r);
    357357
     
    425425                {
    426426                    /* compare */
    427                     NATSEVICEPORTFORWARDRULE &natFw = *it;
     427                    NATSERVICEPORTFORWARDRULE &natFw = *it;
    428428                    if (   natFw.Pfr.iPfrProto == r.Pfr.iPfrProto
    429429                        && natFw.Pfr.u16PfrHostPort == r.Pfr.u16PfrHostPort
     
    715715
    716716
    717 /*static*/ int VBoxNetLwipNAT::natServicePfRegister(NATSEVICEPORTFORWARDRULE& natPf)
     717/*static*/ int VBoxNetLwipNAT::natServicePfRegister(NATSERVICEPORTFORWARDRULE& natPf)
    718718{
    719719    int lrc;
     
    773773    for (it = vecRules.begin(); it != vecRules.end(); ++it)
    774774    {
    775         NATSEVICEPORTFORWARDRULE &natPf = *it;
     775        NATSERVICEPORTFORWARDRULE &natPf = *it;
    776776
    777777        LogRel(("Loading %s port-forwarding rule \"%s\": %s %s%s%s:%d -> %s%s%s:%d\n",
     
    10091009        case 'P':
    10101010        {
    1011             NATSEVICEPORTFORWARDRULE Rule;
     1011            NATSERVICEPORTFORWARDRULE Rule;
    10121012            VECNATSERVICEPF& rules = (rc == 'P'?
    10131013                                        m_vecPortForwardRule6
     
    13921392    AssertComRCReturn(hrc, VERR_INTERNAL_ERROR);
    13931393
    1394     NATSEVICEPORTFORWARDRULE Rule;
     1394    NATSERVICEPORTFORWARDRULE Rule;
    13951395    for (size_t idxRules = 0; idxRules < rules.size(); ++idxRules)
    13961396    {
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