| /NextBSD/contrib/less/ |
| HD | cvt.c | 58 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/ |
| HD | 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 …]
|
| HD | 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()
|
| HD | inet_neta.c | 57 char *odst = dst; in inet_neta() local 76 if (dst == odst) { in inet_neta() 81 return (odst); in inet_neta()
|
| HD | 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()
|
| HD | inet_net_ntop.c | 89 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/ |
| HD | 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()
|
| /NextBSD/lib/libc/string/ |
| HD | strlcat.c | 35 const char *odst = dst; in strlcat() local 43 dlen = dst - odst; in strlcat()
|
| /NextBSD/contrib/tcpdump/ |
| HD | print-mobile.c | 55 uint32_t odst; member 94 ND_PRINT((ndo, "> %s ", ipaddr_string(ndo, &mob->odst))); in mobile_print()
|
| /NextBSD/sys/netipsec/ |
| HD | key.h | 71 #define KEY_GETTUNNEL(osrc, odst, isrc, idst) \ 72 key_gettunnel(osrc, odst, isrc, idst, __FILE__, __LINE__)
|
| HD | key.c | 724 const struct sockaddr *odst, 774 key_sockaddrcmp(&r2->saidx.dst.sa, odst, 0))
|
| /NextBSD/sys/netinet6/ |
| HD | ip6_forward.c | 103 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()
|
| HD | ip6_input.c | 507 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()
|
| HD | ip6_output.c | 309 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/ |
| HD | ip_input.c | 429 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()
|
| HD | ip_output.c | 114 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/ |
| HD | ip_nat6.c | 1599 int flags, dlen, odst; local 1720 odst = 1; 1728 odst = 0; 1771 if (odst == 1) { 1847 if (odst == 1) {
|
| HD | ip_nat.c | 3784 int flags, dlen, odst; local 3906 odst = 1; 3914 odst = 0; 3949 if (odst == 1) { 4020 if (odst == 1) {
|