Lines Matching refs:_ctrl

474 	isccc_sexpr_t *alist, *_ctrl, *_data;
488 _ctrl = isccc_alist_create();
489 if (_ctrl == NULL)
491 if (isccc_alist_define(alist, "_ctrl", _ctrl) == NULL) {
492 isccc_sexpr_free(&_ctrl);
504 if (isccc_cc_defineuint32(_ctrl, "_ser", serial) == NULL ||
505 isccc_cc_defineuint32(_ctrl, "_tim", now) == NULL ||
507 isccc_cc_defineuint32(_ctrl, "_exp", expires) == NULL))
510 isccc_cc_definestring(_ctrl, "_frm", from) == NULL)
513 isccc_cc_definestring(_ctrl, "_to", to) == NULL)
541 isccc_sexpr_t *ack, *_ctrl;
547 _ctrl = isccc_alist_lookup(message, "_ctrl");
548 if (!isccc_alist_alistp(_ctrl) ||
549 isccc_cc_lookupuint32(_ctrl, "_ser", &serial) != ISC_R_SUCCESS ||
550 isccc_cc_lookupuint32(_ctrl, "_tim", &t) != ISC_R_SUCCESS)
556 (void)isccc_cc_lookupstring(_ctrl, "_frm", &_frm);
558 (void)isccc_cc_lookupstring(_ctrl, "_to", &_to);
567 _ctrl = isccc_alist_lookup(ack, "_ctrl");
568 if (_ctrl == NULL) {
590 isccc_sexpr_t *_ctrl;
592 _ctrl = isccc_alist_lookup(message, "_ctrl");
593 if (!isccc_alist_alistp(_ctrl))
595 if (isccc_cc_lookupstring(_ctrl, "_ack", NULL) == ISC_R_SUCCESS)
603 isccc_sexpr_t *_ctrl;
605 _ctrl = isccc_alist_lookup(message, "_ctrl");
606 if (!isccc_alist_alistp(_ctrl))
608 if (isccc_cc_lookupstring(_ctrl, "_rpl", NULL) == ISC_R_SUCCESS)
619 isccc_sexpr_t *alist, *_ctrl, *_data;
624 _ctrl = isccc_alist_lookup(message, "_ctrl");
626 if (!isccc_alist_alistp(_ctrl) || !isccc_alist_alistp(_data) ||
627 isccc_cc_lookupuint32(_ctrl, "_ser", &serial) != ISC_R_SUCCESS ||
634 (void)isccc_cc_lookupstring(_ctrl, "_frm", &_frm);
636 (void)isccc_cc_lookupstring(_ctrl, "_to", &_to);
646 _ctrl = isccc_alist_lookup(alist, "_ctrl");
647 if (_ctrl == NULL) {
658 if (isccc_cc_definestring(_ctrl, "_rpl", "1") == NULL ||
812 isccc_sexpr_t *_ctrl;
814 _ctrl = isccc_alist_lookup(message, "_ctrl");
815 if (!isccc_alist_alistp(_ctrl) ||
816 isccc_cc_lookupstring(_ctrl, "_ser", &_ser) != ISC_R_SUCCESS ||
817 isccc_cc_lookupstring(_ctrl, "_tim", &_tim) != ISC_R_SUCCESS)
827 if (isccc_cc_lookupstring(_ctrl, "_frm", &tmp) != ISC_R_SUCCESS)
832 if (isccc_cc_lookupstring(_ctrl, "_to", &tmp) != ISC_R_SUCCESS)