VirtualBox

Changeset 49567 in vbox


Ignore:
Timestamp:
Nov 20, 2013 8:52:10 AM (11 years ago)
Author:
vboxsync
Message:

DHCP/NetworkManager: visibility (ack,nak, offer4Client) from public to private.

Location:
trunk/src/VBox/NetworkServices/DHCP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/DHCP/Config.cpp

    r49566 r49567  
    698698
    699699
     700const RTNETADDRIPV4& NetworkManager::getOurAddress() const
     701{
     702    return m->m_OurAddress;
     703}
     704
     705
     706const RTNETADDRIPV4& NetworkManager::getOurNetmask() const
     707{
     708    return m->m_OurNetmask;
     709}
     710
     711
     712const RTMAC& NetworkManager::getOurMac() const
     713{
     714    return m->m_OurMac;
     715}
     716
     717
     718void NetworkManager::setOurAddress(const RTNETADDRIPV4& aAddress)
     719{
     720    m->m_OurAddress = aAddress;
     721}
     722
     723
     724void NetworkManager::setOurNetmask(const RTNETADDRIPV4& aNetmask)
     725{
     726    m->m_OurNetmask = aNetmask;
     727}
     728
     729
     730void NetworkManager::setOurMac(const RTMAC& aMac)
     731{
     732    m->m_OurMac = aMac;
     733}
     734
     735
     736void NetworkManager::setSession(PSUPDRVSESSION aSession)
     737{
     738    m->m_pSession = aSession;
     739}
     740
     741
     742void NetworkManager::setInterface(INTNETIFHANDLE aIf)
     743{
     744    m->m_hIf = aIf;
     745}
     746
     747
     748void NetworkManager::setRingBuffer(PINTNETBUF aBuf)
     749{
     750    m->m_pIfBuf = aBuf;
     751}
    700752/**
    701753 * Network manager creates DHCPOFFER datagramm
     
    824876
    825877    return doReply(client, extra);
    826 }
    827 
    828 
    829 const RTNETADDRIPV4& NetworkManager::getOurAddress() const
    830 {
    831     return m->m_OurAddress;
    832 }
    833 
    834 
    835 const RTNETADDRIPV4& NetworkManager::getOurNetmask() const
    836 {
    837     return m->m_OurNetmask;
    838 }
    839 
    840 
    841 const RTMAC& NetworkManager::getOurMac() const
    842 {
    843     return m->m_OurMac;
    844 }
    845 
    846 
    847 void NetworkManager::setOurAddress(const RTNETADDRIPV4& aAddress)
    848 {
    849     m->m_OurAddress = aAddress;
    850 }
    851 
    852 
    853 void NetworkManager::setOurNetmask(const RTNETADDRIPV4& aNetmask)
    854 {
    855     m->m_OurNetmask = aNetmask;
    856 }
    857 
    858 
    859 void NetworkManager::setOurMac(const RTMAC& aMac)
    860 {
    861     m->m_OurMac = aMac;
    862 }
    863 
    864 
    865 void NetworkManager::setSession(PSUPDRVSESSION aSession)
    866 {
    867     m->m_pSession = aSession;
    868 }
    869 
    870 
    871 void NetworkManager::setInterface(INTNETIFHANDLE aIf)
    872 {
    873     m->m_hIf = aIf;
    874 }
    875 
    876 
    877 void NetworkManager::setRingBuffer(PINTNETBUF aBuf)
    878 {
    879     m->m_pIfBuf = aBuf;
    880878}
    881879
  • trunk/src/VBox/NetworkServices/DHCP/Config.h

    r49566 r49567  
    502502    static NetworkManager *getNetworkManager();
    503503
    504     int offer4Client(const Client& lease, uint32_t u32Xid, uint8_t *pu8ReqList, int cReqList);
    505     int ack(const Client& lease, uint32_t u32Xid, uint8_t *pu8ReqList, int cReqList);
    506     int nak(const Client& lease, uint32_t u32Xid);
    507 
    508504    const RTNETADDRIPV4& getOurAddress() const;
    509505    const RTNETADDRIPV4& getOurNetmask() const;
     
    525521    NetworkManager();
    526522    ~NetworkManager();
     523
     524    int offer4Client(const Client& lease, uint32_t u32Xid, uint8_t *pu8ReqList, int cReqList);
     525    int ack(const Client& lease, uint32_t u32Xid, uint8_t *pu8ReqList, int cReqList);
     526    int nak(const Client& lease, uint32_t u32Xid);
    527527
    528528    int prepareReplyPacket4Client(const Client& client, uint32_t u32Xid);
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