Lines Matching defs:_ctrl
662 isccc_sexpr_t *alist, *_ctrl, *_data;
678 _ctrl = isccc_alist_create();
679 if (_ctrl == NULL) {
682 if (isccc_alist_define(alist, "_ctrl", _ctrl) == NULL) {
683 isccc_sexpr_free(&_ctrl);
696 if (isccc_cc_defineuint32(_ctrl, "_ser", serial) == NULL ||
697 isccc_cc_defineuint32(_ctrl, "_tim", now) == NULL ||
699 isccc_cc_defineuint32(_ctrl, "_exp", expires) == NULL))
703 if (from != NULL && isccc_cc_definestring(_ctrl, "_frm", from) == NULL)
707 if (to != NULL && isccc_cc_definestring(_ctrl, "_to", to) == NULL) {
733 isccc_sexpr_t *ack, *_ctrl;
739 _ctrl = isccc_alist_lookup(message, "_ctrl");
740 if (!isccc_alist_alistp(_ctrl) ||
741 isccc_cc_lookupuint32(_ctrl, "_ser", &serial) != ISC_R_SUCCESS ||
742 isccc_cc_lookupuint32(_ctrl, "_tim", &t) != ISC_R_SUCCESS)
750 (void)isccc_cc_lookupstring(_ctrl, "_frm", &_frm);
752 (void)isccc_cc_lookupstring(_ctrl, "_to", &_to);
762 _ctrl = isccc_alist_lookup(ack, "_ctrl");
763 if (_ctrl == NULL) {
784 isccc_sexpr_t *_ctrl;
786 _ctrl = isccc_alist_lookup(message, "_ctrl");
787 if (!isccc_alist_alistp(_ctrl)) {
790 if (isccc_cc_lookupstring(_ctrl, "_ack", NULL) == ISC_R_SUCCESS) {
798 isccc_sexpr_t *_ctrl;
800 _ctrl = isccc_alist_lookup(message, "_ctrl");
801 if (!isccc_alist_alistp(_ctrl)) {
804 if (isccc_cc_lookupstring(_ctrl, "_rpl", NULL) == ISC_R_SUCCESS) {
815 isccc_sexpr_t *alist, *_ctrl, *_data;
820 _ctrl = isccc_alist_lookup(message, "_ctrl");
822 if (!isccc_alist_alistp(_ctrl) || !isccc_alist_alistp(_data) ||
823 isccc_cc_lookupuint32(_ctrl, "_ser", &serial) != ISC_R_SUCCESS ||
832 (void)isccc_cc_lookupstring(_ctrl, "_frm", &_frm);
834 (void)isccc_cc_lookupstring(_ctrl, "_to", &_to);
845 _ctrl = isccc_alist_lookup(alist, "_ctrl");
846 if (_ctrl == NULL) {
857 if (isccc_cc_definestring(_ctrl, "_rpl", "1") == NULL ||
1006 isccc_sexpr_t *_ctrl;
1008 _ctrl = isccc_alist_lookup(message, "_ctrl");
1009 if (!isccc_alist_alistp(_ctrl) ||
1010 isccc_cc_lookupstring(_ctrl, "_ser", &_ser) != ISC_R_SUCCESS ||
1011 isccc_cc_lookupstring(_ctrl, "_tim", &_tim) != ISC_R_SUCCESS)
1023 if (isccc_cc_lookupstring(_ctrl, "_frm", &tmp) != ISC_R_SUCCESS) {
1030 if (isccc_cc_lookupstring(_ctrl, "_to", &tmp) != ISC_R_SUCCESS) {