/external/kernel-headers/original/linux/ |
D | rtnetlink.h | 149 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \ argument 625 extern void __rta_fill(struct sk_buff *skb, int attrtype, int attrlen, const void *data); 627 #define RTA_PUT(skb, attrtype, attrlen, data) \ argument 628 ({ if (unlikely(skb_tailroom(skb) < (int)RTA_SPACE(attrlen))) \ 630 __rta_fill(skb, attrtype, attrlen, data); }) 632 #define RTA_APPEND(skb, attrlen, data) \ argument 633 ({ if (unlikely(skb_tailroom(skb) < (int)(attrlen))) \ 635 memcpy(skb_put(skb, attrlen), data, attrlen); }) 637 #define RTA_PUT_NOHDR(skb, attrlen, data) \ argument 638 ({ RTA_APPEND(skb, RTA_ALIGN(attrlen), data); \ [all …]
|
/external/ppp/pppd/plugins/radius/ |
D | avpair.c | 20 static void rc_extract_vendor_specific_attributes(int attrlen, 157 int attrlen; in rc_avpair_gen() local 177 attrlen = *ptr++; in rc_avpair_gen() 178 attrlen -= 2; in rc_avpair_gen() 179 if (attrlen < 0) in rc_avpair_gen() 187 rc_extract_vendor_specific_attributes(attrlen, ptr, &vp); in rc_avpair_gen() 188 ptr += attrlen; in rc_avpair_gen() 189 length -= (attrlen + 2); in rc_avpair_gen() 195 for (x_ptr = ptr, x_len = attrlen ; in rc_avpair_gen() 203 attribute, attrlen, buffer); in rc_avpair_gen() [all …]
|
/external/kernel-headers/original/linux/netfilter/ |
D | nfnetlink.h | 58 #define NFA_NEXT(nfa,attrlen) ((attrlen) -= NFA_ALIGN((nfa)->nfa_len), \ argument 127 int attrlen, const void *data); 128 #define NFA_PUT(skb, attrtype, attrlen, data) \ argument 129 ({ if (skb_tailroom(skb) < (int)NFA_SPACE(attrlen)) goto nfattr_failure; \ 130 __nfa_fill(skb, attrtype, attrlen, data); })
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
D | priv_netlink.h | 64 #define RTA_NEXT(rta,attrlen) \ argument 65 ((attrlen) -= RTA_ALIGN((rta)->rta_len), \
|
D | driver_wext.c | 655 int attrlen, nlmsg_len, rta_len; in wpa_driver_wext_own_ifname() local 662 attrlen = h->nlmsg_len - nlmsg_len; in wpa_driver_wext_own_ifname() 663 if (attrlen < 0) in wpa_driver_wext_own_ifname() 669 while (RTA_OK(attr, attrlen)) { in wpa_driver_wext_own_ifname() 677 attr = RTA_NEXT(attr, attrlen); in wpa_driver_wext_own_ifname() 707 int attrlen, nlmsg_len, rta_len; in wpa_driver_wext_event_rtm_newlink() local 741 attrlen = h->nlmsg_len - nlmsg_len; in wpa_driver_wext_event_rtm_newlink() 742 if (attrlen < 0) in wpa_driver_wext_event_rtm_newlink() 748 while (RTA_OK(attr, attrlen)) { in wpa_driver_wext_event_rtm_newlink() 758 attr = RTA_NEXT(attr, attrlen); in wpa_driver_wext_event_rtm_newlink() [all …]
|
D | driver_nl80211.c | 749 int attrlen, _nlmsg_len, rta_len; in wpa_driver_nl80211_own_ifname() local 756 attrlen = h->nlmsg_len - _nlmsg_len; in wpa_driver_nl80211_own_ifname() 757 if (attrlen < 0) in wpa_driver_nl80211_own_ifname() 763 while (RTA_OK(attr, attrlen)) { in wpa_driver_nl80211_own_ifname() 771 attr = RTA_NEXT(attr, attrlen); in wpa_driver_nl80211_own_ifname() 801 int attrlen, _nlmsg_len, rta_len; in wpa_driver_nl80211_event_rtm_newlink() local 835 attrlen = h->nlmsg_len - _nlmsg_len; in wpa_driver_nl80211_event_rtm_newlink() 836 if (attrlen < 0) in wpa_driver_nl80211_event_rtm_newlink() 842 while (RTA_OK(attr, attrlen)) { in wpa_driver_nl80211_event_rtm_newlink() 853 attr = RTA_NEXT(attr, attrlen); in wpa_driver_nl80211_event_rtm_newlink() [all …]
|
D | driver_ralink.c | 754 int attrlen, nlmsg_len, rta_len; in wpa_driver_ralink_event_rtm_newlink() local 767 attrlen = h->nlmsg_len - nlmsg_len; in wpa_driver_ralink_event_rtm_newlink() 768 wpa_printf(MSG_DEBUG, "attrlen=%d", attrlen); in wpa_driver_ralink_event_rtm_newlink() 769 if (attrlen < 0) in wpa_driver_ralink_event_rtm_newlink() 776 while (RTA_OK(attr, attrlen)) { in wpa_driver_ralink_event_rtm_newlink() 784 attr = RTA_NEXT(attr, attrlen); in wpa_driver_ralink_event_rtm_newlink()
|
/external/wpa_supplicant/ |
D | priv_netlink.h | 64 #define RTA_NEXT(rta,attrlen) \ argument 65 ((attrlen) -= RTA_ALIGN((rta)->rta_len), \
|
D | driver_wext.c | 691 int attrlen, nlmsg_len, rta_len; in wpa_driver_wext_own_ifname() local 698 attrlen = h->nlmsg_len - nlmsg_len; in wpa_driver_wext_own_ifname() 699 if (attrlen < 0) in wpa_driver_wext_own_ifname() 705 while (RTA_OK(attr, attrlen)) { in wpa_driver_wext_own_ifname() 713 attr = RTA_NEXT(attr, attrlen); in wpa_driver_wext_own_ifname() 743 int attrlen, nlmsg_len, rta_len; in wpa_driver_wext_event_rtm_newlink() local 777 attrlen = h->nlmsg_len - nlmsg_len; in wpa_driver_wext_event_rtm_newlink() 778 if (attrlen < 0) in wpa_driver_wext_event_rtm_newlink() 784 while (RTA_OK(attr, attrlen)) { in wpa_driver_wext_event_rtm_newlink() 794 attr = RTA_NEXT(attr, attrlen); in wpa_driver_wext_event_rtm_newlink() [all …]
|
/external/ipsec-tools/src/racoon/ |
D | ipsec_doi.c | 2692 int trnslen, attrlen; local 2705 attrlen = setph1attr(sa, p); 2706 trnslen += attrlen; 2708 p += attrlen; 2722 int attrlen = 0; local 2727 attrlen += sizeof(struct isakmp_data) 2730 attrlen += sizeof(lifetime); 2748 attrlen += sizeof(struct isakmp_data) 2751 attrlen += sizeof(lifebyte); 2767 attrlen += sizeof(struct isakmp_data); [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | priv_netlink.h | 73 #define RTA_NEXT(rta,attrlen) \ argument 74 ((attrlen) -= RTA_ALIGN((rta)->rta_len), \
|
D | driver_wext.c | 603 int attrlen, rta_len; in wpa_driver_wext_own_ifname() local 606 attrlen = len; in wpa_driver_wext_own_ifname() 610 while (RTA_OK(attr, attrlen)) { in wpa_driver_wext_own_ifname() 618 attr = RTA_NEXT(attr, attrlen); in wpa_driver_wext_own_ifname() 647 int attrlen, rta_len; in wpa_driver_wext_event_rtm_newlink() local 688 attrlen = len; in wpa_driver_wext_event_rtm_newlink() 692 while (RTA_OK(attr, attrlen)) { in wpa_driver_wext_event_rtm_newlink() 702 attr = RTA_NEXT(attr, attrlen); in wpa_driver_wext_event_rtm_newlink() 711 int attrlen, rta_len; in wpa_driver_wext_event_rtm_dellink() local 714 attrlen = len; in wpa_driver_wext_event_rtm_dellink() [all …]
|
D | driver_ralink.c | 718 int attrlen, rta_len; in wpa_driver_ralink_event_rtm_newlink() local 725 attrlen = len; in wpa_driver_ralink_event_rtm_newlink() 726 wpa_printf(MSG_DEBUG, "attrlen=%d", attrlen); in wpa_driver_ralink_event_rtm_newlink() 731 while (RTA_OK(attr, attrlen)) { in wpa_driver_ralink_event_rtm_newlink() 739 attr = RTA_NEXT(attr, attrlen); in wpa_driver_ralink_event_rtm_newlink()
|
D | driver_atheros.c | 1057 int attrlen, rta_len; in atheros_wireless_event_rtm_newlink() local 1063 attrlen = len; in atheros_wireless_event_rtm_newlink() 1067 while (RTA_OK(attr, attrlen)) { in atheros_wireless_event_rtm_newlink() 1073 attr = RTA_NEXT(attr, attrlen); in atheros_wireless_event_rtm_newlink()
|
D | driver_hostap.c | 883 int attrlen, rta_len; in hostapd_wireless_event_rtm_newlink() local 889 attrlen = len; in hostapd_wireless_event_rtm_newlink() 893 while (RTA_OK(attr, attrlen)) { in hostapd_wireless_event_rtm_newlink() 899 attr = RTA_NEXT(attr, attrlen); in hostapd_wireless_event_rtm_newlink()
|
D | driver_madwifi.c | 979 int attrlen, rta_len; in madwifi_wireless_event_rtm_newlink() local 985 attrlen = len; in madwifi_wireless_event_rtm_newlink() 989 while (RTA_OK(attr, attrlen)) { in madwifi_wireless_event_rtm_newlink() 995 attr = RTA_NEXT(attr, attrlen); in madwifi_wireless_event_rtm_newlink()
|
D | driver_nl80211.c | 445 int attrlen, rta_len; in wpa_driver_nl80211_own_ifname() local 448 attrlen = len; in wpa_driver_nl80211_own_ifname() 452 while (RTA_OK(attr, attrlen)) { in wpa_driver_nl80211_own_ifname() 460 attr = RTA_NEXT(attr, attrlen); in wpa_driver_nl80211_own_ifname() 490 int attrlen, rta_len; in wpa_driver_nl80211_event_rtm_newlink() local 533 attrlen = len; in wpa_driver_nl80211_event_rtm_newlink() 536 while (RTA_OK(attr, attrlen)) { in wpa_driver_nl80211_event_rtm_newlink() 544 attr = RTA_NEXT(attr, attrlen); in wpa_driver_nl80211_event_rtm_newlink() 565 int attrlen, rta_len; in wpa_driver_nl80211_event_rtm_dellink() local 569 attrlen = len; in wpa_driver_nl80211_event_rtm_dellink() [all …]
|
/external/libnl-headers/netlink/ |
D | attr.h | 143 #define NLA_PUT(msg, attrtype, attrlen, data) \ argument 145 if (nla_put(msg, attrtype, attrlen, data) < 0) \
|
/external/wpa_supplicant_8/src/ap/ |
D | vlan_init.c | 580 int attrlen, nlmsg_len, rta_len; in vlan_read_ifnames() local 590 attrlen = h->nlmsg_len - nlmsg_len; in vlan_read_ifnames() 591 if (attrlen < 0) in vlan_read_ifnames() 597 while (RTA_OK(attr, attrlen)) { in vlan_read_ifnames() 617 attr = RTA_NEXT(attr, attrlen); in vlan_read_ifnames()
|
/external/iproute2/include/linux/ |
D | rtnetlink.h | 149 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \ argument
|
/external/bluetooth/bluez/plugins/ |
D | service.c | 131 int attrlen = strlen(attribute_values[i]); in element_start() local 134 while ((curlen + 1 + attrlen) > ctx_data->stack_head->size) { in element_start() 139 attribute_values[i], attrlen); in element_start() 140 ctx_data->stack_head->text[curlen + attrlen] = '\0'; in element_start()
|
/external/bluetooth/bluez/lib/ |
D | sdp.c | 1303 int attrlen = 0; in extract_seq() local 1304 curr = sdp_extract_attr(p, bufsize, &attrlen, rec); in extract_seq() 1313 p += attrlen; in extract_seq() 1314 n += attrlen; in extract_seq() 1315 bufsize -= attrlen; in extract_seq() 1420 int n = sizeof(uint8_t), attrlen = 0; in sdp_extract_pdu() local 1437 data = sdp_extract_attr(p + n, bufsize - n, &attrlen, rec); in sdp_extract_pdu() 1439 SDPDBG("Attr id : 0x%x attrValueLength : %d\n", attr, attrlen); in sdp_extract_pdu() 1441 n += attrlen; in sdp_extract_pdu()
|