lkml.org 
[lkml]   [2002]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Generic HDLC interface continued
Krzysztof Halasa <khc@pm.waw.pl> :
[...]
> Please note that there is no call which could return the protocol
> (or interface type) without copying the whole data - thus the caller
> (utility) is unable to skip unknown interfaces.

Ok, the 'type' attribute isn't enough.

I feel like we are trying to do two things at the same time:
a) the size of the allocated area isn't required if we need to do something
real with the data: if size doesn't match what is expected, we loose
anyway
b) if we don't care about the copied data, we actually ask for the subtype
of the interface

-> a) and b) are two different operations imho.

--
Ueimor
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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