Symbol: rtattr
crypto/adiantum.c
571
static int adiantum_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/algapi.c
856
struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb)
crypto/algapi.c
858
struct rtattr *rta = tb[0];
crypto/algapi.c
890
int crypto_check_attr_type(struct rtattr **tb, u32 type, u32 *mask_ret)
crypto/algapi.c
906
const char *crypto_attr_alg_name(struct rtattr *rta)
crypto/algboss.c
24
struct rtattr *tb[CRYPTO_MAX_ATTRS + 2];
crypto/algboss.c
27
struct rtattr attr;
crypto/algboss.c
32
struct rtattr attr;
crypto/authenc.c
360
struct rtattr **tb)
crypto/authenc.c
47
struct rtattr *rta = (struct rtattr *)key;
crypto/authencesn.c
366
struct rtattr **tb)
crypto/cbc.c
138
static int crypto_cbc_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/ccm.c
443
struct rtattr **tb,
crypto/ccm.c
525
static int crypto_ccm_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/ccm.c
547
struct rtattr **tb)
crypto/ccm.c
701
struct rtattr **tb)
crypto/ccm.c
847
static int cbcmac_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/chacha20poly1305.c
371
static int chachapoly_create(struct crypto_template *tmpl, struct rtattr **tb,
crypto/chacha20poly1305.c
452
static int rfc7539_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/chacha20poly1305.c
457
static int rfc7539esp_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/cmac.c
160
static int cmac_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/cryptd.c
380
struct rtattr **tb,
crypto/cryptd.c
650
static int cryptd_create_hash(struct crypto_template *tmpl, struct rtattr **tb,
crypto/cryptd.c
858
struct rtattr **tb,
crypto/cryptd.c
914
static int cryptd_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/ctr.c
127
static int crypto_ctr_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/ctr.c
258
struct rtattr **tb)
crypto/cts.c
324
static int crypto_cts_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/dh.c
546
struct crypto_template *tmpl, struct rtattr **tb,
crypto/dh.c
828
struct rtattr **tb)
crypto/dh.c
834
struct rtattr **tb)
crypto/dh.c
840
struct rtattr **tb)
crypto/dh.c
846
struct rtattr **tb)
crypto/dh.c
852
struct rtattr **tb)
crypto/ecb.c
149
static int crypto_ecb_create2(struct crypto_template *tmpl, struct rtattr **tb)
crypto/ecb.c
171
static int crypto_ecb_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/ecb.c
98
struct crypto_template *tmpl, struct rtattr **tb)
crypto/ecdsa-p1363.c
99
static int ecdsa_p1363_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/ecdsa-x962.c
176
static int ecdsa_x962_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/echainiv.c
101
struct rtattr **tb)
crypto/essiv.c
440
static int essiv_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/gcm.c
334
struct rtattr **tb, const char *ctr_name)
crypto/gcm.c
397
static int crypto_gcm_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/gcm.c
414
struct rtattr **tb)
crypto/gcm.c
576
struct rtattr **tb)
crypto/gcm.c
762
struct rtattr **tb)
crypto/geniv.c
41
struct rtattr **tb)
crypto/hctr2.c
325
static int hctr2_create_common(struct crypto_template *tmpl, struct rtattr **tb,
crypto/hctr2.c
415
static int hctr2_create_base(struct crypto_template *tmpl, struct rtattr **tb)
crypto/hctr2.c
434
static int hctr2_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/hmac.c
169
struct rtattr **tb, u32 mask)
crypto/hmac.c
418
static int hmac_create_ahash(struct crypto_template *tmpl, struct rtattr **tb,
crypto/hmac.c
488
static int hmac_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/hmac.c
510
static int hmac_create_shash(struct crypto_template *tmpl, struct rtattr **tb)
crypto/krb5/rfc3961_simplified.c
440
struct rtattr *rta;
crypto/krb5/rfc3961_simplified.c
481
struct rtattr *rta;
crypto/krb5enc.c
410
static int krb5enc_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/krb5enc.c
59
struct rtattr *rta = (struct rtattr *)key;
crypto/lrw.c
299
static int lrw_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/lskcipher.c
478
struct crypto_template *tmpl, struct rtattr **tb)
crypto/pcrypt.c
244
static int pcrypt_create_aead(struct crypto_template *tmpl, struct rtattr **tb,
crypto/pcrypt.c
303
static int pcrypt_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/rsa-pkcs1pad.c
310
static int pkcs1pad_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/rsassa-pkcs1.c
355
static int rsassa_pkcs1_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/seqiv.c
126
static int seqiv_aead_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/skcipher.c
832
struct crypto_template *tmpl, struct rtattr **tb)
crypto/xcbc.c
127
static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/xctr.c
131
static int crypto_xctr_create(struct crypto_template *tmpl, struct rtattr **tb)
crypto/xts.c
340
static int xts_create(struct crypto_template *tmpl, struct rtattr **tb)
drivers/md/dm-crypt.c
2375
struct rtattr *rta;
drivers/md/dm-crypt.c
2377
rta = (struct rtattr *)p;
include/crypto/algapi.h
158
struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb);
include/crypto/algapi.h
159
int crypto_check_attr_type(struct rtattr **tb, u32 type, u32 *mask_ret);
include/crypto/algapi.h
160
const char *crypto_attr_alg_name(struct rtattr *rta);
include/crypto/algapi.h
53
struct rtattr;
include/crypto/algapi.h
82
int (*create)(struct crypto_template *tmpl, struct rtattr **tb);
include/crypto/internal/aead.h
16
struct rtattr;
include/crypto/internal/geniv.h
20
struct rtattr **tb);
include/crypto/internal/skcipher.h
25
struct rtattr;
include/crypto/internal/skcipher.h
285
struct crypto_template *tmpl, struct rtattr **tb);
include/crypto/internal/skcipher.h
304
struct crypto_template *tmpl, struct rtattr **tb);
include/uapi/linux/if_addr.h
69
#define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
include/uapi/linux/if_link.h
401
#define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
include/uapi/linux/rtnetlink.h
228
#define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \
include/uapi/linux/rtnetlink.h
229
(rta)->rta_len >= sizeof(struct rtattr) && \
include/uapi/linux/rtnetlink.h
232
(struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len)))
include/uapi/linux/rtnetlink.h
233
#define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
include/uapi/linux/rtnetlink.h
407
#define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
include/uapi/linux/rtnetlink.h
448
#define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
include/uapi/linux/rtnetlink.h
663
#define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
include/uapi/linux/rtnetlink.h
817
#define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))))
net/ipv4/esp4.c
1022
struct rtattr *rta;
net/ipv6/esp6.c
1059
struct rtattr *rta;
samples/bpf/xdp_router_ipv4_user.c
123
rt_attr = (struct rtattr *)RTM_RTA(rt_msg);
samples/bpf/xdp_router_ipv4_user.c
318
struct rtattr *rt_attr;
samples/bpf/xdp_router_ipv4_user.c
335
rt_attr = (struct rtattr *)RTM_RTA(rt_msg);
samples/bpf/xdp_router_ipv4_user.c
95
struct rtattr *rt_attr;
tools/include/uapi/linux/if_addr.h
69
#define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
tools/include/uapi/linux/if_link.h
398
#define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
tools/include/uapi/linux/rtnetlink.h
228
#define RTA_OK(rta,len) ((len) >= (int)sizeof(struct rtattr) && \
tools/include/uapi/linux/rtnetlink.h
229
(rta)->rta_len >= sizeof(struct rtattr) && \
tools/include/uapi/linux/rtnetlink.h
232
(struct rtattr*)(((char*)(rta)) + RTA_ALIGN((rta)->rta_len)))
tools/include/uapi/linux/rtnetlink.h
233
#define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len))
tools/include/uapi/linux/rtnetlink.h
407
#define RTM_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct rtmsg))))
tools/include/uapi/linux/rtnetlink.h
448
#define RTNH_DATA(rtnh) ((struct rtattr*)(((char*)(rtnh)) + RTNH_LENGTH(0)))
tools/include/uapi/linux/rtnetlink.h
663
#define TCA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcmsg))))
tools/include/uapi/linux/rtnetlink.h
817
#define TA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct tcamsg))))
tools/testing/selftests/bpf/netlink_helpers.c
316
struct rtattr *rta;
tools/testing/selftests/bpf/netlink_helpers.c
346
struct rtattr *addattr_nest(struct nlmsghdr *n, int maxlen, int type)
tools/testing/selftests/bpf/netlink_helpers.c
348
struct rtattr *nest = NLMSG_TAIL(n);
tools/testing/selftests/bpf/netlink_helpers.c
354
int addattr_nest_end(struct nlmsghdr *n, struct rtattr *nest)
tools/testing/selftests/bpf/netlink_helpers.h
24
((struct rtattr *) (((void *) (nmsg)) + NLMSG_ALIGN((nmsg)->nlmsg_len)))
tools/testing/selftests/bpf/netlink_helpers.h
44
struct rtattr *addattr_nest(struct nlmsghdr *n, int maxlen, int type);
tools/testing/selftests/bpf/netlink_helpers.h
45
int addattr_nest_end(struct nlmsghdr *n, struct rtattr *nest);
tools/testing/selftests/bpf/prog_tests/tc_netkit.c
48
struct rtattr *linkinfo, *data;
tools/testing/selftests/bpf/prog_tests/tc_redirect.c
166
struct rtattr *linkinfo, *data, *peer_info;
tools/testing/selftests/bpf/prog_tests/xfrm_info.c
171
static struct rtattr *rtattr_add(struct nlmsghdr *nh, unsigned short type,
tools/testing/selftests/bpf/prog_tests/xfrm_info.c
174
struct rtattr *rta =
tools/testing/selftests/bpf/prog_tests/xfrm_info.c
175
(struct rtattr *)((uint8_t *)nh + RTA_ALIGN(nh->nlmsg_len));
tools/testing/selftests/bpf/prog_tests/xfrm_info.c
182
static struct rtattr *rtattr_add_str(struct nlmsghdr *nh, unsigned short type,
tools/testing/selftests/bpf/prog_tests/xfrm_info.c
185
struct rtattr *rta = rtattr_add(nh, type, strlen(s));
tools/testing/selftests/bpf/prog_tests/xfrm_info.c
191
static struct rtattr *rtattr_begin(struct nlmsghdr *nh, unsigned short type)
tools/testing/selftests/bpf/prog_tests/xfrm_info.c
196
static void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr)
tools/testing/selftests/bpf/prog_tests/xfrm_info.c
210
struct rtattr *link_info, *info_data;
tools/testing/selftests/bpf/xsk.c
396
struct rtattr *rta;
tools/testing/selftests/bpf/xsk.c
409
rta = (struct rtattr *)(((char *)&req) + NLMSG_ALIGN(req.nh.nlmsg_len));
tools/testing/selftests/net/af_unix/diag_uid.c
120
struct rtattr *attr;
tools/testing/selftests/net/af_unix/diag_uid.c
126
attr = (struct rtattr *)(udr + 1);
tools/testing/selftests/net/forwarding/ipmr.c
116
static struct rtattr *nl_add_rtattr(struct nlmsghdr *nlmsg, struct rtattr *rta,
tools/testing/selftests/net/forwarding/ipmr.c
157
struct rtattr *rta;
tools/testing/selftests/net/forwarding/ipmr.c
160
rta = (struct rtattr *)&req.buf;
tools/testing/selftests/net/ipsec.c
1682
struct rtattr *attr = (void *)req.attrbuf;
tools/testing/selftests/net/ipsec.c
211
static inline struct rtattr *rtattr_hdr(struct nlmsghdr *nh)
tools/testing/selftests/net/ipsec.c
213
return (struct rtattr *)((char *)(nh) + RTA_ALIGN((nh)->nlmsg_len));
tools/testing/selftests/net/ipsec.c
220
struct rtattr *attr = rtattr_hdr(nh);
tools/testing/selftests/net/ipsec.c
237
static struct rtattr *_rtattr_begin(struct nlmsghdr *nh, size_t req_sz,
tools/testing/selftests/net/ipsec.c
240
struct rtattr *ret = rtattr_hdr(nh);
tools/testing/selftests/net/ipsec.c
248
static inline struct rtattr *rtattr_begin(struct nlmsghdr *nh, size_t req_sz,
tools/testing/selftests/net/ipsec.c
254
static inline void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr)
tools/testing/selftests/net/ipsec.c
265
struct rtattr *peer_attr;
tools/testing/selftests/net/ipsec.c
319
struct rtattr *link_info, *info_data;
tools/testing/selftests/net/mptcp/mptcp_diag.c
124
struct rtattr rta_proto;
tools/testing/selftests/net/mptcp/mptcp_diag.c
159
static void parse_rtattr_flags(struct rtattr *tb[], int max, struct rtattr *rta,
tools/testing/selftests/net/mptcp/mptcp_diag.c
164
memset(tb, 0, sizeof(struct rtattr *) * (max + 1));
tools/testing/selftests/net/mptcp/mptcp_diag.c
209
static void print_subflow_info(struct rtattr *tb[])
tools/testing/selftests/net/mptcp/mptcp_diag.c
268
struct rtattr *tb[INET_DIAG_MAX + 1];
tools/testing/selftests/net/mptcp/mptcp_diag.c
270
parse_rtattr_flags(tb, INET_DIAG_MAX, (struct rtattr *)(r + 1),
tools/testing/selftests/net/mptcp/mptcp_diag.c
289
struct rtattr *ulpinfo[INET_ULP_INFO_MAX + 1] = { 0 };
tools/testing/selftests/net/mptcp/mptcp_diag.c
295
struct rtattr *sfinfo[MPTCP_SUBFLOW_ATTR_MAX + 1] = { 0 };
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
107
struct rtattr *attrs;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1084
struct rtattr *attrs;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1097
attrs = (struct rtattr *) ((char *) NLMSG_DATA(nh) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1114
struct rtattr *rta, *nest;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1169
struct rtattr *rta;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1219
struct rtattr *attrs;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1233
attrs = (struct rtattr *) ((char *) NLMSG_DATA(nh) +
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1277
struct rtattr *rta = (void *)(data + off);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
1353
struct rtattr *rta, *nest;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
150
attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
258
struct rtattr *attrs;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
259
struct rtattr *grps;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
260
struct rtattr *grp;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
278
attrs = (struct rtattr *) ((char *) ghdr + GENL_HDRLEN);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
328
struct rtattr *rta;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
352
struct rtattr *rta, *addr;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
467
struct rtattr *addr;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
468
struct rtattr *rta;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
599
struct rtattr *rta;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
649
struct rtattr *rta, *addr;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
774
struct rtattr *rta, *nest;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
80
struct rtattr *attrs = (struct rtattr *)NLMSG_DATA(nh);
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
909
struct rtattr *rta, *nest;
tools/testing/selftests/net/mptcp/pm_nl_ctl.c
972
static void print_addr(struct rtattr *attrs, int len)
tools/testing/selftests/net/ovpn/ovpn-cli.c
1085
struct rtattr *rta;
tools/testing/selftests/net/ovpn/ovpn-cli.c
1107
static struct rtattr *ovpn_nest_start(struct nlmsghdr *msg, size_t max_size,
tools/testing/selftests/net/ovpn/ovpn-cli.c
1110
struct rtattr *nest = nlmsg_tail(msg);
tools/testing/selftests/net/ovpn/ovpn-cli.c
1118
static void ovpn_nest_end(struct nlmsghdr *msg, struct rtattr *nest)
tools/testing/selftests/net/ovpn/ovpn-cli.c
1376
struct rtattr *linkinfo, *data;
tools/testing/selftests/net/tap.c
33
static struct rtattr *rtattr_add(struct nlmsghdr *nh, unsigned short type,
tools/testing/selftests/net/tap.c
36
struct rtattr *rta =
tools/testing/selftests/net/tap.c
37
(struct rtattr *)((uint8_t *)nh + RTA_ALIGN(nh->nlmsg_len));
tools/testing/selftests/net/tap.c
44
static struct rtattr *rtattr_begin(struct nlmsghdr *nh, unsigned short type)
tools/testing/selftests/net/tap.c
49
static void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr)
tools/testing/selftests/net/tap.c
56
static struct rtattr *rtattr_add_str(struct nlmsghdr *nh, unsigned short type,
tools/testing/selftests/net/tap.c
60
struct rtattr *rta;
tools/testing/selftests/net/tap.c
68
static struct rtattr *rtattr_add_any(struct nlmsghdr *nh, unsigned short type,
tools/testing/selftests/net/tap.c
71
struct rtattr *rta = rtattr_add(nh, type, len);
tools/testing/selftests/net/tap.c
86
struct rtattr *link_info, *info_data;
tools/testing/selftests/net/tcp_ao/lib/netlink.c
102
static inline void rtattr_end(struct nlmsghdr *nh, struct rtattr *attr)
tools/testing/selftests/net/tcp_ao/lib/netlink.c
113
struct rtattr *peer_attr;
tools/testing/selftests/net/tcp_ao/lib/netlink.c
144
struct rtattr *link_info, *info_data;
tools/testing/selftests/net/tcp_ao/lib/netlink.c
358
struct rtattr *link_info, *info_data;
tools/testing/selftests/net/tcp_ao/lib/netlink.c
60
static inline struct rtattr *rtattr_hdr(struct nlmsghdr *nh)
tools/testing/selftests/net/tcp_ao/lib/netlink.c
62
return (struct rtattr *)((char *)(nh) + RTA_ALIGN((nh)->nlmsg_len));
tools/testing/selftests/net/tcp_ao/lib/netlink.c
69
struct rtattr *attr = rtattr_hdr(nh);
tools/testing/selftests/net/tcp_ao/lib/netlink.c
85
static struct rtattr *_rtattr_begin(struct nlmsghdr *nh, size_t req_sz,
tools/testing/selftests/net/tcp_ao/lib/netlink.c
88
struct rtattr *ret = rtattr_hdr(nh);
tools/testing/selftests/net/tcp_ao/lib/netlink.c
96
static inline struct rtattr *rtattr_begin(struct nlmsghdr *nh, size_t req_sz,