   Returns a data buffer on success."
   (let [data  (byte-array size)
         nr    (jna/invoke Integer
-                          clojure_pf_native/pf_read
+                          clojure_pf/pf_read
                           fd
                           data
                          (count data))]

  that is configured with the given interface, data link type
  and read buffer length."
  (let [fd (jna/invoke Integer
                       clojure_pf_native/pf_open
                       interface
                       read-buffer-length
                       data-link-type)]
    (when-not (= fd -1)
      fd)))


(defn close [fd]
  "Closes a socket/device associated with the given file descriptor."
  (jna/invoke Void clojure_pf/pf_close fd))
