Home
last modified time | relevance | path

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

/include/net/
Dnetlink.h387 struct nlmsghdr *nlh; member
501 static inline void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data()
510 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len()
520 static inline struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, in nlmsg_attrdata()
532 static inline int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrlen()
542 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok()
558 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) in nlmsg_next()
655 static inline int __nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, in __nlmsg_parse()
682 static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse()
701 static inline int nlmsg_parse_deprecated(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse_deprecated()
[all …]
Dgenetlink.h175 static inline int genlmsg_parse_deprecated(const struct nlmsghdr *nlh, in genlmsg_parse_deprecated()
194 static inline int genlmsg_parse(const struct nlmsghdr *nlh, in genlmsg_parse()
342 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/linux/netfilter/
Dnfnetlink.h60 static inline void nfnl_fill_hdr(struct nlmsghdr *nlh, u8 family, u8 version, in nfnl_fill_hdr()
76 struct nlmsghdr *nlh; in nfnl_msg_put() local
/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.h182 const struct nlmsghdr *nlh; member
227 const struct nlmsghdr *nlh, in netlink_dump_start()