Home
last modified time | relevance | path

Searched refs:type_string (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/tools/regression/netinet/msocket_ifnet_remove/
H A Dmsocket_ifnet_remove.c169 multicast_open(int *sockp, int type, const char *type_string) in multicast_open() argument
176 warn("multicast_test: socket(PF_INET, %s, 0)", type_string); in multicast_open()
204 test_sock_type(int type, const char *type_string) in test_sock_type() argument
216 if (multicast_open(&sock, type, type_string) < 0) { in test_sock_type()
228 printf("test_sock_type(%s) passed\n", type_string); in test_sock_type()
/freebsd-12.1/crypto/heimdal/kuser/
H A Dkdigest.c98 ret = krb5_digest_set_type(context, digest, opt->type_string); in digest_server_init()
116 printf("type=%s\n", opt->type_string); in digest_server_init()
142 if (opt->type_string == NULL) in digest_server_request()
153 if (strcasecmp(opt->type_string, "CHAP") == 0) { in digest_server_request()
163 ret = krb5_digest_set_type(context, digest, opt->type_string); in digest_server_request()
402 if (strcasecmp(opt->type_string, "CHAP") == 0) { in digest_client_request()
409 } else if (strcasecmp(opt->type_string, "MS-CHAP-V2") == 0) { in digest_client_request()
H A Dkswitch.c150 ops = krb5_cc_get_prefix_ops(kcc_context, opt->type_string); in kswitch()
/freebsd-12.1/crypto/heimdal/lib/roken/
H A Dresolve-test.c135 const char *type_string = rk_dns_type_to_string (sig->type); in main() local
138 sig->type, type_string ? type_string : "", in main()
/freebsd-12.1/crypto/heimdal/lib/gssapi/
H A Dtest_context.c43 static char *type_string; variable
463 {"name-type",0, arg_string, &type_string, "type of name", NULL },
542 if (type_string == NULL) in main()
544 else if (strcmp(type_string, "hostbased-service") == 0) in main()
546 else if (strcmp(type_string, "krb5-principal-name") == 0) in main()
549 errx(1, "%s not suppported", type_string); in main()
/freebsd-12.1/crypto/heimdal/lib/hx509/
H A Dhxtool.c1454 if (opt->type_string) { in crypto_available()
1455 if (strcmp(opt->type_string, "all") == 0) in crypto_available()
1457 else if (strcmp(opt->type_string, "digest") == 0) in crypto_available()
1459 else if (strcmp(opt->type_string, "public-sig") == 0) in crypto_available()
1461 else if (strcmp(opt->type_string, "secret") == 0) in crypto_available()
1464 errx(1, "unknown type: %s", opt->type_string); in crypto_available()
1491 if (opt->type_string) { in crypto_select()
1492 if (strcmp(opt->type_string, "digest") == 0) in crypto_select()
1494 else if (strcmp(opt->type_string, "public-sig") == 0) in crypto_select()
1496 else if (strcmp(opt->type_string, "secret") == 0) in crypto_select()
[all …]
/freebsd-12.1/contrib/gperf/src/
H A Doutput.cc495 output_const_type (const char *const_string, const char *type_string) in output_const_type() argument
497 if (type_string[strlen(type_string)-1] == '*') in output_const_type()
499 printf ("%s %s", type_string, const_string); in output_const_type()
502 printf ("%s%s ", const_string, type_string); in output_const_type()