Home
last modified time | relevance | path

Searched refs:rtattr (Results 1 – 8 of 8) sorted by relevance

/include/crypto/
Dalgapi.h28 struct rtattr;
60 struct crypto_instance *(*alloc)(struct rtattr **tb);
62 int (*create)(struct crypto_template *tmpl, struct rtattr **tb);
169 struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb);
170 int crypto_check_attr_type(struct rtattr **tb, u32 type);
171 const char *crypto_attr_alg_name(struct rtattr *rta);
172 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta,
176 static inline struct crypto_alg *crypto_attr_alg(struct rtattr *rta, in crypto_attr_alg()
182 int crypto_attr_u32(struct rtattr *rta, u32 *num);
373 static inline struct crypto_alg *crypto_get_attr_alg(struct rtattr **tb, in crypto_get_attr_alg()
/include/uapi/linux/
Drtnetlink.h181 struct rtattr { struct
190 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \ argument
191 (rta)->rta_len >= sizeof(struct rtattr) && \
194 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len)))
195 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
358 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
397 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
601 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
740 #define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))))
Dif_addr.h68 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
Dif_link.h178 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
/include/crypto/internal/
Dgeniv.h23 struct rtattr **tb, u32 type, u32 mask);
Dskcipher.h17 struct rtattr;
250 skcipher_alloc_instance_simple(struct crypto_template *tmpl, struct rtattr **tb,
Dhash.h99 struct hash_alg_common *ahash_attr_alg(struct rtattr *rta, u32 type, u32 mask);
118 struct shash_alg *shash_attr_alg(struct rtattr *rta, u32 type, u32 mask);
Daead.h16 struct rtattr;