Home
last modified time | relevance | path

Searched refs:npt (Results 1 – 3 of 3) sorted by relevance

/external/iptables/extensions/
Dlibip6t_DNPT.c35 struct ip6t_npt_tginfo *npt = cb->data; in DNPT_parse() local
40 npt->src_pfx = cb->val.haddr; in DNPT_parse()
41 npt->src_pfx_len = cb->val.hlen; in DNPT_parse()
44 npt->dst_pfx = cb->val.haddr; in DNPT_parse()
45 npt->dst_pfx_len = cb->val.hlen; in DNPT_parse()
53 const struct ip6t_npt_tginfo *npt = (const void *)target->data; in DNPT_print() local
55 printf(" DNPT src-pfx %s/%u", xtables_ip6addr_to_numeric(&npt->src_pfx.in6), in DNPT_print()
56 npt->src_pfx_len); in DNPT_print()
57 printf(" dst-pfx %s/%u", xtables_ip6addr_to_numeric(&npt->dst_pfx.in6), in DNPT_print()
58 npt->dst_pfx_len); in DNPT_print()
Dlibip6t_SNPT.c35 struct ip6t_npt_tginfo *npt = cb->data; in SNPT_parse() local
40 npt->src_pfx = cb->val.haddr; in SNPT_parse()
41 npt->src_pfx_len = cb->val.hlen; in SNPT_parse()
44 npt->dst_pfx = cb->val.haddr; in SNPT_parse()
45 npt->dst_pfx_len = cb->val.hlen; in SNPT_parse()
53 const struct ip6t_npt_tginfo *npt = (const void *)target->data; in SNPT_print() local
55 printf(" SNPT src-pfx %s/%u", xtables_ip6addr_to_numeric(&npt->src_pfx.in6), in SNPT_print()
56 npt->src_pfx_len); in SNPT_print()
57 printf(" dst-pfx %s/%u", xtables_ip6addr_to_numeric(&npt->dst_pfx.in6), in SNPT_print()
58 npt->dst_pfx_len); in SNPT_print()
/external/openssh/openbsd-compat/
Dgetcwd.c192 char *npt; in getcwd() local
199 if ((npt = realloc(pt, ptsize *= 2)) == NULL) in getcwd()
201 bpt = npt + (bpt - pt); in getcwd()
202 pt = npt; in getcwd()