Changeset 6582 for luci2/libunl/unl/msg.h
- Timestamp:
- 11/28/10 16:36:18 (3 years ago)
- Files:
-
- 1 modified
-
luci2/libunl/unl/msg.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
luci2/libunl/unl/msg.h
r6266 r6582 277 277 } 278 278 279 /** 280 * Drop in replacement for unl_msg_parse for generic netlink. 281 * Automatically skips the generic netlink header. 282 */ 283 static inline int unl_genlmsg_parse(struct nlmsghdr *nh, size_t skip, struct nlattr *nlatbl[], uint16_t maxtype) { 284 return unl_msg_parse(nh, NLMSG_ALIGN(sizeof(struct genlmsghdr)) + skip, nlatbl, maxtype); 285 } 286 279 287 280 288 /****** NETLINK attribute helpers ******/
