/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/libnl/lib/ |
D | attr.c | 456 struct nlattr *nla_reserve(struct nl_msg *msg, int attrtype, int attrlen) in nla_reserve() argument 461 if (attrlen < 0) in nla_reserve() 464 tlen = NLMSG_ALIGN(msg->nm_nlh->nlmsg_len) + nla_total_size(attrlen); in nla_reserve() 471 nla->nla_len = nla_attr_size(attrlen); in nla_reserve() 473 if (attrlen) in nla_reserve() 474 memset((unsigned char *) nla + nla->nla_len, 0, nla_padlen(attrlen)); in nla_reserve() 479 nla_total_size(attrlen), attrlen, in nla_reserve()
|
D | msg.c | 872 static void dump_attrs(FILE *ofd, struct nlattr *attrs, int attrlen, in dump_attrs() argument 878 nla_for_each_attr(nla, attrs, attrlen, rem) { in dump_attrs() 936 int attrlen = 0; in print_msg() local 943 attrlen = nlmsg_attrlen(hdr, ops->co_hdrsize); in print_msg() 944 payloadlen -= attrlen; in print_msg() 955 if (attrlen) { in print_msg() 957 int attrlen; in print_msg() local 960 attrlen = nlmsg_attrlen(hdr, ops->co_hdrsize); in print_msg() 961 dump_attrs(ofd, attrs, attrlen, 0); in print_msg()
|
/external/ipsec-tools/src/racoon/ |
D | ipsec_doi.c | 2730 int trnslen, attrlen; local 2743 attrlen = setph1attr(sa, p); 2744 trnslen += attrlen; 2746 p += attrlen; 2760 int attrlen = 0; local 2765 attrlen += sizeof(struct isakmp_data) 2768 attrlen += sizeof(lifetime); 2786 attrlen += sizeof(struct isakmp_data) 2789 attrlen += sizeof(lifebyte); 2805 attrlen += sizeof(struct isakmp_data); [all …]
|
/external/libnfnetlink/include/libnfnetlink/ |
D | linux_nfnetlink_compat.h | 38 #define NFA_NEXT(nfa,attrlen) ((attrlen) -= NFA_ALIGN((nfa)->nfa_len), \ argument
|
/external/libnl/include/linux-private/linux/netfilter/ |
D | nfnetlink_compat.h | 40 #define NFA_NEXT(nfa,attrlen) ((attrlen) -= NFA_ALIGN((nfa)->nfa_len), \ argument
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
D | nfnetlink_compat.h | 41 #define NFA_NEXT(nfa,attrlen) ((attrlen) -= NFA_ALIGN((nfa)->nfa_len), \ argument
|
/external/wpa_supplicant_8/src/drivers/ |
D | priv_netlink.h | 67 #define RTA_NEXT(rta,attrlen) \ argument 68 ((attrlen) -= RTA_ALIGN((rta)->rta_len), \
|
D | driver_wext.c | 582 int attrlen, rta_len; in wpa_driver_wext_own_ifname() local 585 attrlen = len; in wpa_driver_wext_own_ifname() 589 while (RTA_OK(attr, attrlen)) { in wpa_driver_wext_own_ifname() 597 attr = RTA_NEXT(attr, attrlen); in wpa_driver_wext_own_ifname() 626 int attrlen, rta_len; in wpa_driver_wext_event_rtm_newlink() local 684 attrlen = len; in wpa_driver_wext_event_rtm_newlink() 688 while (RTA_OK(attr, attrlen)) { in wpa_driver_wext_event_rtm_newlink() 698 attr = RTA_NEXT(attr, attrlen); in wpa_driver_wext_event_rtm_newlink() 707 int attrlen, rta_len; in wpa_driver_wext_event_rtm_dellink() local 710 attrlen = len; in wpa_driver_wext_event_rtm_dellink() [all …]
|
D | driver_hostap.c | 870 int attrlen, rta_len; in hostapd_wireless_event_rtm_newlink() local 876 attrlen = len; in hostapd_wireless_event_rtm_newlink() 880 while (RTA_OK(attr, attrlen)) { in hostapd_wireless_event_rtm_newlink() 886 attr = RTA_NEXT(attr, attrlen); in hostapd_wireless_event_rtm_newlink()
|
D | driver_atheros.c | 1519 int attrlen, rta_len; in atheros_wireless_event_rtm_newlink() local 1525 attrlen = len; in atheros_wireless_event_rtm_newlink() 1529 while (RTA_OK(attr, attrlen)) { in atheros_wireless_event_rtm_newlink() 1535 attr = RTA_NEXT(attr, attrlen); in atheros_wireless_event_rtm_newlink()
|
D | driver_nl80211.c | 882 int attrlen, rta_len; in wpa_driver_nl80211_own_ifname() local 885 attrlen = len; in wpa_driver_nl80211_own_ifname() 889 while (RTA_OK(attr, attrlen)) { in wpa_driver_nl80211_own_ifname() 897 attr = RTA_NEXT(attr, attrlen); in wpa_driver_nl80211_own_ifname() 979 int attrlen; in wpa_driver_nl80211_event_rtm_newlink() local 992 attrlen = len; in wpa_driver_nl80211_event_rtm_newlink() 994 while (RTA_OK(attr, attrlen)) { in wpa_driver_nl80211_event_rtm_newlink() 1018 attr = RTA_NEXT(attr, attrlen); in wpa_driver_nl80211_event_rtm_newlink() 1148 int attrlen; in wpa_driver_nl80211_event_rtm_dellink() local 1159 attrlen = len; in wpa_driver_nl80211_event_rtm_dellink() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | vlan_full.c | 590 int attrlen, nlmsg_len, rta_len; in vlan_read_ifnames() local 601 attrlen = h->nlmsg_len - nlmsg_len; in vlan_read_ifnames() 602 if (attrlen < 0) in vlan_read_ifnames() 609 while (RTA_OK(attr, attrlen)) { in vlan_read_ifnames() 621 attr = RTA_NEXT(attr, attrlen); in vlan_read_ifnames()
|
/external/libnl/include/netlink/ |
D | attr.h | 145 #define NLA_PUT(msg, attrtype, attrlen, data) \ argument 147 if (nla_put(msg, attrtype, attrlen, data) < 0) \
|
/external/libnl/include/linux-private/linux/ |
D | rtnetlink.h | 149 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \ argument
|
/external/kernel-headers/original/uapi/linux/ |
D | rtnetlink.h | 179 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \ argument
|
/external/iproute2/include/uapi/linux/ |
D | rtnetlink.h | 179 #define RTA_NEXT(rta,attrlen) ((attrlen) -= RTA_ALIGN((rta)->rta_len), \ argument
|
/external/libnfnetlink/src/ |
D | libnfnetlink.c | 1270 int attrlen = nlh->nlmsg_len - NLMSG_ALIGN(min_len); in nfnl_check_attributes() local 1272 while (NFA_OK(attr, attrlen)) { in nfnl_check_attributes() 1280 attr = NFA_NEXT(attr, attrlen); in nfnl_check_attributes() 1285 attr = NFA_NEXT(attr, attrlen); in nfnl_check_attributes()
|
/external/libnl/doc/ |
D | core.txt | 2003 int nla_put(struct nl_msg *msg, int attrtype, int attrlen, const void *data);
|