Messages in this thread | | | Date | Fri, 22 Jan 1999 21:09:36 +0100 (EET) | From | "Krzysztof G. Baranowski" <> | Subject | Re: userspace access to "u8", "u16", etc. types with filter.h |
| |
On Fri, 22 Jan 1999, wrote: > struct sock_filter /* Filter block */ > { > u16 code; /* Actual filter code */ [....] > 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. > Any ideas on how to best handle this situation? The structure should be changed to use __u16, __u32 types. > BTW: I seem to be getting a: > 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. There's a new address family called AF_PACKET.
Kris
- 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/
| |