@@ -134,11 +134,12 @@ int ethnl_fill_reply_header(struct sk_buff *skb, struct net_device *dev,
134
134
135
135
/**
136
136
* ethnl_reply_init() - Create skb for a reply and fill device identification
137
- * @payload: payload length (without netlink and genetlink header)
138
- * @dev: device the reply is about (may be null)
139
- * @cmd: ETHTOOL_MSG_* message type for reply
140
- * @info: genetlink info of the received packet we respond to
141
- * @ehdrp: place to store payload pointer returned by genlmsg_new()
137
+ * @payload: payload length (without netlink and genetlink header)
138
+ * @dev: device the reply is about (may be null)
139
+ * @cmd: ETHTOOL_MSG_* message type for reply
140
+ * @hdr_attrtype: attribute type for common header
141
+ * @info: genetlink info of the received packet we respond to
142
+ * @ehdrp: place to store payload pointer returned by genlmsg_new()
142
143
*
143
144
* Return: pointer to allocated skb on success, NULL on error
144
145
*/
@@ -188,10 +189,11 @@ static int ethnl_multicast(struct sk_buff *skb, struct net_device *dev)
188
189
189
190
/**
190
191
* struct ethnl_dump_ctx - context structure for generic dumpit() callback
191
- * @ops: request ops of currently processed message type
192
- * @req_info: parsed request header of processed request
193
- * @pos_hash: saved iteration position - hashbucket
194
- * @pos_idx: saved iteration position - index
192
+ * @ops: request ops of currently processed message type
193
+ * @req_info: parsed request header of processed request
194
+ * @reply_data: data needed to compose the reply
195
+ * @pos_hash: saved iteration position - hashbucket
196
+ * @pos_idx: saved iteration position - index
195
197
*
196
198
* These parameters are kept in struct netlink_callback as context preserved
197
199
* between iterations. They are initialized by ethnl_default_start() and used
@@ -268,9 +270,9 @@ static int ethnl_default_parse(struct ethnl_req_info *req_info,
268
270
269
271
/**
270
272
* ethnl_init_reply_data() - Initialize reply data for GET request
271
- * @req_info : pointer to embedded struct ethnl_req_info
272
- * @ops: instance of struct ethnl_request_ops describing the layout
273
- * @dev: network device to initialize the reply for
273
+ * @reply_data : pointer to embedded struct ethnl_reply_data
274
+ * @ops: instance of struct ethnl_request_ops describing the layout
275
+ * @dev: network device to initialize the reply for
274
276
*
275
277
* Fills the reply data part with zeros and sets the dev member. Must be called
276
278
* before calling the ->fill_reply() callback (for each iteration when handling
0 commit comments