Messages in this thread | | | Subject | Re: userspace access to "u8", "u16", etc. types with filter.h | Date | Fri, 22 Jan 1999 13:50:40 +0100 | From | Philip Blundell <> |
| |
>The problem is however, when I include <linux/filter.h> the u* types are >not defined. I cannot find a header file that defines them for >userspace programs. <asm/types.h> has the definitions that I want, but >they are wrapped with a _KERNEL_ macro.
Including <linux/*> headers from user space is always dubious. Either typedef those names yourself or duplicate the structure with types that do exist.
>dhclient uses obsolete (PF_INET,SOCK_PACKET) > >message as well. If somebody can point me to what has obsoleted this >facility I will see about updating that part of the dhcp client as well.
AF_PACKET is the new way to do this.
p.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |