Home
last modified time | relevance | path

Searched refs:RTA_LENGTH (Results 1 – 13 of 13) sorted by relevance

/external/wpa_supplicant_8/src/drivers/
Dpriv_netlink.h70 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro
71 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
72 #define RTA_DATA(rta) ((void *) (((char *) (rta)) + RTA_LENGTH(0)))
73 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0))
Dnetlink.c200 rta->rta_len = RTA_LENGTH(sizeof(char)); in netlink_send_oper_ifla()
209 rta->rta_len = RTA_LENGTH(sizeof(char)); in netlink_send_oper_ifla()
/external/libnl/include/linux/
Drtnetlink.h139 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro
140 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
141 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0)))
142 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h170 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro
171 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
172 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0)))
173 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
/external/iproute2/include/linux/
Drtnetlink.h170 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro
171 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
172 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0)))
173 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
/external/iproute2/lib/
Dlibnetlink.c126 req.ext_req.rta_len = RTA_LENGTH(sizeof(__u32)); in rtnl_wilddump_req_filter()
653 int len = RTA_LENGTH(alen); in addattr_l()
716 int len = RTA_LENGTH(4); in rta_addattr32()
735 int len = RTA_LENGTH(alen); in rta_addattr_l()
/external/iproute2/ip/
Dipntable.c90 parms_rta->rta_len = RTA_LENGTH(0); in ipntable_modify()
311 if (parms_rta->rta_len > RTA_LENGTH(0)) { in ipntable_modify()
Diproute.c793 rta->rta_len = RTA_LENGTH(0); in parse_nexthops()
812 if (rta->rta_len > RTA_LENGTH(0)) in parse_nexthops()
853 mxrta->rta_len = RTA_LENGTH(0); in iproute_modify()
1130 rta->rta_len = RTA_LENGTH(0); in iproute_modify()
1134 if (rta->rta_len > RTA_LENGTH(0)) in iproute_modify()
1180 if (mxrta->rta_len > RTA_LENGTH(0)) { in iproute_modify()
/external/dhcpcd-6.8.2/
Dif-linux.c820 if (hwaddr->rta_len == RTA_LENGTH(l)) in link_netlink()
879 unsigned short len = (unsigned short)RTA_LENGTH(alen); in add_attr_l()
901 unsigned short len = RTA_LENGTH(sizeof(data)); in add_attr_32()
1502 unsigned short len = RTA_LENGTH(sizeof(data)); in rta_add_attr_32()
1580 metrics->rta_len = RTA_LENGTH(0); in if_route6()
/external/iproute2/bridge/
Dfdb.c208 msg_size += RTA_LENGTH(4); in fdb_show()
/external/iproute2/misc/
Dss.c2115 rta.rta_len = RTA_LENGTH(bclen); in tcpdiag_send()
2118 req.nlh.nlmsg_len += RTA_LENGTH(bclen); in tcpdiag_send()
2174 rta.rta_len = RTA_LENGTH(bclen); in sockdiag_send()
2177 req.nlh.nlmsg_len += RTA_LENGTH(bclen); in sockdiag_send()
/external/toybox/toys/pending/
Dip.c430 int len = RTA_LENGTH(alen); in add_string_to_rtattr()
1925 mxrta->rta_len = RTA_LENGTH(0); in route_update()
1996 if (mxrta->rta_len > RTA_LENGTH(0)) { in route_update()
/external/webrtc/webrtc/test/channel_transport/
Dudp_transport_impl.cc2523 rta->rta_len = RTA_LENGTH(16); in LocalHostAddressIPV6()