Lines Matching refs:payload

17  *    <--- nlmsg_total_size(payload)  --->
18 * <-- nlmsg_msg_size(payload) ->
53 * nlmsg_msg_size(payload) length of message w/o padding
54 * nlmsg_total_size(payload) length of message w/ padding
55 * nlmsg_padlen(payload) length of padding at tail
58 * nlmsg_data(nlh) head of message payload
59 * nlmsg_len(nlh) length of message payload
80 * <------- nla_total_size(payload) ------->
81 * <---- nla_attr_size(payload) ----->
123 * nla_attr_size(payload) length of attribute w/o padding
124 * nla_total_size(payload) length of attribute w/ padding
125 * nla_padlen(payload) length of padding
128 * nla_data(nla) head of attribute payload
129 * nla_len(nla) length of attribute payload
132 * nla_get_uint(nla) get payload for a uint attribute
133 * nla_get_sint(nla) get payload for a sint attribute
134 * nla_get_u8(nla) get payload for a u8 attribute
135 * nla_get_u16(nla) get payload for a u16 attribute
136 * nla_get_u32(nla) get payload for a u32 attribute
137 * nla_get_u64(nla) get payload for a u64 attribute
138 * nla_get_s8(nla) get payload for a s8 attribute
139 * nla_get_s16(nla) get payload for a s16 attribute
140 * nla_get_s32(nla) get payload for a s32 attribute
141 * nla_get_s64(nla) get payload for a s64 attribute
143 * nla_get_msecs(nla) get payload for a msecs attribute
225 * @len: Type specific length of payload
234 * NLA_BINARY Maximum length of attribute payload
252 * All other Minimum length of attribute payload
567 * @payload: length of message payload
569 static inline int nlmsg_msg_size(int payload)
571 return NLMSG_HDRLEN + payload;
576 * @payload: length of message payload
578 static inline int nlmsg_total_size(int payload)
580 return NLMSG_ALIGN(nlmsg_msg_size(payload));
585 * @payload: length of message payload
587 static inline int nlmsg_padlen(int payload)
589 return nlmsg_total_size(payload) - nlmsg_msg_size(payload);
593 * nlmsg_data - head of message payload
602 * nlmsg_len - length of message payload
949 * @payload: length of message payload
953 * the message header and payload.
956 int type, int payload, int flags)
958 if (unlikely(skb_tailroom(skb) < nlmsg_total_size(payload)))
961 return __nlmsg_put(skb, portid, seq, type, payload, flags);
967 * @size: length of message payload
972 * the extra payload.
990 * @payload: length of message payload
994 * the message header and payload.
998 int type, int payload,
1002 type, payload, flags);
1007 * @payload: size of the message payload
1010 * Use NLMSG_DEFAULT_SIZE if the size of the payload isn't known
1013 static inline struct sk_buff *nlmsg_new(size_t payload, gfp_t flags)
1015 return alloc_skb(nlmsg_total_size(payload), flags);
1021 * @payload: size of the message payload
1027 static inline struct sk_buff *nlmsg_new_large(size_t payload)
1029 return netlink_alloc_large_skb(nlmsg_total_size(payload), 0);
1207 * @payload: length of payload
1209 static inline int nla_attr_size(int payload)
1211 return NLA_HDRLEN + payload;
1216 * @payload: length of payload
1218 static inline int nla_total_size(int payload)
1220 return NLA_ALIGN(nla_attr_size(payload));
1225 * @payload: length of payload
1227 static inline int nla_padlen(int payload)
1229 return nla_total_size(payload) - nla_attr_size(payload);
1242 * nla_data - head of payload
1251 * nla_len - length of payload
1689 * nla_get_u32 - return payload of u32 attribute
1698 * nla_get_be32 - return payload of __be32 attribute
1707 * nla_get_le32 - return payload of __le32 attribute
1716 * nla_get_u16 - return payload of u16 attribute
1725 * nla_get_be16 - return payload of __be16 attribute
1734 * nla_get_le16 - return payload of __le16 attribute
1743 * nla_get_u8 - return payload of u8 attribute
1752 * nla_get_u64 - return payload of u64 attribute
1765 * nla_get_uint - return payload of uint attribute
1776 * nla_get_be64 - return payload of __be64 attribute
1789 * nla_get_le64 - return payload of __le64 attribute
1798 * nla_get_s32 - return payload of s32 attribute
1807 * nla_get_s16 - return payload of s16 attribute
1816 * nla_get_s8 - return payload of s8 attribute
1825 * nla_get_s64 - return payload of s64 attribute
1838 * nla_get_sint - return payload of uint attribute
1849 * nla_get_flag - return payload of flag attribute
1858 * nla_get_msecs - return payload of msecs attribute
1871 * nla_get_in_addr - return payload of IPv4 address attribute
1880 * nla_get_in6_addr - return payload of IPv6 address attribute
1892 * nla_get_bitfield32 - return payload of 32 bitfield attribute
2064 * @payload: length of payload
2066 static inline int nla_total_size_64bit(int payload)
2068 return NLA_ALIGN(nla_attr_size(payload))