Home
last modified time | relevance | path

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

/include/net/
Dnetlink.h234 struct nlmsghdr *nlh; member
313 static inline void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data()
322 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len()
332 static inline struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, in nlmsg_attrdata()
344 static inline int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrlen()
354 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok()
370 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) in nlmsg_next()
390 static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse()
410 static inline struct nlattr *nlmsg_find_attr(const struct nlmsghdr *nlh, in nlmsg_find_attr()
425 static inline int nlmsg_validate(const struct nlmsghdr *nlh, in nlmsg_validate()
[all …]
Dgenetlink.h179 static inline int genlmsg_parse(const struct nlmsghdr *nlh, in genlmsg_parse()
329 struct nlmsghdr *nlh = (struct nlmsghdr *)((unsigned char *)gnlh - in genlmsg_len() local
Drtnetlink.h23 static inline int rtnl_msg_family(const struct nlmsghdr *nlh) in rtnl_msg_family()
/include/uapi/linux/
Dnetlink.h94 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument
95 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument
97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument
100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
/include/linux/
Dnetlink.h175 const struct nlmsghdr *nlh; member
211 const struct nlmsghdr *nlh, in netlink_dump_start()