(self, lfilter=None)
Same as nsummary(), except that if a packet has a Raw layer, it will be hexdumped
        lfilter: a truth function that decides whether a packet must be displayed
Same as nsummary(), except that if a packet has a Raw layer, it will be hexdumped
        lfilter: a truth function that decides whether a packet must be displayed
Same as nsummary () except that if a packet has a Raw layer it will be hexdumped lfilter : a truth function that decides whether a packet must be displayed
def hexraw(self, lfilter=None):
        """Same as nsummary(), except that if a packet has a Raw layer, it will be hexdumped
        lfilter: a truth function that decides whether a packet must be displayed"""
        for i in range(len(self.res)):
            p = self._elt2pkt(self.res[i])
            if lfilter is not None and not lfilter(p):
                continue
            print "%s %s %s" % (conf.color_theme.id(i,fmt="%04i"),
                                p.sprintf("%.time%"),
                                self._elt2sum(self.res[i]))
            if p.haslayer(conf.raw_layer):
                hexdump(p.getlayer(conf.raw_layer).load)
def hexraw ( self , lfilter = None ) : for i in range ( len ( self . res ) ) : p = self . _elt2pkt ( self . res [ i ] ) if lfilter is not None and not lfilter ( p ) : continue print "%s %s %s" % ( conf . color_theme . id ( i , fmt = "%04i" ) , p . sprintf ( "%.time%" ) , self . _elt2sum ( self . res [ i ] ) ) if p . haslayer ( conf . raw_layer ) : hexdump ( p . getlayer ( conf . raw_layer ) . load )