Home
last modified time | relevance | path

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

/include/net/
Dnetlink.h466 struct nlmsghdr *nlh; member
580 static inline void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data()
589 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len()
599 static inline struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, in nlmsg_attrdata()
611 static inline int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrlen()
621 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok()
637 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) in nlmsg_next()
734 static inline int __nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, in __nlmsg_parse()
761 static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse()
781 static inline int nlmsg_parse_deprecated(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse_deprecated()
[all …]
Dgenetlink.h362 static inline int genlmsg_parse_deprecated(const struct nlmsghdr *nlh, in genlmsg_parse_deprecated()
381 static inline int genlmsg_parse(const struct nlmsghdr *nlh, in genlmsg_parse()
530 struct nlmsghdr *nlh = (struct nlmsghdr *)((unsigned char *)gnlh - in genlmsg_len() local
Drtnetlink.h37 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.h280 const struct nlmsghdr *nlh; member
330 const struct nlmsghdr *nlh, in netlink_dump_start()