Home
last modified time | relevance | path

Searched refs:get_prefix (Results 1 – 25 of 28) sorted by relevance

12

/external/squashfs-tools/squashfs-tools/
Dxattr.c129 static int get_prefix(struct xattr_list *xattr, char *name) in get_prefix() function
165 xattrs->type = get_prefix(xattrs, "security.selinux"); in read_selinux_xattr_from_sehnd()
177 xattrs->type = get_prefix(xattrs, "security.capability"); in set_caps_xattr()
234 xattr_list[i].type = get_prefix(&xattr_list[i], p); in read_xattrs_from_system()
/external/iproute2/ip/
Diproute.c929 get_prefix(&addr, *argv, req.r.rtm_family); in iproute_modify()
1237 get_prefix(&dst, *argv, req.r.rtm_family); in iproute_modify()
1512 get_prefix(&filter.rvia, *argv, family); in iproute_list_flush_or_save()
1515 get_prefix(&filter.rprefsrc, *argv, do_ipv6); in iproute_list_flush_or_save()
1535 get_prefix(&filter.rsrc, *argv, do_ipv6); in iproute_list_flush_or_save()
1538 get_prefix(&filter.msrc, *argv, do_ipv6); in iproute_list_flush_or_save()
1543 get_prefix(&filter.msrc, *argv, do_ipv6); in iproute_list_flush_or_save()
1552 get_prefix(&filter.rdst, *argv, do_ipv6); in iproute_list_flush_or_save()
1555 get_prefix(&filter.mdst, *argv, do_ipv6); in iproute_list_flush_or_save()
1560 get_prefix(&filter.mdst, *argv, do_ipv6); in iproute_list_flush_or_save()
[all …]
Dlink_vti6.c168 get_prefix(&addr, *argv, AF_INET6); in vti6_parse_opt()
179 get_prefix(&addr, *argv, AF_INET6); in vti6_parse_opt()
Dipmroute.c235 get_prefix(&filter.msrc, *argv, family); in mroute_list()
242 get_prefix(&filter.mdst, *argv, family); in mroute_list()
Diprule.c504 get_prefix(&filter.src, *argv, af); in iprule_list_flush_or_save()
510 get_prefix(&filter.dst, *argv, af); in iprule_list_flush_or_save()
610 get_prefix(&dst, *argv, req.r.rtm_family); in iprule_modify()
618 get_prefix(&dst, *argv, req.r.rtm_family); in iprule_modify()
Dlink_iptnl.c311 if (get_prefix(&prefix, *argv, AF_INET6)) in iptunnel_parse_opt()
319 if (get_prefix(&prefix, *argv, AF_INET)) in iptunnel_parse_opt()
326 get_prefix(&prefix, "2002::", AF_INET6); in iptunnel_parse_opt()
Diptoken.c146 get_prefix(&addr, *argv, req.ifi.ifi_family); in iptoken_set()
Dlink_ip6tnl.c183 get_prefix(&addr, *argv, preferred_family); in ip6tunnel_parse_opt()
191 get_prefix(&addr, *argv, preferred_family); in ip6tunnel_parse_opt()
Dtcp_metrics.c339 get_prefix(&f.saddr, *argv, preferred_family); in tcpm_do_cmd()
365 get_prefix(&f.daddr, *argv, preferred_family); in tcpm_do_cmd()
Dip6tunnel.c169 get_prefix(&raddr, *argv, preferred_family); in parse_args()
177 get_prefix(&laddr, *argv, preferred_family); in parse_args()
Dipaddrlabel.c150 get_prefix(&prefix, *argv, preferred_family); in ipaddrlabel_modify()
Dlink_gre6.c252 get_prefix(&addr, *argv, preferred_family); in gre_parse_opt()
260 get_prefix(&addr, *argv, preferred_family); in gre_parse_opt()
Dipxfrm.c1088 get_prefix(&src, *argv, preferred_family); in xfrm_id_parse()
1101 get_prefix(&dst, *argv, preferred_family); in xfrm_id_parse()
1395 get_prefix(&src, *argv, preferred_family); in xfrm_selector_parse()
1408 get_prefix(&dst, *argv, preferred_family); in xfrm_selector_parse()
Diptunnel.c524 if (get_prefix(&prefix, *argv, AF_INET6)) in do_6rd()
531 if (get_prefix(&prefix, *argv, AF_INET)) in do_6rd()
Dipneigh.c422 get_prefix(&filter.pfx, *argv, filter.family); in do_show_or_flush()
Dipaddress.c2080 get_prefix(&filter.pfx, *argv, filter.family); in ipaddr_list_flush_or_save()
2367 get_prefix(&peer, *argv, req.ifa.ifa_family); in ipaddr_modify()
2449 get_prefix(&lcl, *argv, req.ifa.ifa_family); in ipaddr_modify()
/external/ltp/testcases/lib/
Dtst_net_ip_prefix.c82 prefix = get_prefix(ip_str, is_ipv6); in main()
Dtst_net_iface_prefix.c139 prefix = get_prefix(ip_str, is_ipv6); in main()
Dtst_net_vars.c605 lprefix = get_prefix(lip_str, is_ipv6); in main()
606 rprefix = get_prefix(rip_str, is_ipv6); in main()
/external/ltp/include/
Dtst_net.h115 static int get_prefix(const char *ip_str, int is_ipv6) in get_prefix() function
/external/toybox/toys/pending/
Dip.c339 static int get_prefix(uint32_t *addr, uint8_t *af, char *name, int family) in get_prefix() function
388 if (get_prefix(naddr, &naf, name, family)) return -1; in get_nmask_prefix()
413 if (get_prefix(addr, &af, name, family)) error_exit("Invalid prefix"); in parse_prefix()
1114 if (get_prefix(addr, &af, *argv, req.ifadd.ifa_family)) in ipaddrupdate()
1134 if (get_prefix(addr, &af, *argv, req.ifadd.ifa_family)) in ipaddrupdate()
2187 if (get_prefix(addr, &af /* Un-used variable */, *argv, AF_INET)) in ruleupdate()
2484 if (get_prefix(&addr, &af, *argv, AF_INET)) in parse_iptunnel_args()
2534 if (get_prefix(&addr, &af, *argv, AF_INET)) in parse_iptunnel_args()
/external/iproute2/include/
Dutils.h87 int get_prefix(inet_prefix *dst, char *arg, int family);
/external/python/cpython2/Lib/lib2to3/
Dpytree.py122 def get_prefix(self): member in Base
/external/python/cpython2/Lib/lib2to3/tests/
Dtest_pytree.py40 self.assertEqual(l.get_prefix(), "")
/external/iproute2/lib/
Dutils.c641 int get_prefix(inet_prefix *dst, char *arg, int family) in get_prefix() function

12