Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\netlink.h Create Date:2022-07-28 06:06:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:la_need_padding_for_64bit - test 64-bit alignment of the next attribute*@skb: socket buffer the message is stored in* Return true if padding is needed to align the next attribute (nla_data()) to* a 64-bit aligned area.

Proto:static inline bool nla_need_padding_for_64bit(struct sk_buff *skb)

Type:bool

Parameter:

TypeParameterName
struct sk_buff *skb
1793  If IS_ALIGNED((unsignedlong)skb_tail_pointer(skb), 8) Then Return true
1796  Return false
Caller
NameDescribe
__nla_reserve_64bit__nla_reserve_64bit - reserve room for attribute on the skb and align it*@skb: socket buffer to reserve room on*@attrtype: attribute type*@attrlen: length of attribute payload*@padattr: attribute type for the padding* Adds a netlink attribute header to a
nla_reserve_64bitla_reserve_64bit - reserve room for attribute on the skb and align it*@skb: socket buffer to reserve room on*@attrtype: attribute type*@attrlen: length of attribute payload*@padattr: attribute type for the padding* Adds a netlink attribute header to a
nla_put_64bitla_put_64bit - Add a netlink attribute to a socket buffer and align it*@skb: socket buffer to add attribute to*@attrtype: attribute type*@attrlen: length of attribute payload*@data: head of attribute payload*@padattr: attribute type for the padding*