函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:缓存区尾部字节

函数原型:static inline int skb_tailroom(const struct sk_buff *skb)

返回类型:int

参数:

类型参数名称
const struct sk_buff *skb
2312  返回:如果skb_is_nonlinear(skb)则0否则end These elements must be at the end, see alloc_skb() for details.
调用者
名称描述
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_reserve_nohdrla_reserve_nohdr - reserve room for attribute without header*@skb: socket buffer to reserve room on*@attrlen: length of attribute payload* Reserves room for attribute payload without a header
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*
nla_put_nohdrla_put_nohdr - Add a netlink attribute without header*@skb: socket buffer to add attribute to*@attrlen: length of attribute payload*@data: head of attribute payload* Returns -EMSGSIZE if the tailroom of the skb is insufficient to store
nla_appendla_append - Add a netlink attribute without header or padding*@skb: socket buffer to add attribute to*@attrlen: length of attribute payload*@data: head of attribute payload* Returns -EMSGSIZE if the tailroom of the skb is insufficient to store
audit_expandaudit_expand - expand skb in the audit buffer*@ab: audit_buffer*@extra: space to add at tail of the skb* Returns 0 (no space) on failed expansion, or available space if* successful.
audit_log_vformatFormat an audit message into the audit buffer. If there isn't enough* room in the audit buffer, more room will be allocated and vsnprint* will be called a second time. Currently, we assume that a printk
audit_log_n_hexaudit_log_n_hex - convert a buffer to hex and append it to the audit skb*@ab: the audit_buffer*@buf: buffer to convert to hex*@len: length of @buf to be converted* No return value; failure to expand is silently ignored
audit_log_n_stringFormat a string of no more than slen characters into the audit buffer,* enclosed in quote marks.
skb_tailroom_reserveskb_tailroom_reserve - adjust reserved_tailroom*@skb: buffer to alter*@mtu: maximum amount of headlen permitted*@needed_tailroom: minimum amount of reserved_tailroom* Set reserved_tailroom so that headlen can be as large as possible but* not larger than
__skb_grow
nlmsg_putlmsg_put - Add a new netlink message to an skb*@skb: socket buffer to store message in*@portid: netlink PORTID of requesting application*@seq: sequence number of message*@type: message type*@payload: length of message payload*@flags: message flags*