函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:属性尾部填充长度

函数原型:static inline int nla_padlen(int payload)

返回类型:int

参数:

类型参数名称
intpayload
1056  返回:属性的总长度,包括填充不包括填充的属性长度
调用者
名称描述
__nla_reserve__nla_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