lkml.org 
[lkml]   [1999]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.733 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site