Lines Matching refs:method
574 * Allow = "Allow" ":" method-name1[, method-name2..]
575 * method-name = "INVITE" | "ACK" | "OPTIONS" | "CANCEL" | "BYE"
578 sip_add_allow(sip_msg_t sip_msg, sip_method_t method)
582 if (method == 0 || method >= MAX_SIP_METHODS)
584 ret = sip_add_str_to_msg(sip_msg, SIP_ALLOW, sip_methods[method].name,
1062 sip_add_rack(sip_msg_t sip_msg, int resp_num, int cseq, sip_method_t method)
1069 if (sip_msg == NULL || resp_num <= 0 || cseq < 0 || method <= 0 ||
1070 method >= MAX_SIP_METHODS) {
1084 strlen(sip_methods[method].name) + strlen(SIP_CRLF);
1094 sip_methods[method].name, SIP_CRLF);
1305 sip_add_cseq(sip_msg_t sip_msg, sip_method_t method, uint32_t cseq)
1309 if (sip_msg == NULL || (int)cseq < 0 || method == 0 ||
1310 method >= MAX_SIP_METHODS) {
1314 sip_methods[method].name, NULL);