Home
last modified time | relevance | path

Searched refs:RTA_SPACE (Results 1 – 6 of 6) sorted by relevance

/openbmc/phosphor-networkd/test/
H A Dtest_netlink.cpp246 std::string_view data(reinterpret_cast<char*>(&rta), RTA_SPACE(0)); in TEST()
249 EXPECT_EQ(RTA_SPACE(0), data.size()); in TEST()
256 std::string_view data(reinterpret_cast<char*>(&rta), RTA_SPACE(0)); in TEST()
259 EXPECT_EQ(RTA_SPACE(0), data.size()); in TEST()
266 std::string_view data(reinterpret_cast<char*>(&rta), RTA_SPACE(0)); in TEST()
281 char buf[RTA_SPACE(sizeof(attrbuf)) + sizeof(nextbuf)]; in TEST()
284 memcpy(buf + RTA_SPACE(sizeof(attrbuf)), &nextbuf, sizeof(nextbuf)); in TEST()
H A Dmock_syscall.cpp81 msgBuf.append(RTA_SPACE(data.size()), '\0'); in appendRTAttr()
/openbmc/linux/include/uapi/linux/
H A Drtnetlink.h226 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len)) macro
/openbmc/linux/net/ipv4/
H A Desp4.c1093 (x->ealg->alg_key_len + 7) / 8 + RTA_SPACE(sizeof(*param)); in esp_init_authenc()
1104 p += RTA_SPACE(sizeof(*param)); in esp_init_authenc()
/openbmc/linux/net/ipv6/
H A Desp6.c1136 (x->ealg->alg_key_len + 7) / 8 + RTA_SPACE(sizeof(*param)); in esp_init_authenc()
1147 p += RTA_SPACE(sizeof(*param)); in esp_init_authenc()
/openbmc/linux/drivers/md/
H A Ddm-crypt.c2421 return crypt_subkey_size(cc) + RTA_SPACE(sizeof(struct crypto_authenc_key_param)); in crypt_authenckey_size()
2440 p += RTA_SPACE(sizeof(*param)); in crypt_copy_authenckey()