Lines Matching refs:protocol
16 * get protocol handler
23 static int ceph_auth_init_protocol(struct ceph_auth_client *ac, int protocol)
25 switch (protocol) {
95 * Initiate protocol negotiation with monitor. Include entity name
110 ceph_encode_32(&p, 0); /* no protocol, yet */
148 ceph_encode_32(&p, ac->protocol);
170 int protocol;
181 protocol = ceph_decode_32(&p);
206 if (!protocol && result < 0) {
210 /* set up (new) protocol handler? */
211 if (ac->protocol && ac->protocol != protocol) {
213 ac->protocol = 0;
216 if (ac->protocol != protocol) {
217 ret = ceph_auth_init_protocol(ac, protocol);
219 pr_err("error %d on auth protocol %d init\n",
220 ret, protocol);
246 if (!ac->protocol)