函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\netlink.h Create Date:2022-07-27 07:05:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:la_align_64bit - 64-bit align the nla_data() of next attribute*@skb: socket buffer the message is stored in*@padattr: attribute type for the padding* Conditionally emit a padding netlink attribute in order to make

函数原型:static inline int nla_align_64bit(struct sk_buff *skb, int padattr)

返回类型:int

参数:

类型参数名称
struct sk_buff *skb
intpadattr
1813  如果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.且非la_reserve - reserve room for attribute on the skb*@skb: socket buffer to reserve room on*@attrtype: attribute type*@attrlen: length of attribute payload* Adds a netlink attribute header to a socket buffer and reserves则返回:负EMSGSIZE
1817  返回:0
调用者
名称描述
__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