Searched refs:client (Results 26 - 50 of 334) sorted by relevance

1234567891011>>

/freebsd-current/lib/libc/rpc/
H A Dkey_call.c259 CLIENT *client; /* Client handle */ member in struct:key_call_private
274 if (kcp->client)
275 clnt_destroy(kcp->client);
322 kcp->client = NULL;
325 /* if pid has changed, destroy client and rebuild */
326 if (kcp->client != NULL && kcp->pid != getpid()) {
327 clnt_destroy(kcp->client);
328 kcp->client = NULL;
331 if (kcp->client != NULL) {
332 /* if uid has changed, build client handl
[all...]
H A Dclnt_simple.c38 * Simplified front end to client rpc.
65 CLIENT *client; /* Client handle */ member in struct:rpc_call_private
86 if (rcp->client)
87 CLNT_DESTROY(rcp->client);
100 * This is the simplified interface to the client rpc layer.
101 * The client handle is not destroyed here and is reused for
147 rcp->client = NULL;
159 if (rcp->client)
160 CLNT_DESTROY(rcp->client);
164 rcp->client
[all...]
/freebsd-current/crypto/heimdal/lib/krb5/
H A Dtest_renew.c61 krb5_principal client; local
98 ret = krb5_cc_get_principal(context, id, &client);
104 client,
111 if (krb5_principal_compare(context, out.client, client) != TRUE)
H A Dmk_error.c41 const krb5_principal client,
81 if(client){
82 msg.crealm = &client->realm;
83 msg.cname = &client->name;
37 krb5_mk_error(krb5_context context, krb5_error_code error_code, const char *e_text, const krb5_data *e_data, const krb5_principal client, const krb5_principal server, time_t *client_time, int *client_usec, krb5_data *reply) argument
/freebsd-current/tests/sys/net/
H A Dif_stf.sh57 vnet_mkjail client ${epair}b
58 jexec client ifconfig lo0 up
59 jexec client ifconfig ${epair}b 192.0.2.2/24 up
60 stf=$(jexec client ifconfig stf create)
61 jexec client ifconfig $stf inet6 2002:c000:0202::1/32 up
62 jexec client route -6 add default 2002:c000:0201::1
66 jexec client ping -c 1 192.0.2.1
69 jexec client ping6 -c 1 2002:c000:0201::1
73 jexec client ping6 -c 1 2001:db8::1
110 vnet_mkjail client
[all...]
/freebsd-current/tests/sys/net/if_ovpn/
H A DMakefile20 client.crt \
21 client.key \
/freebsd-current/tests/sys/cddl/zfs/tests/acl/
H A Dcleanup.ksh33 # restore the state of svc:/network/nis/client:default
35 log_must $SVCADM enable svc:/network/nis/client:default
/freebsd-current/contrib/libarchive/libarchive/test/
H A Dtest_archive_read_open2.c28 open_cb(struct archive *a, void *client) argument
31 (void)client; /* UNUSED */
35 read_cb(struct archive *a, void *client, const void **buff) argument
38 (void)client; /* UNUSED */
43 skip_cb(struct archive *a, void *client, int64_t request) argument
46 (void)client; /* UNUSED */
51 close_cb(struct archive *a, void *client) argument
54 (void)client; /* UNUSED */
/freebsd-current/crypto/openssh/regress/unittests/kex/
H A Dtest_kex.c56 run_kex(struct ssh *client, struct ssh *server) argument
60 while (!server->kex->done || !client->kex->done) {
63 if ((r = do_send_and_receive(server, client)))
67 if ((r = do_send_and_receive(client, server)))
74 ASSERT_INT_EQ(client->kex->done, 1);
80 struct ssh *client = NULL, *server = NULL, *server2 = NULL; local
102 ASSERT_INT_EQ(ssh_init(&client, 0, &kex_params), 0);
104 ASSERT_PTR_NE(client, NULL);
110 ASSERT_INT_EQ(ssh_add_hostkey(client, public), 0);
114 run_kex(client, serve
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/xattr/
H A Dsetup.ksh37 if svcs svc:/network/nis/client:default | grep -q online
39 svcadm disable -t svc:/network/nis/client:default
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/privilege/
H A Dsetup.ksh39 if svcs svc:/network/nis/client:default | grep -q online
41 svcadm disable svc:/network/nis/client:default
/freebsd-current/contrib/tcp_wrappers/
H A Dtcpdmatch.c64 char *client; local
130 * Default is to specify a client hostname or address. When user@host is
133 if ((client = split_at(argv[optind + 1], '@')) != 0) {
136 client = argv[optind + 1];
221 * If a client address is specified, we simulate the effect of client
224 if (dot_quad_addr(client) != INADDR_NONE) {
225 request_set(&request, RQ_CLIENT_ADDR, client, 0);
234 if (getaddrinfo(client, NULL, &hints, &res) == 0) {
236 request_set(&request, RQ_CLIENT_ADDR, client,
[all...]
H A Drefuse.c31 eval_client(request), eval_hostaddr(request->client));
H A Dtli-sequent.c53 static struct sockaddr_in client; local
67 * Find out the client address using getpeerinaddr(). This call is the
71 len = sizeof(client);
73 if (getpeerinaddr(request->fd, &client, len) < 0) {
74 tcpd_warn("can't get client address: %s", tli_error());
77 request->client->sin = &client;
85 if (client.sin_addr.s_addr == 0) {
132 memcpy(&client,
H A Dupdate.c52 request->client->sin = va_arg(ap, struct sockaddr *);
54 request->client->sin = va_arg(ap, struct sockaddr_in *);
76 ptr = request->client->name;
79 ptr = request->client->addr;
111 request->client->request = request;
/freebsd-current/secure/usr.bin/ssh-add/
H A DMakefile6 SRCS+= ssh-add.c ssh-sk-client.c
/freebsd-current/usr.sbin/ypset/
H A Dypset.c63 CLIENT *client; local
89 client = clntudp_create(sin, YPBINDPROG, YPBINDVERS, tv, &sock);
90 if (client == NULL) {
94 client->cl_auth = authunix_create_default();
96 r = clnt_call(client, YPBINDPROC_SETDOM,
103 clnt_destroy(client);
106 clnt_destroy(client);
/freebsd-current/contrib/wpa/src/crypto/
H A Dtls_internal.c34 struct tlsv1_client *client; member in struct:tls_connection
105 conn->client = tlsv1_client_init();
106 if (conn->client == NULL) {
110 tlsv1_client_set_cb(conn->client, global->event_cb,
155 if (conn->client)
156 tlsv1_client_deinit(conn->client);
169 if (conn->client)
170 return tlsv1_client_established(conn->client);
191 if (conn->client)
192 return tlsv1_client_shutdown(conn->client);
[all...]
/freebsd-current/sbin/dhclient/
H A Dclparse.c55 * client-conf-file :== client-declarations EOF
56 * client-declarations :== <nil>
57 * | client-declaration
58 * | client-declarations client-declaration
73 /* Initialize the top level client configuration. */
124 if (!ifi->client) {
125 ifi->client = malloc(sizeof(struct client_state));
126 if (!ifi->client)
[all...]
/freebsd-current/usr.bin/rpcinfo/
H A Drpcinfo.c364 CLIENT *client; local
389 client = clnt_com_create(&addr, prognum, vers, &fd, trans);
390 rpc_stat = CLNT_CALL(client, NULLPROC, (xdrproc_t) xdr_void,
395 if (pstatus(client, prognum, vers) < 0)
397 (void) CLNT_DESTROY(client);
401 (void) CLNT_CONTROL(client, CLSET_FD_NCLOSE, (char *)NULL);
403 clnt_geterr(client, &rpcerr);
411 (void) CLNT_DESTROY(client);
413 client = clnt_com_create(&addr, prognum, MAX_VERS, &fd, trans);
414 rpc_stat = CLNT_CALL(client, NULLPRO
465 register CLIENT *client; local
673 register CLIENT *client; local
875 register CLIENT *client; local
977 register CLIENT *client; local
1225 CLIENT *client; local
1257 CLIENT *client; local
1359 CLIENT *client; local
1517 pstatus(register CLIENT *client, u_long prog, u_long vers) argument
1571 CLIENT *client = NULL; local
[all...]
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_read.c28 * is, stuff that will probably always be used by any client that
165 r = (self->archive->client.reader)(&self->archive->archive,
178 if (self->archive->client.skipper != NULL) {
188 get = (self->archive->client.skipper)
197 } else if (self->archive->client.seeker != NULL
199 /* If the client provided a seeker but not a skipper,
202 * Note: This isn't always a good idea. The client
211 int64_t after = (self->archive->client.seeker)
228 if (self->archive->client.seeker == NULL) {
230 "Current client reade
1631 struct archive_read_client *client; local
[all...]
/freebsd-current/sys/dev/mlx5/mlx5_fpga/
H A Dmlx5fpga_core.c44 /* protects access between client un/registration and device add/remove calls */
67 mlx5_fpga_dbg(fdev, "Deleting client context %p of client %p\n",
68 context, context->client);
69 if (context->client->destroy)
70 context->client->destroy(fdev);
76 struct mlx5_fpga_client *client,
85 context->client = client;
90 mlx5_fpga_dbg(fdev, "Adding client contex
75 client_context_create(struct mlx5_fpga_device *fdev, struct mlx5_fpga_client *client, struct mlx5_fpga_client_data **pctx) argument
333 struct mlx5_fpga_client *client; local
505 mlx5_fpga_client_register(struct mlx5_fpga_client *client) argument
542 mlx5_fpga_client_unregister(struct mlx5_fpga_client *client) argument
[all...]
/freebsd-current/sys/dev/evdev/
H A Devdev_private.h85 * Client list epoch (l) - Read access to client list.
86 * Client list lock (l) - Write access to client list.
87 * Client queue locks (q) - One lock per client to serialize access to data
238 #define EVDEV_CLIENT_LOCKQ(client) mtx_lock(&(client)->ec_buffer_mtx)
239 #define EVDEV_CLIENT_UNLOCKQ(client) mtx_unlock(&(client)->ec_buffer_mtx)
240 #define EVDEV_CLIENT_LOCKQ_ASSERT(client) \
241 mtx_assert(&(client)->ec_buffer_mtx, MA_OWNED)
242 #define EVDEV_CLIENT_EMPTYQ(client) \
[all...]
/freebsd-current/crypto/heimdal/tools/
H A Dkrb5-config.in81 kadm-client)
82 library=kadm-client
100 echo "libraries: krb5 gssapi kadm-client kadm-server kafs"
128 kadm-client)
/freebsd-current/crypto/heimdal/appl/test/
H A Duu_client.c49 krb5_principal client; local
94 status = krb5_cc_get_principal(context, ccache, &client);
98 krb5_principal_get_realm(context, client),
100 krb5_principal_get_realm(context, client),
104 mcred.client = client;
113 status = krb5_unparse_name(context, cred.client, &client_name);
133 VERSION, client, 0, NULL, &ticket);

Completed in 173 milliseconds

1234567891011>>