Searched refs:RTA_PAYLOAD (Results 1 – 6 of 6) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
D | priv_netlink.h | 73 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0)) macro
|
D | driver_nl80211.c | 1200 if (RTA_PAYLOAD(attr) > IFNAMSIZ) in wpa_driver_nl80211_event_rtm_newlink() 1202 os_memcpy(ifname, RTA_DATA(attr), RTA_PAYLOAD(attr)); in wpa_driver_nl80211_event_rtm_newlink() 1203 ifname[RTA_PAYLOAD(attr)] = '\0'; in wpa_driver_nl80211_event_rtm_newlink() 1375 if (RTA_PAYLOAD(attr) > IFNAMSIZ) in wpa_driver_nl80211_event_rtm_dellink() 1377 os_memcpy(ifname, RTA_DATA(attr), RTA_PAYLOAD(attr)); in wpa_driver_nl80211_event_rtm_dellink() 1378 ifname[RTA_PAYLOAD(attr)] = '\0'; in wpa_driver_nl80211_event_rtm_dellink()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
D | priv_netlink.h | 73 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0)) macro
|
D | driver_nl80211.c | 1068 if (RTA_PAYLOAD(attr) >= IFNAMSIZ) in wpa_driver_nl80211_event_rtm_newlink() 1070 os_memcpy(ifname, RTA_DATA(attr), RTA_PAYLOAD(attr)); in wpa_driver_nl80211_event_rtm_newlink() 1071 ifname[RTA_PAYLOAD(attr)] = '\0'; in wpa_driver_nl80211_event_rtm_newlink() 1243 if (RTA_PAYLOAD(attr) >= IFNAMSIZ) in wpa_driver_nl80211_event_rtm_dellink() 1245 os_memcpy(ifname, RTA_DATA(attr), RTA_PAYLOAD(attr)); in wpa_driver_nl80211_event_rtm_dellink() 1246 ifname[RTA_PAYLOAD(attr)] = '\0'; in wpa_driver_nl80211_event_rtm_dellink()
|
/third_party/libnl/include/linux-private/linux/ |
D | rtnetlink.h | 191 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0)) macro
|
/third_party/toybox/toys/pending/ |
D | ip.c | 1514 int32_t tvar = RTA_PAYLOAD(mxattr); in print_rta_metrics() 1854 msg->rtm_src_len = 8*RTA_PAYLOAD(attr[RTA_PREFSRC]); in route_get() 2111 RTA_METRICS, RTA_DATA(mxrta), RTA_PAYLOAD(mxrta)); in route_update()
|