Home
last modified time | relevance | path

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

12

/Linux-v5.4/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()
/Linux-v5.4/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))))
/Linux-v5.4/crypto/
Dalgboss.c24 struct rtattr *tb[CRYPTO_MAX_ATTRS + 2];
27 struct rtattr attr;
32 struct rtattr attr;
34 struct rtattr attr;
38 struct rtattr attr;
Dseqiv.c138 static int seqiv_aead_create(struct crypto_template *tmpl, struct rtattr **tb) in seqiv_aead_create()
173 static int seqiv_create(struct crypto_template *tmpl, struct rtattr **tb) in seqiv_create()
Dcbc.c51 static int crypto_cbc_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_cbc_create()
Decb.c61 static int crypto_ecb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ecb_create()
Dofb.c52 static int crypto_ofb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ofb_create()
Dalgapi.c761 struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb) in crypto_get_attr_type()
763 struct rtattr *rta = tb[0]; in crypto_get_attr_type()
779 int crypto_check_attr_type(struct rtattr **tb, u32 type) in crypto_check_attr_type()
794 const char *crypto_attr_alg_name(struct rtattr *rta) in crypto_attr_alg_name()
812 struct crypto_alg *crypto_attr_alg2(struct rtattr *rta, in crypto_attr_alg2()
826 int crypto_attr_u32(struct rtattr *rta, u32 *num) in crypto_attr_u32()
Dauthenc.c49 struct rtattr *rta = (struct rtattr *)key; in crypto_authenc_extractkeys()
383 struct rtattr **tb) in crypto_authenc_create()
Dccm.c455 struct rtattr **tb, in crypto_ccm_create_common()
564 static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ccm_create()
586 struct rtattr **tb) in crypto_ccm_base_create()
745 struct rtattr **tb) in crypto_rfc4309_create()
917 static int cbcmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cbcmac_create()
Dpcrypt.c214 static int pcrypt_create_aead(struct crypto_template *tmpl, struct rtattr **tb, in pcrypt_create_aead()
279 static int pcrypt_create(struct crypto_template *tmpl, struct rtattr **tb) in pcrypt_create()
Dcryptd.c194 static inline void cryptd_check_internal(struct rtattr **tb, u32 *type, in cryptd_check_internal()
397 struct rtattr **tb, in cryptd_create_skcipher()
669 static int cryptd_create_hash(struct crypto_template *tmpl, struct rtattr **tb, in cryptd_create_hash()
853 struct rtattr **tb, in cryptd_create_aead()
913 static int cryptd_create(struct crypto_template *tmpl, struct rtattr **tb) in cryptd_create()
Dctr.c126 static int crypto_ctr_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ctr_create()
263 struct rtattr **tb) in crypto_rfc3686_create()
Dechainiv.c113 struct rtattr **tb) in echainiv_aead_create()
Dkeywrap.c263 static int crypto_kw_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_kw_create()
Dchacha20poly1305.c562 static int chachapoly_create(struct crypto_template *tmpl, struct rtattr **tb, in chachapoly_create()
681 static int rfc7539_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539_create()
686 static int rfc7539esp_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539esp_create()
Dgcm.c583 struct rtattr **tb, in crypto_gcm_create_common()
692 static int crypto_gcm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_gcm_create()
709 struct rtattr **tb) in crypto_gcm_base_create()
867 struct rtattr **tb) in crypto_rfc4106_create()
1103 struct rtattr **tb) in crypto_rfc4543_create()
Dpcbc.c153 static int crypto_pcbc_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_pcbc_create()
Dcfb.c200 static int crypto_cfb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_cfb_create()
/Linux-v5.4/include/crypto/internal/
Dgeniv.h23 struct rtattr **tb, u32 type, u32 mask);
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);
Dskcipher.h17 struct rtattr;
280 skcipher_alloc_instance_simple(struct crypto_template *tmpl, struct rtattr **tb,
Daead.h16 struct rtattr;
/Linux-v5.4/samples/bpf/
Dxdp_router_ipv4_user.c126 struct rtattr *rt_attr; in read_route()
165 rt_attr = (struct rtattr *)RTM_RTA(rt_msg); in read_route()
379 struct rtattr *rt_attr; in read_arp()
399 rt_attr = (struct rtattr *)RTM_RTA(rt_msg); in read_arp()

12