Lines Matching refs:_ctrl
472 isccc_sexpr_t *alist, *_ctrl, *_data;
486 _ctrl = isccc_alist_create();
487 if (_ctrl == NULL)
489 if (isccc_alist_define(alist, "_ctrl", _ctrl) == NULL) {
490 isccc_sexpr_free(&_ctrl);
502 if (isccc_cc_defineuint32(_ctrl, "_ser", serial) == NULL ||
503 isccc_cc_defineuint32(_ctrl, "_tim", now) == NULL ||
505 isccc_cc_defineuint32(_ctrl, "_exp", expires) == NULL))
508 isccc_cc_definestring(_ctrl, "_frm", from) == NULL)
511 isccc_cc_definestring(_ctrl, "_to", to) == NULL)
539 isccc_sexpr_t *ack, *_ctrl;
545 _ctrl = isccc_alist_lookup(message, "_ctrl");
546 if (_ctrl == NULL ||
547 isccc_cc_lookupuint32(_ctrl, "_ser", &serial) != ISC_R_SUCCESS ||
548 isccc_cc_lookupuint32(_ctrl, "_tim", &t) != ISC_R_SUCCESS)
554 (void)isccc_cc_lookupstring(_ctrl, "_frm", &_frm);
556 (void)isccc_cc_lookupstring(_ctrl, "_to", &_to);
565 _ctrl = isccc_alist_lookup(ack, "_ctrl");
566 if (_ctrl == NULL) {
588 isccc_sexpr_t *_ctrl;
590 _ctrl = isccc_alist_lookup(message, "_ctrl");
591 if (_ctrl == NULL)
593 if (isccc_cc_lookupstring(_ctrl, "_ack", NULL) == ISC_R_SUCCESS)
601 isccc_sexpr_t *_ctrl;
603 _ctrl = isccc_alist_lookup(message, "_ctrl");
604 if (_ctrl == NULL)
606 if (isccc_cc_lookupstring(_ctrl, "_rpl", NULL) == ISC_R_SUCCESS)
617 isccc_sexpr_t *alist, *_ctrl, *_data;
622 _ctrl = isccc_alist_lookup(message, "_ctrl");
624 if (_ctrl == NULL || _data == NULL ||
625 isccc_cc_lookupuint32(_ctrl, "_ser", &serial) != ISC_R_SUCCESS ||
632 (void)isccc_cc_lookupstring(_ctrl, "_frm", &_frm);
634 (void)isccc_cc_lookupstring(_ctrl, "_to", &_to);
644 _ctrl = isccc_alist_lookup(alist, "_ctrl");
645 if (_ctrl == NULL) {
656 if (isccc_cc_definestring(_ctrl, "_rpl", "1") == NULL ||
810 isccc_sexpr_t *_ctrl;
812 _ctrl = isccc_alist_lookup(message, "_ctrl");
813 if (_ctrl == NULL ||
814 isccc_cc_lookupstring(_ctrl, "_ser", &_ser) != ISC_R_SUCCESS ||
815 isccc_cc_lookupstring(_ctrl, "_tim", &_tim) != ISC_R_SUCCESS)
825 if (isccc_cc_lookupstring(_ctrl, "_frm", &tmp) != ISC_R_SUCCESS)
830 if (isccc_cc_lookupstring(_ctrl, "_to", &tmp) != ISC_R_SUCCESS)