Home
last modified time | relevance | path

Searched refs:rta (Results 1 – 5 of 5) sorted by relevance

/external/wpa_supplicant/
Dpriv_netlink.h61 #define RTA_OK(rta,len) \ argument
62 ((len) > 0 && (rta)->rta_len >= sizeof(struct rtattr) && \
63 (rta)->rta_len <= (len))
64 #define RTA_NEXT(rta,attrlen) \ argument
65 ((attrlen) -= RTA_ALIGN((rta)->rta_len), \
66 (struct rtattr *) (((char *)(rta)) + RTA_ALIGN((rta)->rta_len)))
68 #define RTA_DATA(rta) ((void *) (((char *) (rta)) + RTA_LENGTH(0))) argument
Ddriver_wext.c103 struct rtattr *rta; in wpa_driver_wext_send_oper_ifla() local
120 rta = (struct rtattr *) in wpa_driver_wext_send_oper_ifla()
122 rta->rta_type = IFLA_LINKMODE; in wpa_driver_wext_send_oper_ifla()
123 rta->rta_len = RTA_LENGTH(sizeof(char)); in wpa_driver_wext_send_oper_ifla()
124 *((char *) RTA_DATA(rta)) = linkmode; in wpa_driver_wext_send_oper_ifla()
129 rta = (struct rtattr *) in wpa_driver_wext_send_oper_ifla()
131 rta->rta_type = IFLA_OPERSTATE; in wpa_driver_wext_send_oper_ifla()
132 rta->rta_len = RTA_LENGTH(sizeof(char)); in wpa_driver_wext_send_oper_ifla()
133 *((char *) RTA_DATA(rta)) = operstate; in wpa_driver_wext_send_oper_ifla()
/external/dhcpcd/
Dif-linux.c142 struct rtattr *rta; in link_netlink() local
156 rta = (struct rtattr *) ((char *)ifi + NLMSG_ALIGN(sizeof(*ifi))); in link_netlink()
159 while (RTA_OK(rta, len)) { in link_netlink()
160 switch (rta->rta_type) { in link_netlink()
168 strlcpy(ifn, RTA_DATA(rta), sizeof(ifn)); in link_netlink()
171 rta = RTA_NEXT(rta, len); in link_netlink()
231 struct rtattr *rta; in add_attr_l() local
238 rta = NLMSG_TAIL(n); in add_attr_l()
239 rta->rta_type = type; in add_attr_l()
240 rta->rta_len = len; in add_attr_l()
[all …]
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c113 static int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len) in parse_rtattr() argument
115 while (RTA_OK(rta, len)) { in parse_rtattr()
116 if (rta->rta_type <= max) in parse_rtattr()
117 tb[rta->rta_type] = rta; in parse_rtattr()
118 rta = RTA_NEXT(rta,len); in parse_rtattr()
/external/icu4c/data/locales/
Dga.txt1450 "Márta",
1464 "Márta",