Searched refs:RTA_PAYLOAD (Results 1 – 4 of 4) sorted by relevance
73 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0)) macro
1304 if (RTA_PAYLOAD(attr) > IFNAMSIZ) in wpa_driver_nl80211_event_rtm_newlink()1306 os_memcpy(ifname, RTA_DATA(attr), RTA_PAYLOAD(attr)); in wpa_driver_nl80211_event_rtm_newlink()1307 ifname[RTA_PAYLOAD(attr)] = '\0'; in wpa_driver_nl80211_event_rtm_newlink()1479 if (RTA_PAYLOAD(attr) > IFNAMSIZ) in wpa_driver_nl80211_event_rtm_dellink()1481 os_memcpy(ifname, RTA_DATA(attr), RTA_PAYLOAD(attr)); in wpa_driver_nl80211_event_rtm_dellink()1482 ifname[RTA_PAYLOAD(attr)] = '\0'; in wpa_driver_nl80211_event_rtm_dellink()
254 #define RTA_PAYLOAD(_rta) ((int)(_RTA_LEN(_rta) - NL_RTA_HDRLEN)) macro
650 size_t rtapayload = RTA_PAYLOAD(rta); in rk_getifaddrs()