Searched defs:nlh (Results 1 – 6 of 6) sorted by relevance
/include/net/ |
A D | netlink.h | 494 struct nlmsghdr *nlh; member 608 static inline void *nlmsg_data(const struct nlmsghdr *nlh) in nlmsg_data() 617 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len() 665 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok() 681 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) in nlmsg_next() 805 static inline int nlmsg_parse(const struct nlmsghdr *nlh, int hdrlen, in nlmsg_parse() 944 static inline int nlmsg_report(const struct nlmsghdr *nlh) in nlmsg_report() 955 static inline u32 nlmsg_seq(const struct nlmsghdr *nlh) in nlmsg_seq() 967 #define nlmsg_for_each_attr(pos, nlh, hdrlen, rem) \ argument 979 #define nlmsg_for_each_attr_type(pos, type, nlh, hdrlen, rem) \ argument [all …]
|
A D | genetlink.h | 387 static inline int genlmsg_parse_deprecated(const struct nlmsghdr *nlh, in genlmsg_parse_deprecated() 406 static inline int genlmsg_parse(const struct nlmsghdr *nlh, in genlmsg_parse() 581 struct nlmsghdr *nlh = (struct nlmsghdr *)((unsigned char *)gnlh - in genlmsg_len() local
|
A D | rtnetlink.h | 64 static inline int rtnl_msg_family(const struct nlmsghdr *nlh) in rtnl_msg_family()
|
/include/linux/netfilter/ |
A D | nfnetlink.h | 13 const struct nlmsghdr *nlh; member 67 static inline void nfnl_fill_hdr(struct nlmsghdr *nlh, u8 family, u8 version, in nfnl_fill_hdr() 83 struct nlmsghdr *nlh; in nfnl_msg_put() local
|
/include/uapi/linux/ |
A D | netlink.h | 103 #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/ |
A D | netlink.h | 283 const struct nlmsghdr *nlh; member 335 const struct nlmsghdr *nlh, in netlink_dump_start()
|
Completed in 44 milliseconds