Lines Matching defs:nlmsghdr
38 struct nlmsghdr
77 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
82 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
83 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
84 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
98 struct nlmsghdr msg;
141 static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb)
143 return (struct nlmsghdr *)skb->data;
164 extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err);
198 struct nlmsghdr *nlh;
211 static __inline__ struct nlmsghdr *
214 struct nlmsghdr *nlh;
217 nlh = (struct nlmsghdr*)skb_put(skb, NLMSG_ALIGN(size));
236 struct nlmsghdr *nlh,