android_kernel_xiaomi_sm8350/net/netlink
Thomas Graf fe4944e59c [NETLINK]: Extend netlink messaging interface
Adds:
 nlmsg_get_pos()                 return current position in message
 nlmsg_trim()                    trim part of message
 nla_reserve_nohdr(skb, len)     reserve room for an attribute w/o hdr
 nla_put_nohdr(skb, len, data)   add attribute w/o hdr
 nla_find_nested()               find attribute in nested attributes

Fixes nlmsg_new() to take allocation flags and consider size.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-09-22 14:53:43 -07:00
..
af_netlink.c [NETLINK]: Call panic if nl_table allocation fails 2006-08-29 21:22:18 -07:00
attr.c [NETLINK]: Extend netlink messaging interface 2006-09-22 14:53:43 -07:00
genetlink.c [NETLINK]: Extend netlink messaging interface 2006-09-22 14:53:43 -07:00
Makefile