cvs commit: src/sys/sys _task.h
Roman Kurakin
rik at cronyx.ru
Wed Jul 28 09:32:16 PDT 2004
Garrett Wollman wrote:
><<On Wed, 28 Jul 2004 08:03:16 -0700, Alfred Perlstein <alfred at FreeBSD.ORG> said:
>
>
>
>>* Maxime Henrion <mux at freebsd.org> [040728 02:19] wrote:
>>
>>
>>>Or have a struct ifnet for kernel and a struct xifnet for userland, as we
>>>do in other places.
>>>
>>>
>
>
>
>>That sounds more correct (xifnet).
>>
>>
>
>No. Everything that would legitimately be available in an xifnet
>structure is already made available through other interfaces. The
>only reason programs might need to look at a struct ifnet is because
>they're mucking about in kernel memory, in which case they need the
>real one and not a "sanitized" version. (This is why I moved struct
>ifnet to <net/if_var.h> in the first place.)
>
>
Does these programs need entire structure, or it is possible for them to
use truncated one?
rik
>-GAWollman
>
>
>
>
>
More information about the cvs-src
mailing list