Searched refs:RTA_LENGTH (Results 1 – 15 of 15) sorted by relevance
423 rta->rta_len = RTA_LENGTH(2); in dsf()431 rta->rta_len = RTA_LENGTH(2); in dsf()442 rta->rta_len = RTA_LENGTH(4); in dsf()537 rta->rta_len = RTA_LENGTH(2); in csf()568 rta->rta_len = RTA_LENGTH(4); in csf()674 rta->rta_len = RTA_LENGTH(2); in announce_addr()732 rta->rta_len = RTA_LENGTH(4); in announce_addr()744 rta->rta_len = RTA_LENGTH(4); in announce_addr()798 rta->rta_len = RTA_LENGTH(2); in add_addr()919 rta->rta_len = RTA_LENGTH(1); in del_addr()[all …]
51 msg.addr_hdr.rta_len = RTA_LENGTH(sizeof(msg.addr)); in TEST()53 msg.name_hdr.rta_len = RTA_LENGTH(sizeof(msg.name)); in TEST()55 msg.mtu_hdr.rta_len = RTA_LENGTH(sizeof(msg.mtu)); in TEST()92 msg.addr_hdr.rta_len = RTA_LENGTH(sizeof(msg.addr)); in TEST()113 msg.flags_hdr.rta_len = RTA_LENGTH(sizeof(msg.flags)); in TEST()115 msg.addr_hdr.rta_len = RTA_LENGTH(sizeof(msg.addr)); in TEST()142 msg.addr_hdr.rta_len = RTA_LENGTH(sizeof(msg.addr)); in TEST()162 msg.addr_hdr.rta_len = RTA_LENGTH(sizeof(msg.addr)); in TEST()164 msg.mac_hdr.rta_len = RTA_LENGTH(sizeof(msg.mac)); in TEST()
245 rta.rta_len = RTA_LENGTH(0) - 1; in TEST()255 rta.rta_len = RTA_LENGTH(0) + 1; in TEST()265 rta.rta_len = RTA_LENGTH(0); in TEST()279 rta.rta_len = RTA_LENGTH(sizeof(attrbuf)); in TEST()
83 rta.rta_len = RTA_LENGTH(data.size()); in appendRTAttr()86 msgBuf.data() + rta_begin + RTA_LENGTH(0)); in appendRTAttr()
366 NLMSG_ALIGN(RTA_LENGTH(sizeof(addr6))) + in set_route_mtu()367 NLMSG_ALIGN(RTA_LENGTH(sizeof(int))) + in set_route_mtu()368 NLMSG_ALIGN(RTA_LENGTH(0) + RTA_LENGTH(sizeof(int)))]; in set_route_mtu()395 rta->rta_len = RTA_LENGTH(alen); in set_route_mtu()404 rta->rta_len = RTA_LENGTH(sizeof(int)); in set_route_mtu()411 rta->rta_len = RTA_LENGTH(0) + RTA_LENGTH(sizeof(int)); in set_route_mtu()415 rta = (void *)(((char *) rta) + RTA_LENGTH(0)); in set_route_mtu()417 rta->rta_len = RTA_LENGTH(sizeof(int)); in set_route_mtu()
92 rta->rta_len = RTA_LENGTH(IFNAMSIZ); in tun_delete()
39 rta->rta_len = RTA_LENGTH(len); in rtattr_add()
220 size_t nl_size = RTA_ALIGN(nh->nlmsg_len) + RTA_LENGTH(size); in rtattr_pack()228 attr->rta_len = RTA_LENGTH(size); in rtattr_pack()
186 if (hdr.rta_len < RTA_LENGTH(0)) in extractRtAttr()189 "rtattr shorter than header: {} < {}", hdr.rta_len, RTA_LENGTH(0))); in extractRtAttr()197 auto attr = data.substr(RTA_LENGTH(0), hdr.rta_len - RTA_LENGTH(0)); in extractRtAttr()
225 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro226 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))227 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0)))228 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
177 rta->rta_len = RTA_LENGTH(len); in rtattr_add()
408 rta->rta_len = RTA_LENGTH(sizeof(unsigned int)); in xsk_set_mtu()409 req.nh.nlmsg_len = NLMSG_ALIGN(req.nh.nlmsg_len) + RTA_LENGTH(sizeof(mtu)); in xsk_set_mtu()
1145 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
1102 rta->rta_len = RTA_LENGTH(sizeof(*param)); in esp_init_authenc()
2438 rta->rta_len = RTA_LENGTH(sizeof(*param)); in crypt_copy_authenckey()