| 237 | pass |
| 238 | |
| 239 | def decode(self, buffer): |
| 240 | routing_options = IP6_Extension_Headers.Routing_Options(buffer) |
| 241 | self.set_decoded_protocol(routing_options) |
| 242 | start_pos = routing_options.get_header_size() |
| 243 | contained_protocol = routing_options.get_next_header() |
| 244 | |
| 245 | multi_protocol_decoder = IP6MultiProtocolDecoder(contained_protocol) |
| 246 | child_packet = multi_protocol_decoder.decode(buffer[start_pos:]) |
| 247 | |
| 248 | routing_options.contains(child_packet) |
| 249 | return routing_options |
| 250 | |
| 251 | class ICMP6Decoder(Decoder): |
| 252 | def __init__(self): |