| 221 | pass |
| 222 | |
| 223 | def decode(self, buffer): |
| 224 | destination_options = IP6_Extension_Headers.Destination_Options(buffer) |
| 225 | self.set_decoded_protocol(destination_options) |
| 226 | start_pos = destination_options.get_header_size() |
| 227 | contained_protocol = destination_options.get_next_header() |
| 228 | |
| 229 | multi_protocol_decoder = IP6MultiProtocolDecoder(contained_protocol) |
| 230 | child_packet = multi_protocol_decoder.decode(buffer[start_pos:]) |
| 231 | |
| 232 | destination_options.contains(child_packet) |
| 233 | return destination_options |
| 234 | |
| 235 | class RoutingOptionsDecoder(Decoder): |
| 236 | def __init__(self): |