Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/drivers/
Dnetlink.c171 rta->rta_len = RTA_LENGTH(sizeof(char)); in netlink_send_oper_ifla()
174 RTA_LENGTH(sizeof(char)); in netlink_send_oper_ifla()
181 rta->rta_len = RTA_LENGTH(sizeof(char)); in netlink_send_oper_ifla()
184 RTA_LENGTH(sizeof(char)); in netlink_send_oper_ifla()
Dpriv_netlink.h70 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro
71 #define RTA_DATA(rta) ((void *) (((char *) (rta)) + RTA_LENGTH(0)))
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Dpriv_netlink.h67 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro
68 #define RTA_DATA(rta) ((void *) (((char *) (rta)) + RTA_LENGTH(0)))
Ddriver_wext.c76 rta->rta_len = RTA_LENGTH(sizeof(char)); in wpa_driver_wext_send_oper_ifla()
79 RTA_LENGTH(sizeof(char)); in wpa_driver_wext_send_oper_ifla()
85 rta->rta_len = RTA_LENGTH(sizeof(char)); in wpa_driver_wext_send_oper_ifla()
88 RTA_LENGTH(sizeof(char)); in wpa_driver_wext_send_oper_ifla()
Ddriver_nl80211.c248 rta->rta_len = RTA_LENGTH(sizeof(char)); in wpa_driver_nl80211_send_oper_ifla()
251 RTA_LENGTH(sizeof(char)); in wpa_driver_nl80211_send_oper_ifla()
257 rta->rta_len = RTA_LENGTH(sizeof(char)); in wpa_driver_nl80211_send_oper_ifla()
260 RTA_LENGTH(sizeof(char)); in wpa_driver_nl80211_send_oper_ifla()
/external/iproute2/include/linux/
Drtnetlink.h151 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro
152 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
153 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0)))
154 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
/external/kernel-headers/original/linux/
Drtnetlink.h151 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro
152 #define RTA_SPACE(len) RTA_ALIGN(RTA_LENGTH(len))
153 #define RTA_DATA(rta) ((void*)(((char*)(rta)) + RTA_LENGTH(0)))
154 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))
727 int size = RTA_LENGTH(attrlen); in __rta_reserve()
/external/iproute2/lib/
Dlibnetlink.c530 int len = RTA_LENGTH(4); in addattr32()
547 int len = RTA_LENGTH(alen); in addattr_l()
610 int len = RTA_LENGTH(4); in rta_addattr32()
629 int len = RTA_LENGTH(alen); in rta_addattr_l()
/external/dhcpcd/
Dif-linux.c422 int len = RTA_LENGTH(alen); in add_attr_l()
442 int len = RTA_LENGTH(sizeof(data)); in add_attr_32()
/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.c635 rta->rta_len = RTA_LENGTH(0); in parse_nexthops()
654 if (rta->rta_len > RTA_LENGTH(0)) in parse_nexthops()
696 mxrta->rta_len = RTA_LENGTH(0); in iproute_modify()
949 if (mxrta->rta_len > RTA_LENGTH(0)) { in iproute_modify()
/external/iproute2/misc/
Dss.c1513 rta.rta_len = RTA_LENGTH(bclen); in tcp_show_netlink()
1516 req.nlh.nlmsg_len += RTA_LENGTH(bclen); in tcp_show_netlink()