Home | History | Annotate | Download | only in include

Lines Matching refs:rtattr

56 extern struct rtattr *addattr_nest(struct nlmsghdr *n, int maxlen, int type);
57 extern int addattr_nest_end(struct nlmsghdr *n, struct rtattr *nest);
58 extern struct rtattr *addattr_nest_compat(struct nlmsghdr *n, int maxlen, int type, const void *data, int len);
59 extern int addattr_nest_compat_end(struct nlmsghdr *n, struct rtattr *nest);
60 extern int rta_addattr32(struct rtattr *rta, int maxlen, int type, __u32 data);
61 extern int rta_addattr_l(struct rtattr *rta, int maxlen, int type, const void *data, int alen);
63 extern int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len);
64 extern int parse_rtattr_byindex(struct rtattr *tb[], int max, struct rtattr *rta, int len);
65 extern int __parse_rtattr_nested_compat(struct rtattr *tb[], int max, struct rtattr *rta, int len);
80 ((struct rtattr *) (((void *) (nmsg)) + NLMSG_ALIGN((nmsg)->nlmsg_len)))
84 ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
92 ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
100 ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ndmsg))))
108 ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ndtmsg))))