Home
last modified time | relevance | path

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

/include/net/
Dnetlink.h223 struct nlmsghdr *nlh; member
302 static inline void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data()
311 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len()
321 static inline struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, in nlmsg_attrdata()
333 static inline int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrlen()
343 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok()
359 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) in nlmsg_next()
378 static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse()
397 static inline struct nlattr *nlmsg_find_attr(const struct nlmsghdr *nlh, in nlmsg_find_attr()
411 static inline int nlmsg_validate(const struct nlmsghdr *nlh, in nlmsg_validate()
[all …]
Drtnetlink.h20 static inline int rtnl_msg_family(const struct nlmsghdr *nlh) in rtnl_msg_family()
Dgenetlink.h286 struct nlmsghdr *nlh = (struct nlmsghdr *)((unsigned char *)gnlh - in genlmsg_len() local
/include/uapi/linux/
Dnetlink.h84 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument
85 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument
87 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument
90 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
/include/linux/
Dnetlink.h104 const struct nlmsghdr *nlh; member
138 const struct nlmsghdr *nlh, in netlink_dump_start()