Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\skbuff.h Create Date:2022-07-28 05:52:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:skb_tailroom - bytes at buffer end*@skb: buffer to check* Return the number of bytes of free space at the tail of an sk_buff

Proto:static inline int skb_tailroom(const struct sk_buff *skb)

Type:int

Parameter:

TypeParameterName
const struct sk_buff *skb
2312  Return If skb_is_nonlinear(skb) Then 0 Else end - These elements must be at the end, see alloc_skb() for details.
Caller
NameDescribe
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.