Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
A class that handles parser aligned packets. Unpack a buffer to populate the field into a list of parserblocks

src/a/c/AcraNetwork-0.1/examples/simple_parser_packets_from_pcap.py   AcraNetwork(Download)
                #--------------------------------------------------------------------------------
                if inetx_packet.streamid == 0x11121314:
                    parser_aligned_packet = ParserAligned.ParserAlignedPacket()
                    # unpack the payload as the parser data
                    parser_aligned_packet.unpack(inetx_packet.payload)

src/a/c/AcraNetwork-0.1/examples/parser_aligned_pcap_example.py   AcraNetwork(Download)
                    # We have a parser aligned block
                    if inetx_packet.streamid == 0x11121314: # This specific streamid is a parser aligned block
                        parser_aligned_packet = ParserAligned.ParserAlignedPacket()
                        # unpack the payload as the parser data
                        parser_aligned_packet.unpack(inetx_packet.payload)