Searched refs:rtattr (Results 1 – 7 of 7) sorted by relevance
27 struct rtattr;66 int (*create)(struct crypto_template *tmpl, struct rtattr **tb);127 struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb);128 int crypto_check_attr_type(struct rtattr **tb, u32 type, u32 *mask_ret);129 const char *crypto_attr_alg_name(struct rtattr *rta);
23 struct rtattr **tb);
18 struct rtattr;212 struct crypto_template *tmpl, struct rtattr **tb);
16 struct rtattr;
202 struct rtattr { struct211 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \ argument212 (rta)->rta_len >= sizeof(struct rtattr) && \215 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len)))216 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))388 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))429 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))639 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))780 #define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))))
68 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
368 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))