Search Linux Wireless

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux