works with SOCK_RAW sockets now, as well as SOCK_DGRAM.
Changed to conform to NetBSD's new RCS Id convention.