Searched refs:RTA_LENGTH (Results 1 – 12 of 12) sorted by relevance
171 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()
70 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro71 #define RTA_DATA(rta) ((void *) (((char *) (rta)) + RTA_LENGTH(0)))
67 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro68 #define RTA_DATA(rta) ((void *) (((char *) (rta)) + RTA_LENGTH(0)))
76 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()
248 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()
151 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro152 #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))
151 #define RTA_LENGTH(len) (RTA_ALIGN(sizeof(struct rtattr)) + (len)) macro152 #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()
530 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()
422 int len = RTA_LENGTH(alen); in add_attr_l()442 int len = RTA_LENGTH(sizeof(data)); in add_attr_32()
90 parms_rta->rta_len = RTA_LENGTH(0); in ipntable_modify()311 if (parms_rta->rta_len > RTA_LENGTH(0)) { in ipntable_modify()
635 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()
1513 rta.rta_len = RTA_LENGTH(bclen); in tcp_show_netlink()1516 req.nlh.nlmsg_len += RTA_LENGTH(bclen); in tcp_show_netlink()