Implements capture_loop(), get_datalink_offset() and improves open_interface(). Compatibility between Mac OSX and Linux, and 32 x 64 bits archtectures solved.