Lines Matching refs:nlmsghdr
18 * | nlmsghdr | Pad | Payload | Pad | nlmsghdr
32 * struct nlmsghdr netlink message header
216 struct nlmsghdr *nlh;
223 struct nlmsghdr *));
293 static inline void *nlmsg_data(const struct nlmsghdr *nlh)
302 static inline int nlmsg_len(const struct nlmsghdr *nlh)
312 static inline struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh,
324 static inline int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen)
334 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining)
336 return (remaining >= (int) sizeof(struct nlmsghdr) &&
337 nlh->nlmsg_len >= sizeof(struct nlmsghdr) &&
349 static inline struct nlmsghdr *nlmsg_next(struct nlmsghdr *nlh, int *remaining)
355 return (struct nlmsghdr *) ((unsigned char *) nlh + totlen);
368 static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen,
387 static inline struct nlattr *nlmsg_find_attr(struct nlmsghdr *nlh,
401 static inline int nlmsg_validate(struct nlmsghdr *nlh, int hdrlen, int maxtype,
417 static inline int nlmsg_report(const struct nlmsghdr *nlh)
446 static inline struct nlmsghdr *nlmsg_put(struct sk_buff *skb, u32 pid, u32 seq,
466 static inline struct nlmsghdr *nlmsg_put_answer(struct sk_buff *skb,
499 static inline int nlmsg_end(struct sk_buff *skb, struct nlmsghdr *nlh)
538 static inline void nlmsg_cancel(struct sk_buff *skb, struct nlmsghdr *nlh)