Lines Matching refs:val

42 sip_get_val_from_hdr(sip_hdr_value_t *val, int val_type, boolean_t stype,
48 if (val == NULL || val->sip_value_state == SIP_VALUE_DELETED) {
54 if (val->sip_value_state == SIP_VALUE_BAD)
59 return (&(val->int_val));
61 return (&(val->str_val));
64 if (val->strs_val.s1.sip_str_ptr != NULL)
65 return (&(val->strs_val.s1));
68 if (val->strs_val.s2.sip_str_ptr != NULL)
69 return (&(val->strs_val.s2));
73 if (val->intstr_str.sip_str_ptr != NULL)
74 return (&(val->intstr_str));
78 return (&(val->intstr_int));
80 return (&(val->auth_val));
419 sip_hdr_value_t *val;
435 val = (sip_hdr_value_t *)sip_get_header_value(header, error);
436 if (val == NULL) {
441 if (error != NULL && val->sip_value.value_state == SIP_VALUE_BAD)
446 return (&(val->cseq_num));
448 return (&(val->cseq_method));
789 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
791 r = (sip_str_t *)sip_get_val_from_hdr(val, SIP_STR_VAL, B_TRUE, error);
828 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
830 r = (sip_str_t *)sip_get_val_from_hdr(val, SIP_STRS_VAL, B_TRUE, error);
841 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
843 r = (sip_str_t *)sip_get_val_from_hdr(val, SIP_STRS_VAL, B_FALSE,
855 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
857 r = (sip_str_t *)sip_get_val_from_hdr(val, SIP_STR_VAL, B_FALSE, error);
868 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
870 r = (sip_str_t *)sip_get_val_from_hdr(val, SIP_STR_VAL, B_FALSE, error);
881 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
883 r = (sip_str_t *)sip_get_val_from_hdr(val, SIP_STR_VAL, B_FALSE, error);
894 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
896 r = (int *)sip_get_val_from_hdr(val, SIP_INT_VAL, B_FALSE, error);
907 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
909 r = (sip_str_t *)sip_get_val_from_hdr(val, SIP_STR_VAL, B_FALSE, error);
933 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
935 r = (sip_str_t *)sip_get_val_from_hdr(val, SIP_STR_VAL, B_FALSE, error);
946 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
948 r = (sip_str_t *)sip_get_val_from_hdr(val, SIP_STR_VAL, B_FALSE, error);
969 sip_hdr_value_t *val;
985 val = (sip_hdr_value_t *)sip_get_header_value(header, error);
986 if (val == NULL) {
991 if (error != NULL && val->sip_value.value_state == SIP_VALUE_BAD)
995 return (&(val->date_t));
997 return (&(val->date_d));
999 return (&(val->date_m));
1001 return (&(val->date_y));
1003 return (&(val->date_wd));
1005 return (&(val->date_tz));
1091 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
1093 r = (sip_str_t *)sip_get_val_from_hdr(val, SIP_STR_VAL, B_FALSE, error);
1104 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
1106 r = (sip_str_t *)sip_get_val_from_hdr(val, SIP_STR_VAL, B_FALSE, error);
1132 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
1134 r = (sip_str_t *)sip_get_val_from_hdr(val, SIP_STR_VAL, B_FALSE, error);
1199 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
1201 r = (sip_str_t *)sip_get_val_from_hdr(val, SIP_STRS_VAL, B_TRUE, error);
1213 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
1215 r = (sip_str_t *)sip_get_val_from_hdr(val, SIP_STRS_VAL, B_FALSE,
1268 sip_hdr_value_t *val;
1284 val = (sip_hdr_value_t *)sip_get_header_value(header, error);
1285 if (val == NULL) {
1290 if (error != NULL && val->sip_value.value_state == SIP_VALUE_BAD)
1295 return (&(val->rack_resp));
1297 return (&(val->rack_cseq));
1299 return (&(val->rack_method));
1393 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
1395 r = (sip_str_t *)sip_get_val_from_hdr(val, SIP_STR_VAL, B_FALSE, error);
1447 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
1449 r = (sip_str_t *)sip_get_val_from_hdr(val, SIP_STR_VAL, B_FALSE, error);
1486 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
1488 r = (sip_str_t *)sip_get_val_from_hdr(val, SIP_STR_VAL, B_FALSE, error);
1528 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
1533 if (val == NULL) {
1539 if (val->sip_value_state == SIP_VALUE_BAD) {
1546 return (&(val->warn_code));
1548 return (&(val->warn_agt));
1550 return (&(val->warn_text));
1684 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
1693 r = sip_get_val_from_hdr(val, SIP_STR_VAL, B_FALSE, error);
1754 sip_hdr_value_t *val = (sip_hdr_value_t *)value;
1763 r = sip_get_val_from_hdr(val, SIP_STR_VAL, B_FALSE, error);