Lines Matching defs:_ctrl
706 isccc_sexpr_t *alist, *_ctrl, *_data;
720 _ctrl = isccc_alist_create();
721 if (_ctrl == NULL)
723 if (isccc_alist_define(alist, "_ctrl", _ctrl) == NULL) {
724 isccc_sexpr_free(&_ctrl);
736 if (isccc_cc_defineuint32(_ctrl, "_ser", serial) == NULL ||
737 isccc_cc_defineuint32(_ctrl, "_tim", now) == NULL ||
739 isccc_cc_defineuint32(_ctrl, "_exp", expires) == NULL))
742 isccc_cc_definestring(_ctrl, "_frm", from) == NULL)
745 isccc_cc_definestring(_ctrl, "_to", to) == NULL)
773 isccc_sexpr_t *ack, *_ctrl;
779 _ctrl = isccc_alist_lookup(message, "_ctrl");
780 if (!isccc_alist_alistp(_ctrl) ||
781 isccc_cc_lookupuint32(_ctrl, "_ser", &serial) != ISC_R_SUCCESS ||
782 isccc_cc_lookupuint32(_ctrl, "_tim", &t) != ISC_R_SUCCESS)
788 (void)isccc_cc_lookupstring(_ctrl, "_frm", &_frm);
790 (void)isccc_cc_lookupstring(_ctrl, "_to", &_to);
799 _ctrl = isccc_alist_lookup(ack, "_ctrl");
800 if (_ctrl == NULL) {
821 isccc_sexpr_t *_ctrl;
823 _ctrl = isccc_alist_lookup(message, "_ctrl");
824 if (!isccc_alist_alistp(_ctrl))
826 if (isccc_cc_lookupstring(_ctrl, "_ack", NULL) == ISC_R_SUCCESS)
833 isccc_sexpr_t *_ctrl;
835 _ctrl = isccc_alist_lookup(message, "_ctrl");
836 if (!isccc_alist_alistp(_ctrl))
838 if (isccc_cc_lookupstring(_ctrl, "_rpl", NULL) == ISC_R_SUCCESS)
849 isccc_sexpr_t *alist, *_ctrl, *_data;
854 _ctrl = isccc_alist_lookup(message, "_ctrl");
856 if (!isccc_alist_alistp(_ctrl) || !isccc_alist_alistp(_data) ||
857 isccc_cc_lookupuint32(_ctrl, "_ser", &serial) != ISC_R_SUCCESS ||
864 (void)isccc_cc_lookupstring(_ctrl, "_frm", &_frm);
866 (void)isccc_cc_lookupstring(_ctrl, "_to", &_to);
876 _ctrl = isccc_alist_lookup(alist, "_ctrl");
877 if (_ctrl == NULL) {
888 if (isccc_cc_definestring(_ctrl, "_rpl", "1") == NULL ||
1034 isccc_sexpr_t *_ctrl;
1036 _ctrl = isccc_alist_lookup(message, "_ctrl");
1037 if (!isccc_alist_alistp(_ctrl) ||
1038 isccc_cc_lookupstring(_ctrl, "_ser", &_ser) != ISC_R_SUCCESS ||
1039 isccc_cc_lookupstring(_ctrl, "_tim", &_tim) != ISC_R_SUCCESS)
1049 if (isccc_cc_lookupstring(_ctrl, "_frm", &tmp) != ISC_R_SUCCESS)
1054 if (isccc_cc_lookupstring(_ctrl, "_to", &tmp) != ISC_R_SUCCESS)