Lines 63-71
Ipv4AddressHelper::SetBase (
|
Link Here
|
---|
|
63 |
// |
63 |
// |
64 |
NS_ASSERT_MSG((m_network & ~m_mask) == 0, |
64 |
NS_ASSERT_MSG((m_network & ~m_mask) == 0, |
65 |
"Ipv4AddressHelper::SetBase(): Inconsistent network and mask"); |
65 |
"Ipv4AddressHelper::SetBase(): Inconsistent network and mask"); |
66 |
|
|
|
67 |
NS_ASSERT_MSG((m_address & m_mask) == 0, |
68 |
"Ipv4AddressHelper::SetBase(): Inconsistent address and mask"); |
69 |
|
66 |
|
70 |
// |
67 |
// |
71 |
// Figure out how much to shift network numbers to get them aligned, and what |
68 |
// Figure out how much to shift network numbers to get them aligned, and what |