Home
last modified time | relevance | path

Searched defs:nlh (Results 1 – 4 of 4) sorted by relevance

/include/net/
Dnetlink.h216 struct nlmsghdr *nlh; member
292 static inline void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data()
301 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len()
311 static inline struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, in nlmsg_attrdata()
323 static inline int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrlen()
333 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok()
348 static inline struct nlmsghdr *nlmsg_next(struct nlmsghdr *nlh, int *remaining) in nlmsg_next()
367 static inline int nlmsg_parse(struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse()
386 static inline struct nlattr *nlmsg_find_attr(struct nlmsghdr *nlh, in nlmsg_find_attr()
400 static inline int nlmsg_validate(struct nlmsghdr *nlh, int hdrlen, int maxtype, in nlmsg_validate()
[all …]
Dgenetlink.h115 struct nlmsghdr *nlh; in genlmsg_put() local
218 struct nlmsghdr *nlh = (struct nlmsghdr *)((unsigned char *)gnlh - in genlmsg_len() local
Drtnetlink.h17 static inline int rtnl_msg_family(struct nlmsghdr *nlh) in rtnl_msg_family()
/include/linux/
Dnetlink.h82 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument
83 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument
85 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument
88 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
219 struct nlmsghdr *nlh; member
236 struct nlmsghdr *nlh; in __nlmsg_put() local