Home | History | Annotate | Download | only in linux

Lines Matching refs:nlmsghdr

40 struct nlmsghdr
79 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
84 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
85 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
86 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
100 struct nlmsghdr msg;
159 static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb)
161 return (struct nlmsghdr *)skb->data;
192 extern void netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, int err);
226 const struct nlmsghdr *nlh;
241 static __inline__ struct nlmsghdr *
244 struct nlmsghdr *nlh;
247 nlh = (struct nlmsghdr*)skb_put(skb, NLMSG_ALIGN(size));
267 const struct nlmsghdr *nlh,