Thread (6 messages) 6 messages, 3 authors, 2017-06-16

Re: [RFC] networking: add and use skb_put_u8()

From: Joe Perches <joe@perches.com>
Date: 2017-06-16 12:42:53

On Fri, 2017-06-16 at 05:04 -0700, Joe Perches wrote:
Perhaps

	skb_put_data(skb, &c, sizeof(c))

as that avoids api expansion.
Hmm.  Perhaps not.

That wouldn't work very well for constants
when some variant like skb_putchar/skb_put_u8
works perfectly.

I still think skb_putchar is nicer naming,
but perhaps the skb_put_u<size> is more
amenable to use with constants.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help