Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 25 of 62) sorted by relevance

123

/lib/lwip/lwip/contrib/addons/ipv6_static_routing/
A Dip6_route_table.c88 if ((ip6_prefix->prefix_len == static_route_table[i].prefix.prefix_len) && in ip6_add_route_entry()
89 memcmp(&ip6_prefix->addr, &static_route_table[i].prefix.addr, in ip6_add_route_entry()
104 i > 0 && (ip6_prefix->prefix_len > static_route_table[i - 1].prefix.prefix_len); i--) { in ip6_add_route_entry()
110 SMEMCPY(&static_route_table[i].prefix, ip6_prefix, sizeof(struct ip6_prefix)); in ip6_add_route_entry()
136 if (ip6_prefix->prefix_len == static_route_table[i].prefix.prefix_len && in ip6_remove_route_entry()
137 memcmp(&ip6_prefix->addr, &static_route_table[i].prefix.addr, in ip6_remove_route_entry()
154 ip6_addr_set_zero((&static_route_table[i].prefix.addr)); in ip6_remove_route_entry()
176 if (memcmp(ip6_dest_addr, &static_route_table[i].prefix.addr, in ip6_find_route_entry()
177 static_route_table[i].prefix.prefix_len / 8) == 0) { in ip6_find_route_entry()
A DREADME24    This API adds the ip6 prefix route into the static route table while
25    keeping all entries sorted in decreasing order of prefix length.
28    The prefix length is expected to be at an 8-bit boundary. While this is 
/lib/efi_loader/
A Defi_fdt.c35 const char *prefix; in efi_get_distro_fdt_name() local
41 prefix = "/dtb"; in efi_get_distro_fdt_name()
44 prefix = ""; in efi_get_distro_fdt_name()
47 prefix = "/dtb/current"; in efi_get_distro_fdt_name()
50 prefix = "/dtbs"; in efi_get_distro_fdt_name()
58 snprintf(fname, size, "%s/%s", prefix, fdt_fname); in efi_get_distro_fdt_name()
70 snprintf(fname, size, "%s/%s%s%s%s.dtb", prefix, in efi_get_distro_fdt_name()
/lib/mbedtls/external/mbedtls/library/
A Dx509_csr.c528 int mbedtls_x509_csr_info(char *buf, size_t size, const char *prefix, in mbedtls_x509_csr_info() argument
540 prefix, csr->version); in mbedtls_x509_csr_info()
543 ret = mbedtls_snprintf(p, n, "\n%ssubject name : ", prefix); in mbedtls_x509_csr_info()
548 ret = mbedtls_snprintf(p, n, "\n%ssigned using : ", prefix); in mbedtls_x509_csr_info()
560 ret = mbedtls_snprintf(p, n, "\n%s%-" BC "s: %d bits\n", prefix, key_size_str, in mbedtls_x509_csr_info()
569 ret = mbedtls_snprintf(p, n, "\n%ssubject alt name :", prefix); in mbedtls_x509_csr_info()
574 prefix)) != 0) { in mbedtls_x509_csr_info()
580 ret = mbedtls_snprintf(p, n, "\n%scert. type : ", prefix); in mbedtls_x509_csr_info()
589 ret = mbedtls_snprintf(p, n, "\n%skey usage : ", prefix); in mbedtls_x509_csr_info()
A Dx509_crl.c594 int mbedtls_x509_crl_info(char *buf, size_t size, const char *prefix, in mbedtls_x509_crl_info() argument
606 prefix, crl->version); in mbedtls_x509_crl_info()
609 ret = mbedtls_snprintf(p, n, "\n%sissuer name : ", prefix); in mbedtls_x509_crl_info()
615 "%04d-%02d-%02d %02d:%02d:%02d", prefix, in mbedtls_x509_crl_info()
622 "%04d-%02d-%02d %02d:%02d:%02d", prefix, in mbedtls_x509_crl_info()
631 prefix); in mbedtls_x509_crl_info()
636 prefix); in mbedtls_x509_crl_info()
652 ret = mbedtls_snprintf(p, n, "\n%ssigned using : ", prefix); in mbedtls_x509_crl_info()
A Dx509.c1514 const char *prefix) in mbedtls_x509_info_subject_alt_name() argument
1529 ret = mbedtls_snprintf(p, n, "\n%s <unsupported>", prefix); in mbedtls_x509_info_subject_alt_name()
1532 ret = mbedtls_snprintf(p, n, "\n%s <malformed>", prefix); in mbedtls_x509_info_subject_alt_name()
1547 ret = mbedtls_snprintf(p, n, "\n%s otherName :", prefix); in mbedtls_x509_info_subject_alt_name()
1552 ret = mbedtls_snprintf(p, n, "\n%s hardware module name :", prefix); in mbedtls_x509_info_subject_alt_name()
1555 mbedtls_snprintf(p, n, "\n%s hardware type : ", prefix); in mbedtls_x509_info_subject_alt_name()
1582 ret = mbedtls_snprintf(p, n, "\n%s uniformResourceIdentifier : ", prefix); in mbedtls_x509_info_subject_alt_name()
1608 prefix, in mbedtls_x509_info_subject_alt_name()
1630 prefix, "iPAddress"); in mbedtls_x509_info_subject_alt_name()
1664 ret = mbedtls_snprintf(p, n, "\n%s directoryName : ", prefix); in mbedtls_x509_info_subject_alt_name()
[all …]
A Dx509_crt.c1749 int mbedtls_x509_crt_info(char *buf, size_t size, const char *prefix, in mbedtls_x509_crt_info() argument
1768 prefix, crt->version); in mbedtls_x509_crt_info()
1771 prefix); in mbedtls_x509_crt_info()
1777 ret = mbedtls_snprintf(p, n, "\n%sissuer name : ", prefix); in mbedtls_x509_crt_info()
1782 ret = mbedtls_snprintf(p, n, "\n%ssubject name : ", prefix); in mbedtls_x509_crt_info()
1788 "%04d-%02d-%02d %02d:%02d:%02d", prefix, in mbedtls_x509_crt_info()
1795 "%04d-%02d-%02d %02d:%02d:%02d", prefix, in mbedtls_x509_crt_info()
1801 ret = mbedtls_snprintf(p, n, "\n%ssigned using : ", prefix); in mbedtls_x509_crt_info()
1834 ret = mbedtls_snprintf(p, n, "\n%ssubject alt name :", prefix); in mbedtls_x509_crt_info()
1839 prefix)) != 0) { in mbedtls_x509_crt_info()
[all …]
/lib/
A Dstring.c771 unsigned int words, prefix; in memchr_inv() local
781 prefix = (unsigned long)start % 8; in memchr_inv()
782 if (prefix) { in memchr_inv()
785 prefix = 8 - prefix; in memchr_inv()
786 r = check_bytes8(start, value, prefix); in memchr_inv()
789 start += prefix; in memchr_inv()
790 bytes -= prefix; in memchr_inv()
/lib/crypt/
A Dcrypt.c37 const char *prefix; in crypt_compare() member
52 if (!crypt_algos[n].prefix) in crypt_compare()
54 if (strncmp(should, crypt_algos[n].prefix, 3) == 0) in crypt_compare()
A DKconfig17 The prefix is "$5$".
24 The prefix is "$6$".
/lib/mbedtls/external/mbedtls/scripts/mbedtls_dev/
A Dcrypto_knowledge.py377 prefix = head
378 while prefix:
379 if prefix in self.CATEGORY_FROM_HEAD:
380 return self.CATEGORY_FROM_HEAD[prefix]
381 if re.match(r'.*[0-9]\Z', prefix):
382 prefix = re.sub(r'_*[0-9]+\Z', r'', prefix)
384 prefix = re.sub(r'_*[^_]*\Z', r'', prefix)
A Dc_wrapper_generator.py21 def c_declare(prefix: str, name: str, suffix: str) -> str:
23 if not prefix.endswith('*'):
24 prefix += ' '
25 return prefix + name + suffix
/lib/mbedtls/external/mbedtls/programs/test/cmake_subproject/
A DCMakeLists.txt3 # Test the target renaming support by adding a prefix to the targets built
15 # created using the specified prefix
/lib/mbedtls/external/mbedtls/programs/ssl/
A Dssl_test_common_source.c322 int x509_crt_verify_info(char *buf, size_t size, const char *prefix, in x509_crt_verify_info() argument
326 return mbedtls_x509_crt_verify_info(buf, size, prefix, flags); in x509_crt_verify_info()
336 ret = mbedtls_snprintf(p, n, "%s%s\n", prefix, info); \ in x509_crt_verify_info()
346 "(this should not happen)\n", prefix); in x509_crt_verify_info()
/lib/mbedtls/external/mbedtls/tests/suites/
A Dtest_suite_debug.function167 char *prefix, char *result_str)
193 mbedtls_debug_print_crt(&ssl, 0, file, line, prefix, &crt);
207 char *prefix, char *result_str)
234 mbedtls_debug_print_mpi(&ssl, 0, file, line, prefix, &val);
/lib/lwip/lwip/src/netif/ppp/
A Dutils.c429 log_packet(p, len, prefix, level)
432 char *prefix;
435 init_pr_log(prefix, level);
497 init_pr_log(prefix, level)
498 const char *prefix;
502 if (prefix != NULL) {
503 ppp_strlcpy(line, prefix, sizeof(line));
/lib/mbedtls/external/mbedtls/tests/scripts/
A Drun-test-suites.pl65 my $prefix = $^O eq "MSWin32" ? '' : './';
87 my $command = "$prefix$suite";
A Ddepends.py89 def log_line(text, prefix='depends.py:', suffix='', color=None): argument
92 prefix = color[0] + prefix
94 sys.stderr.write(prefix + ' ' + text + suffix + '\n')
100 log_line(' '.join(cmd), prefix='+')
/lib/mbedtls/external/mbedtls/pkgconfig/
A DCMakeLists.txt3 join_paths(PKGCONFIG_INCLUDEDIR "\${prefix}" "${CMAKE_INSTALL_INCLUDEDIR}")
4 join_paths(PKGCONFIG_LIBDIR "\${prefix}" "${CMAKE_INSTALL_LIBDIR}")
A Dmbedcrypto.pc.in1 prefix=@CMAKE_INSTALL_PREFIX@
A Dmbedx509.pc.in1 prefix=@CMAKE_INSTALL_PREFIX@
/lib/mbedtls/external/mbedtls/scripts/
A Decp_comb_table.py159 binname = tempfile.mktemp(prefix="mbedtls")
160 fd, srcname = tempfile.mkstemp(prefix="mbedtls", suffix=".c")
/lib/lwip/lwip/src/core/ipv6/
A Dnd6.c114 struct prefix_option prefix; member
734 ip6_addr_copy_from_packed(prefix_addr, prefix_opt->prefix); in nd6_input()
742 s8_t prefix; in nd6_input() local
747 prefix = nd6_get_onlink_prefix(&prefix_addr, inp); in nd6_input()
748 if (prefix < 0 && valid_life > 0) { in nd6_input()
750 prefix = nd6_new_onlink_prefix(&prefix_addr, inp); in nd6_input()
752 if (prefix >= 0) { in nd6_input()
753 prefix_list[prefix].invalidation_timer = valid_life; in nd6_input()
1665 ip6_addr_net_eq(ip6addr, &(prefix_list[i].prefix))) { in nd6_is_prefix_in_netif()
1901 if ((ip6_addr_net_eq(&(prefix_list[i].prefix), prefix)) && in nd6_get_onlink_prefix()
[all …]
/lib/mbedtls/external/mbedtls/tests/docker/bionic/
A DDockerfile86 …&& ./config --prefix=/usr/local/openssl-1.1.1a -Wl,--enable-new-dtags,-rpath,'${LIBRPATH}' no-shar…
106 …&& ./configure --prefix=/usr/local/gnutls-3.3.8 --exec_prefix=/usr/local/gnutls-3.3.8 --disable-sh…
127 && ./configure --prefix=/usr/local/gnutls-3.4.10 --exec_prefix=/usr/local/gnutls-3.4.10 \
150 && ./configure --prefix=/usr/local/gnutls-3.7.2 --exec_prefix=/usr/local/gnutls-3.7.2 \
/lib/lwip/lwip/src/include/lwip/prot/
A Dnd6.h189 PACK_STRUCT_FLD_S(ip6_addr_p_t prefix);
243 PACK_STRUCT_FLD_S(ip6_addr_p_t prefix);

Completed in 54 milliseconds

123