| 211 | |
| 212 | |
| 213 | bool L3ProtocolElement::parseTV(unsigned IEI, const L3Frame& source, size_t &rp) |
| 214 | { |
| 215 | if (rp==source.size()) return false; |
| 216 | if (lengthV()==0) { |
| 217 | unsigned thisIEI = source.peekField(rp,4); |
| 218 | if (thisIEI!=IEI) return false; |
| 219 | rp += 4; |
| 220 | parseV(source,rp); |
| 221 | return true; |
| 222 | } |
| 223 | |
| 224 | unsigned thisIEI = source.peekField(rp,8); |
| 225 | if (thisIEI!=IEI) return false; |
| 226 | rp += 8; |
| 227 | parseV(source,rp); |
| 228 | return true; |
| 229 | } |
| 230 | |
| 231 | |
| 232 | bool parseHasT(unsigned IEI, const L3Frame& source, size_t &rp) |