mirror of
https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git
synced 2025-06-08 10:03:58 +02:00
Use proper ethernet header
This commit is contained in:
parent
97de8c9d24
commit
1917223a5e
3 changed files with 61 additions and 41 deletions
|
@ -246,9 +246,11 @@ private:
|
|||
* Adds the necessary headers and trailers to a packet of data in order to
|
||||
* respect the protocol implemented by the agent.
|
||||
* \param p packet
|
||||
* \param src source
|
||||
* \param dst destination
|
||||
* \param protocolNumber protocol number
|
||||
*/
|
||||
void AddHeader (Ptr<Packet> p, uint16_t protocolNumber);
|
||||
void AddHeader (Ptr<Packet> p, Address src, Address dst, uint16_t protocolNumber);
|
||||
|
||||
/**
|
||||
* Removes, from a packet of data, all headers and trailers that
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue