Home
last modified time | relevance | path

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

12

/linux-5.19.10/include/uapi/linux/
Drtnetlink.h211 struct rtattr { struct
220 #define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \ argument
221 (rta)->rta_len >= sizeof(struct rtattr) && \
224 (struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len)))
225 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
397 #define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
438 #define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
648 #define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
795 #define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))))
Dif_addr.h69 #define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
/linux-5.19.10/include/crypto/
Dalgapi.h32 struct rtattr;
71 int (*create)(struct crypto_template *tmpl, struct rtattr **tb);
132 struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb);
133 int crypto_check_attr_type(struct rtattr **tb, u32 type, u32 *mask_ret);
134 const char *crypto_attr_alg_name(struct rtattr *rta);
/linux-5.19.10/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c81 struct rtattr *attrs = (struct rtattr *)NLMSG_DATA(nh); in nl_error()
104 struct rtattr *attrs; in capture_events()
145 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); in capture_events()
239 struct rtattr *attrs; in genl_parse_getfamily()
240 struct rtattr *grps; in genl_parse_getfamily()
241 struct rtattr *grp; in genl_parse_getfamily()
259 attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN); in genl_parse_getfamily()
309 struct rtattr *rta; in resolve_mptcp_pm_netlink()
333 struct rtattr *rta, *addr; in dsf()
447 struct rtattr *addr; in csf()
[all …]
/linux-5.19.10/crypto/
Dalgboss.c24 struct rtattr *tb[CRYPTO_MAX_ATTRS + 2];
27 struct rtattr attr;
32 struct rtattr attr;
Ddh.c549 struct crypto_template *tmpl, struct rtattr **tb, in __dh_safe_prime_create()
832 struct rtattr **tb) in dh_ffdhe2048_create()
838 struct rtattr **tb) in dh_ffdhe3072_create()
844 struct rtattr **tb) in dh_ffdhe4096_create()
850 struct rtattr **tb) in dh_ffdhe6144_create()
856 struct rtattr **tb) in dh_ffdhe8192_create()
Decb.c62 static int crypto_ecb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ecb_create()
Dofb.c53 static int crypto_ofb_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ofb_create()
Dauthenc.c49 struct rtattr *rta = (struct rtattr *)key; in crypto_authenc_extractkeys()
373 struct rtattr **tb) in crypto_authenc_create()
Dccm.c447 struct rtattr **tb, in crypto_ccm_create_common()
531 static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ccm_create()
553 struct rtattr **tb) in crypto_ccm_base_create()
707 struct rtattr **tb) in crypto_rfc4309_create()
863 static int cbcmac_create(struct crypto_template *tmpl, struct rtattr **tb) in cbcmac_create()
Dctr.c127 static int crypto_ctr_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_ctr_create()
258 struct rtattr **tb) in crypto_rfc3686_create()
Dpcrypt.c232 static int pcrypt_create_aead(struct crypto_template *tmpl, struct rtattr **tb, in pcrypt_create_aead()
291 static int pcrypt_create(struct crypto_template *tmpl, struct rtattr **tb) in pcrypt_create()
Dgcm.c577 struct rtattr **tb, in crypto_gcm_create_common()
658 static int crypto_gcm_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_gcm_create()
675 struct rtattr **tb) in crypto_gcm_base_create()
828 struct rtattr **tb) in crypto_rfc4106_create()
1043 struct rtattr **tb) in crypto_rfc4543_create()
Dgeniv.c42 struct rtattr **tb) in aead_geniv_alloc()
Dechainiv.c113 struct rtattr **tb) in echainiv_aead_create()
Dkeywrap.c264 static int crypto_kw_create(struct crypto_template *tmpl, struct rtattr **tb) in crypto_kw_create()
Dchacha20poly1305.c555 static int chachapoly_create(struct crypto_template *tmpl, struct rtattr **tb, in chachapoly_create()
637 static int rfc7539_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539_create()
642 static int rfc7539esp_create(struct crypto_template *tmpl, struct rtattr **tb) in rfc7539esp_create()
Dseqiv.c136 static int seqiv_aead_create(struct crypto_template *tmpl, struct rtattr **tb) in seqiv_aead_create()
Dcryptd.c368 struct rtattr **tb, in cryptd_create_skcipher()
634 static int cryptd_create_hash(struct crypto_template *tmpl, struct rtattr **tb, in cryptd_create_hash()
821 struct rtattr **tb, in cryptd_create_aead()
877 static int cryptd_create(struct crypto_template *tmpl, struct rtattr **tb) in cryptd_create()
/linux-5.19.10/include/crypto/internal/
Dskcipher.h18 struct rtattr;
212 struct crypto_template *tmpl, struct rtattr **tb);
Dgeniv.h23 struct rtattr **tb);
Daead.h16 struct rtattr;
/linux-5.19.10/tools/testing/selftests/net/
Dtun.c74 struct rtattr *rta; in tun_delete()
90 rta = (struct rtattr *)(((char *)&req) + NLMSG_ALIGN(req.nh.nlmsg_len)); in tun_delete()
Dipsec.c171 static inline struct rtattr *rtattr_hdr(struct nlmsghdr *nh) in rtattr_hdr()
173 return (struct rtattr *)((char *)(nh) + RTA_ALIGN((nh)->nlmsg_len)); in rtattr_hdr()
180 struct rtattr *attr = rtattr_hdr(nh); in rtattr_pack()
196 static struct rtattr *_rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in _rtattr_begin()
199 struct rtattr *ret = rtattr_hdr(nh); in _rtattr_begin()
207 static inline struct rtattr *rtattr_begin(struct nlmsghdr *nh, size_t req_sz, in rtattr_begin()
213 static inline void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr) in rtattr_end()
224 struct rtattr *peer_attr; in veth_pack_peerb()
278 struct rtattr *link_info, *info_data; in veth_add()
1691 struct rtattr *attr = (void *)req.attrbuf; in xfrm_spdinfo_attrs()
/linux-5.19.10/samples/bpf/
Dxdp_router_ipv4_user.c95 struct rtattr *rt_attr; in read_route()
123 rt_attr = (struct rtattr *)RTM_RTA(rt_msg); in read_route()
318 struct rtattr *rt_attr; in read_arp()
335 rt_attr = (struct rtattr *)RTM_RTA(rt_msg); in read_arp()

12