code: def get_blen(self):
          
  
          try:
              ret = fcntl.ioctl(self.ins, BIOCGBLEN, struct.pack("I", 0))
              return struct.unpack("I", ret)[0]
          except IOError:
              warning("Unable to get the BPF buffer length")
              return
docs: Get the BPF buffer length