Home
last modified time | relevance | path

Searched refs:odst (Results 1 – 18 of 18) sorted by relevance

/NextBSD/contrib/less/
HDcvt.c58 cvt_text(odst, osrc, chpos, lenp, ops) in cvt_text() argument
59 char *odst; in cvt_text()
66 char *edst = odst;
76 for (src = osrc, dst = odst; src < src_end; )
79 int dst_pos = (int) (dst - odst);
81 if ((ops & CVT_BS) && ch == '\b' && dst > odst)
86 } while (dst > odst &&
108 if ((ops & CVT_CRLF) && edst > odst && edst[-1] == '\r')
112 *lenp = (int) (edst - odst);
/NextBSD/lib/libc/inet/
HDinet_net_pton.c68 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 …]
HDinet_cidr_pton.c88 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()
HDinet_neta.c57 char *odst = dst; in inet_neta() local
76 if (dst == odst) { in inet_neta()
81 return (odst); in inet_neta()
HDinet_cidr_ntop.c79 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()
HDinet_net_ntop.c89 char *odst = dst; in inet_net_ntop_ipv4() local
126 if (dst != odst) in inet_net_ntop_ipv4()
137 return (odst); in inet_net_ntop_ipv4()
/NextBSD/lib/libc/nameser/
HDns_ttl.c55 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()
/NextBSD/lib/libc/string/
HDstrlcat.c35 const char *odst = dst; in strlcat() local
43 dlen = dst - odst; in strlcat()
/NextBSD/contrib/tcpdump/
HDprint-mobile.c55 uint32_t odst; member
94 ND_PRINT((ndo, "> %s ", ipaddr_string(ndo, &mob->odst))); in mobile_print()
/NextBSD/sys/netipsec/
HDkey.h71 #define KEY_GETTUNNEL(osrc, odst, isrc, idst) \
72 key_gettunnel(osrc, odst, isrc, idst, __FILE__, __LINE__)
HDkey.c724 const struct sockaddr *odst,
774 key_sockaddrcmp(&r2->saidx.dst.sa, odst, 0))
/NextBSD/sys/netinet6/
HDip6_forward.c103 struct in6_addr src_in6, dst_in6, odst; in ip6_forward() local
495 odst = ip6->ip6_dst; in ip6_forward()
503 if (!IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst)) { in ip6_forward()
HDip6_input.c507 struct in6_addr odst; in ip6_input() local
705 odst = ip6->ip6_dst; in ip6_input()
717 srcrt = !IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst); in ip6_input()
HDip6_output.c309 struct in6_addr odst; in ip6_output() local
791 odst = ip6->ip6_dst; in ip6_output()
800 if (!IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst)) { in ip6_output()
/NextBSD/sys/netinet/
HDip_input.c429 struct in_addr odst; /* original dst address */ in ip_input() local
559 odst = ip->ip_dst; in ip_input()
566 dchg = (odst.s_addr != ip->ip_dst.s_addr); in ip_input()
HDip_output.c114 struct in_addr odst; in ip_output_pfil() local
121 odst.s_addr = ip->ip_dst.s_addr; in ip_output_pfil()
130 if (odst.s_addr != ip->ip_dst.s_addr) { in ip_output_pfil()
/NextBSD/sys/contrib/ipfilter/netinet/
HDip_nat6.c1599 int flags, dlen, odst; local
1720 odst = 1;
1728 odst = 0;
1771 if (odst == 1) {
1847 if (odst == 1) {
HDip_nat.c3784 int flags, dlen, odst; local
3906 odst = 1;
3914 odst = 0;
3949 if (odst == 1) {
4020 if (odst == 1) {