函数逻辑报告

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_total_size(int payload)

返回类型:int

参数:

类型参数名称
intpayload
1047  返回:NLA_ALIGN(不包括填充的属性长度)
调用者
名称描述
nla_policy_lenla_policy_len - Determin the max. length of a policy*@policy: policy to use*@n: number of policies* Determines the max. length of the policy. It is currently used* to allocated Netlink buffers roughly the size of the actual* message.
__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
nla_reservela_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
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_putla_put - Add a netlink attribute to a socket buffer*@skb: socket buffer to add attribute to*@attrtype: attribute type*@attrlen: length of attribute payload*@data: head of attribute payload* Returns -EMSGSIZE if the tailroom of the skb is insufficient to
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*
cgroupstats_user_cmd
taskstats_packet_size
quota_send_warningquota_send_warning - Send warning to userspace about exceeded quota*@qid: The kernel internal quota identifier
nla_padlen属性尾部填充长度