| /netbsd/src/external/bsd/libbind/dist/inet/ |
| D | inet_net_pton.c | 68 const u_char *odst = dst; in inet_net_pton_ipv4() local 129 isdigit((unsigned char)(src[0])) && dst > odst) { in inet_net_pton_ipv4() 150 if (dst == odst) in inet_net_pton_ipv4() 154 if (*odst >= 240) /*%< Class E */ in inet_net_pton_ipv4() 156 else if (*odst >= 224) /*%< Class D */ in inet_net_pton_ipv4() 158 else if (*odst >= 192) /*%< Class C */ in inet_net_pton_ipv4() 160 else if (*odst >= 128) /*%< Class B */ in inet_net_pton_ipv4() 165 if (bits < ((dst - odst) * 8)) in inet_net_pton_ipv4() 166 bits = (dst - odst) * 8; in inet_net_pton_ipv4() 171 if (bits == 8 && *odst == 224) in inet_net_pton_ipv4() [all …]
|
| D | inet_cidr_pton.c | 88 const u_char *odst = dst; in inet_cidr_pton_ipv4() local 114 if (ch == '/' && dst > odst) { in inet_cidr_pton_ipv4() 123 if (dst - odst == 4) in inet_cidr_pton_ipv4() 130 if (dst == odst) in inet_cidr_pton_ipv4() 134 if (((bits - (ipv6 ? 96 : 0)) / 8) > (dst - odst)) in inet_cidr_pton_ipv4()
|
| D | inet_neta.c | 60 char *odst = dst; local 79 if (dst == odst) { 84 return (odst);
|
| D | inet_cidr_ntop.c | 79 char *odst = dst; in decoct() local 94 return (dst - odst); in decoct() 112 char *odst = dst; in inet_cidr_ntop_ipv4() local 147 return (odst); in inet_cidr_ntop_ipv4()
|
| D | inet_net_ntop.c | 98 char *odst = dst; local 135 if (dst != odst) 146 return (odst);
|
| /netbsd/src/external/bsd/less/dist/ |
| D | cvt.c | 54 public void cvt_text(char *odst, char *osrc, int *chpos, int *lenp, int ops) in cvt_text() argument 57 char *edst = odst; in cvt_text() 67 for (src = osrc, dst = odst; src < src_end; ) in cvt_text() 70 int dst_pos = (int) (dst - odst); in cvt_text() 73 if ((ops & CVT_BS) && ch == '\b' && dst > odst) in cvt_text() 78 } while (dst > odst && utf_mode && in cvt_text() 103 if ((ops & CVT_CRLF) && edst > odst && edst[-1] == '\r') in cvt_text() 107 *lenp = (int) (edst - odst); in cvt_text()
|
| /netbsd/src/lib/libc/inet/ |
| D | inet_net_pton.c | 73 const u_char *odst = dst; in __weak_alias() local 136 isdigit((u_char)(src[0])) && dst > odst) { in __weak_alias() 158 if (dst == odst) in __weak_alias() 162 if (*odst >= 240) /* Class E */ in __weak_alias() 164 else if (*odst >= 224) /* Class D */ in __weak_alias() 166 else if (*odst >= 192) /* Class C */ in __weak_alias() 168 else if (*odst >= 128) /* Class B */ in __weak_alias() 173 if (bits >= 8 && bits < ((dst - odst) * 8)) in __weak_alias() 174 bits = (int)(dst - odst) * 8; in __weak_alias() 177 while (bits > ((dst - odst) * 8)) { in __weak_alias() [all …]
|
| D | inet_cidr_pton.c | 92 const u_char *odst = dst; in inet_cidr_pton_ipv4() local 119 if (ch == '/' && dst > odst) { in inet_cidr_pton_ipv4() 128 if (dst - odst == 4) in inet_cidr_pton_ipv4() 135 if (dst == odst) in inet_cidr_pton_ipv4() 139 if (((bits - (ipv6 ? 96 : 0)) / 8) > (dst - odst)) in inet_cidr_pton_ipv4()
|
| D | inet_cidr_ntop.c | 90 char *odst = dst; in decoct() local 105 _DIAGASSERT(__type_fit(int, dst - odst)); in decoct() 106 return (int)(dst - odst); in decoct() 124 char *odst = dst; in inet_cidr_ntop_ipv4() local 159 return (odst); in inet_cidr_ntop_ipv4()
|
| D | inet_neta.c | 58 char *odst = dst; in __weak_alias() local 90 return (odst); in __weak_alias()
|
| D | inet_net_ntop.c | 97 char *odst = dst; in inet_net_ntop_ipv4() local 134 if (dst != odst) in inet_net_ntop_ipv4() 145 return (odst); in inet_net_ntop_ipv4()
|
| /netbsd/src/sys/arch/m68k/m68k/ |
| D | db_memrw.c | 111 char *dst, *odst; in db_write_text() local 127 odst = dst; in db_write_text() 159 TBIS((vaddr_t)odst); in db_write_text() 171 TBIS((vaddr_t)odst); in db_write_text()
|
| /netbsd/src/lib/libc/nameser/ |
| D | ns_ttl.c | 61 char *odst = dst; in ns_format_ttl() local 96 for (p = odst; (ch = *p) != '\0'; p++) in ns_format_ttl() 101 _DIAGASSERT(__type_fit(int, dst - odst)); in ns_format_ttl() 102 return (int)(dst - odst); in ns_format_ttl()
|
| /netbsd/src/external/bsd/libbind/dist/nameser/ |
| D | ns_ttl.c | 55 char *odst = dst; in ns_format_ttl() local 90 for (p = odst; (ch = *p) != '\0'; p++) in ns_format_ttl() 95 return (dst - odst); in ns_format_ttl()
|
| /netbsd/src/external/bsd/libpcap/dist/missing/ |
| D | strlcat.c | 36 const char *odst = dst; in pcapint_strlcat() local 44 dlen = dst - odst; in pcapint_strlcat()
|
| /netbsd/src/external/bsd/tcpdump/dist/ |
| D | print-mobile.c | 59 nd_uint32_t odst; member 99 ND_PRINT("> %s ", GET_IPADDR_STRING(mob->odst)); in mobile_print()
|
| /netbsd/src/sys/netipsec/ |
| D | key.h | 88 #define KEY_GETTUNNEL(osrc, odst, isrc, idst) \ argument 89 key_gettunnel(osrc, odst, isrc, idst, __func__, __LINE__)
|
| /netbsd/src/sys/net/ |
| D | if_gif.c | 1075 struct sockaddr *osrc, *odst; in gif_set_tunnel() local 1133 odst = ovar->gv_pdst; in gif_set_tunnel() 1153 if (odst) in gif_set_tunnel() 1154 sockaddr_free(odst); in gif_set_tunnel() 1181 struct sockaddr *osrc, *odst; in gif_delete_tunnel() local 1202 odst = ovar->gv_pdst; in gif_delete_tunnel() 1203 if (osrc == NULL || odst == NULL) { in gif_delete_tunnel() 1229 sockaddr_free(odst); in gif_delete_tunnel()
|
| D | if_l2tp.c | 1018 struct sockaddr *osrc, *odst; in l2tp_set_tunnel() local 1036 odst = ovar->lv_pdst; in l2tp_set_tunnel() 1056 if (odst) in l2tp_set_tunnel() 1057 sockaddr_free(odst); in l2tp_set_tunnel() 1074 struct sockaddr *osrc, *odst; in l2tp_delete_tunnel() local 1089 odst = ovar->lv_pdst; in l2tp_delete_tunnel() 1103 if (odst) in l2tp_delete_tunnel() 1104 sockaddr_free(odst); in l2tp_delete_tunnel()
|
| D | route.c | 390 const struct sockaddr *key, *dst, *odst; in rt_ifa_connected() local 400 odst = dst; in rt_ifa_connected() 402 rt_maskedcopy(odst, (struct sockaddr *)&maskeddst, in rt_ifa_connected() 1619 struct sockaddr *dst, *odst; in rtinit() local 1629 odst = dst; in rtinit() 1631 rt_maskedcopy(odst, dst, ifa->ifa_netmask); in rtinit() 2180 const struct sockaddr *odst; in rtcache_lookup2() local 2183 odst = rtcache_getdst(ro); in rtcache_lookup2() 2184 if (odst == NULL) in rtcache_lookup2() 2187 if (sockaddr_cmp(odst, dst) != 0) { in rtcache_lookup2()
|
| D | if_ipsec.c | 1148 struct sockaddr *osrc, *odst; in if_ipsec_set_tunnel() local 1245 odst = ovar->iv_pdst; in if_ipsec_set_tunnel() 1288 if (odst != NULL) in if_ipsec_set_tunnel() 1289 sockaddr_free(odst); in if_ipsec_set_tunnel() 1331 struct sockaddr *osrc, *odst; in if_ipsec_delete_tunnel() local 1345 odst = ovar->iv_pdst; in if_ipsec_delete_tunnel() 1350 if (osrc == NULL || odst == NULL) { in if_ipsec_delete_tunnel() 1389 sockaddr_free(odst); in if_ipsec_delete_tunnel()
|
| /netbsd/src/usr.sbin/rtadvd/ |
| D | config.c | 87 char *odst, *p; in encode_domain() local 89 odst = dst; in encode_domain() 101 return dst - odst; in encode_domain()
|
| /netbsd/src/sys/netinet6/ |
| D | ip6_input.c | 347 struct in6_addr odst; in ip6_input() local 350 odst = ip6->ip6_dst; in ip6_input() 364 srcrt = !IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst); in ip6_input()
|
| /netbsd/src/sys/netinet/ |
| D | ip_input.c | 574 struct in_addr odst = ip->ip_dst; in ip_input() local 617 srcrt = (odst.s_addr != ip->ip_dst.s_addr); in ip_input()
|
| /netbsd/src/sys/external/bsd/ipf/netinet/ |
| D | ip_nat6.c | 1562 int flags, dlen, odst; in ipf_nat6_icmperror() local 1683 odst = 1; in ipf_nat6_icmperror() 1691 odst = 0; in ipf_nat6_icmperror() 1734 if (odst == 1) { in ipf_nat6_icmperror() 1810 if (odst == 1) { in ipf_nat6_icmperror()
|