Skip to content

Commit

Permalink
Reverts unrelated TcpHeader change from "ieee 802.15.4: added Ieee802…
Browse files Browse the repository at this point in the history
…154MacHeaderSerializer"
  • Loading branch information
ZoltanBojthe committed Dec 17, 2024
1 parent 0e1070f commit 1ebeb09
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/inet/transportlayer/tcp_common/TcpHeader.msg
Original file line number Diff line number Diff line change
Expand Up @@ -225,21 +225,6 @@ class TcpHeader extends TransportHeaderBase
TcpOption *headerOption[] @owned;
}

cplusplus(cc) {{
void doParsimArrayPacking(omnetpp::cCommBuffer *b, TcpOption* *t, int n)
{
for (int i = 0; i < n; i++)
b->packObject(t[i]);
}

void doParsimArrayUnpacking(omnetpp::cCommBuffer *b, TcpOption* *t, int n)
{
for (int i = 0; i < n; i++)
t[i] = check_and_cast<TcpOption*>(b->unpackObject());
}

}}

cplusplus(TcpHeader) {{
public:
/**
Expand Down

0 comments on commit 1ebeb09

Please sign in to comment.