(self, lfilter=None)
Same as padding() but only non null padding
Same as padding() but only non null padding
Same as padding () but only non null padding
def nzpadding(self, lfilter=None):
        """Same as padding() but only non null padding"""
        for i in range(len(self.res)):
            p = self._elt2pkt(self.res[i])
            if p.haslayer(Padding):
                pad = p.getlayer(Padding).load
                if pad == pad[0]*len(pad):
                    continue
                if lfilter is None or lfilter(p):
                    print "%s %s %s" % (conf.color_theme.id(i,fmt="%04i"),
                                        p.sprintf("%.time%"),
                                        self._elt2sum(self.res[i]))
                    hexdump(p.getlayer(Padding).load)
def nzpadding ( self , lfilter = None ) : for i in range ( len ( self . res ) ) : p = self . _elt2pkt ( self . res [ i ] ) if p . haslayer ( Padding ) : pad = p . getlayer ( Padding ) . load if pad == pad [ 0 ] * len ( pad ) : continue if lfilter is None or lfilter ( p ) : print "%s %s %s" % ( conf . color_theme . id ( i , fmt = "%04i" ) , p . sprintf ( "%.time%" ) , self . _elt2sum ( self . res [ i ] ) ) hexdump ( p . getlayer ( Padding ) . load )