Home
last modified time | relevance | path

Searched refs:linkinfo (Results 1 – 10 of 10) sorted by relevance

/external/iproute2/ip/
Dlink_vti.c65 struct rtattr *linkinfo[IFLA_INFO_MAX+1]; in vti_parse_opt() local
93 parse_rtattr_nested(linkinfo, IFLA_INFO_MAX, tb[IFLA_LINKINFO]); in vti_parse_opt()
95 if (!linkinfo[IFLA_INFO_DATA]) in vti_parse_opt()
99 linkinfo[IFLA_INFO_DATA]); in vti_parse_opt()
Dlink_vti6.c60 struct rtattr *linkinfo[IFLA_INFO_MAX+1]; in vti6_parse_opt() local
88 parse_rtattr_nested(linkinfo, IFLA_INFO_MAX, tb[IFLA_LINKINFO]); in vti6_parse_opt()
90 if (!linkinfo[IFLA_INFO_DATA]) in vti6_parse_opt()
94 linkinfo[IFLA_INFO_DATA]); in vti6_parse_opt()
Dipaddress.c211 struct rtattr *linkinfo[IFLA_INFO_MAX+1]; in parse_link_kind() local
214 parse_rtattr_nested(linkinfo, IFLA_INFO_MAX, tb); in parse_link_kind()
216 if (linkinfo[attr]) in parse_link_kind()
217 return RTA_DATA(linkinfo[attr]); in parse_link_kind()
232 struct rtattr *linkinfo[IFLA_INFO_MAX+1]; in print_linktype() local
237 parse_rtattr_nested(linkinfo, IFLA_INFO_MAX, tb); in print_linktype()
240 if (linkinfo[IFLA_INFO_KIND]) { in print_linktype()
242 = rta_getattr_str(linkinfo[IFLA_INFO_KIND]); in print_linktype()
251 if (linkinfo[IFLA_INFO_DATA]) { in print_linktype()
253 linkinfo[IFLA_INFO_DATA]); in print_linktype()
[all …]
Dlink_ip6tnl.c87 struct rtattr *linkinfo[IFLA_INFO_MAX+1]; in ip6tunnel_parse_opt() local
123 parse_rtattr_nested(linkinfo, IFLA_INFO_MAX, tb[IFLA_LINKINFO]); in ip6tunnel_parse_opt()
125 if (!linkinfo[IFLA_INFO_DATA]) in ip6tunnel_parse_opt()
129 linkinfo[IFLA_INFO_DATA]); in ip6tunnel_parse_opt()
Dlink_iptnl.c88 struct rtattr *linkinfo[IFLA_INFO_MAX+1]; in iptunnel_parse_opt() local
128 parse_rtattr_nested(linkinfo, IFLA_INFO_MAX, tb[IFLA_LINKINFO]); in iptunnel_parse_opt()
130 if (!linkinfo[IFLA_INFO_DATA]) in iptunnel_parse_opt()
134 linkinfo[IFLA_INFO_DATA]); in iptunnel_parse_opt()
Dlink_gre.c80 struct rtattr *linkinfo[IFLA_INFO_MAX+1]; in gre_parse_opt() local
120 parse_rtattr_nested(linkinfo, IFLA_INFO_MAX, tb[IFLA_LINKINFO]); in gre_parse_opt()
122 if (!linkinfo[IFLA_INFO_DATA]) in gre_parse_opt()
126 linkinfo[IFLA_INFO_DATA]); in gre_parse_opt()
Dipvrf.c475 struct rtattr *linkinfo; in ipvrf_filter_req() local
479 linkinfo = addattr_nest(nlh, reqlen, IFLA_LINKINFO); in ipvrf_filter_req()
486 addattr_nest_end(nlh, linkinfo); in ipvrf_filter_req()
Dlink_gre6.c90 struct rtattr *linkinfo[IFLA_INFO_MAX+1]; in gre_parse_opt() local
128 parse_rtattr_nested(linkinfo, IFLA_INFO_MAX, tb[IFLA_LINKINFO]); in gre_parse_opt()
130 if (!linkinfo[IFLA_INFO_DATA]) in gre_parse_opt()
134 linkinfo[IFLA_INFO_DATA]); in gre_parse_opt()
Diplink.c971 struct rtattr *linkinfo; in iplink_modify() local
975 linkinfo = addattr_nest(&req.n, sizeof(req), IFLA_LINKINFO); in iplink_modify()
1002 addattr_nest_end(&req.n, linkinfo); in iplink_modify()
/external/libcups/cups/
Dfile.c2610 struct stat linkinfo; /* Link information */ in cups_open() local
2655 if (lstat(filename, &linkinfo)) in cups_open()
2661 if (S_ISLNK(linkinfo.st_mode) || in cups_open()
2662 fileinfo.st_dev != linkinfo.st_dev || in cups_open()
2663 fileinfo.st_ino != linkinfo.st_ino || in cups_open()
2665 fileinfo.st_gen != linkinfo.st_gen || in cups_open()
2667 fileinfo.st_nlink != linkinfo.st_nlink || in cups_open()
2668 fileinfo.st_mode != linkinfo.st_mode) in cups_open()