equal
deleted
inserted
replaced
1703 Buffer::Iterator i = start; |
1703 Buffer::Iterator i = start; |
1704 uint8_t mac[32]; |
1704 uint8_t mac[32]; |
1705 |
1705 |
1706 SetType (i.ReadU8 ()); |
1706 SetType (i.ReadU8 ()); |
1707 SetLength (i.ReadU8 ()); |
1707 SetLength (i.ReadU8 ()); |
|
1708 NS_ASSERT (GetLength () * 8 - 2 <= 32); |
1708 i.Read (mac, (GetLength () * 8) - 2); |
1709 i.Read (mac, (GetLength () * 8) - 2); |
1709 |
1710 |
1710 m_addr.CopyFrom (mac, (GetLength () * 8)-2); |
1711 m_addr.CopyFrom (mac, (GetLength () * 8)-2); |
1711 |
1712 |
1712 return GetSerializedSize (); |
1713 return GetSerializedSize (); |