Home
last modified time | relevance | path

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

/include/net/
Dnetlink.h482 struct nlmsghdr *nlh; member
596 static inline void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data()
605 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len()
615 static inline struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, in nlmsg_attrdata()
627 static inline int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrlen()
637 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok()
653 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) in nlmsg_next()
750 static inline int __nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, in __nlmsg_parse()
777 static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse()
797 static inline int nlmsg_parse_deprecated(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse_deprecated()
[all …]
Dgenetlink.h388 static inline int genlmsg_parse_deprecated(const struct nlmsghdr *nlh, in genlmsg_parse_deprecated()
407 static inline int genlmsg_parse(const struct nlmsghdr *nlh, in genlmsg_parse()
582 struct nlmsghdr *nlh = (struct nlmsghdr *)((unsigned char *)gnlh - in genlmsg_len() local
Drtnetlink.h56 static inline int rtnl_msg_family(const struct nlmsghdr *nlh) in rtnl_msg_family()
/include/linux/netfilter/
Dnfnetlink.h14 const struct nlmsghdr *nlh; member
72 static inline void nfnl_fill_hdr(struct nlmsghdr *nlh, u8 family, u8 version, in nfnl_fill_hdr()
88 struct nlmsghdr *nlh; in nfnl_msg_put() local
/include/uapi/linux/
Dnetlink.h103 #define NLMSG_DATA(nlh) ((void *)(((char *)nlh) + NLMSG_HDRLEN)) argument
104 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument
107 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument
110 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
/include/linux/
Dnetlink.h281 const struct nlmsghdr *nlh; member
333 const struct nlmsghdr *nlh, in netlink_dump_start()