AddLayer should be called by a decoder immediately upon successful decoding of a layer.
(l Layer)
| 43 | // AddLayer should be called by a decoder immediately upon successful |
| 44 | // decoding of a layer. |
| 45 | AddLayer(l Layer) |
| 46 | // The following functions set the various specific layers in the final |
| 47 | // packet. Note that if many layers call SetX, the first call is kept and all |
| 48 | // other calls are ignored. |
no outgoing calls
no test coverage detected