Lines Matching refs:rtattr
211 static inline struct rtattr *rtattr_hdr(struct nlmsghdr *nh)
213 return (struct rtattr *)((char *)(nh) + RTA_ALIGN((nh)->nlmsg_len));
220 struct rtattr *attr = rtattr_hdr(nh);
237 static struct rtattr *_rtattr_begin(struct nlmsghdr *nh, size_t req_sz,
240 struct rtattr *ret = rtattr_hdr(nh);
248 static inline struct rtattr *rtattr_begin(struct nlmsghdr *nh, size_t req_sz,
254 static inline void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr)
265 struct rtattr *peer_attr;
319 struct rtattr *link_info, *info_data;
1682 struct rtattr *attr = (void *)req.attrbuf;