Home
last modified time | relevance | path

Searched refs:received_host (Results 1 – 25 of 27) sorted by relevance

12

/dports/games/3omns/3omns-0.2/n3/tests/
H A Dtest_raw.c72 n3_host received_host; in server() local
78 &received_host in server()
95 test_assert(received_host.address.ss_family == AF_INET in server()
96 || received_host.address.ss_family == AF_INET6, in server()
98 if(received_host.address.ss_family == AF_INET) { in server()
99 test_assert(received_host.size == sizeof(struct sockaddr_in), in server()
103 test_assert(received_host.size == sizeof(struct sockaddr_in6), in server()
117 n3_raw_send(sd, 2, send_bufs, send_sizes, &received_host); in server()
162 n3_host received_host; in client() local
168 &received_host in client()
[all …]
/dports/net/kamailio/kamailio-5.4.5/src/modules/ims_registrar_pcscf/
H A Dservice_routes.c115 str received_host = {0, 0}; in checkcontact() local
148 received_host.s = srcip; in checkcontact()
151 if (c->received_host.len == received_host.len) { in checkcontact()
153 c->received_host.len, c->received_host.s, in checkcontact()
154 received_host.len, received_host.s); in checkcontact()
157 if (!memcmp(c->received_host.s, received_host.s, received_host.len)) { in checkcontact()
229 search_ci.received_host.s = received_host.s; in getContactP()
230 search_ci.received_host.len = received_host.len; in getContactP()
697 received_host.s = srcip; in assert_identity()
775 search_ci.received_host.s = received_host->s; in pcscf_unregister()
[all …]
H A Dsave.c160 ci.received_host.len = 0; in update_contacts()
161 ci.received_host.s = 0; in update_contacts()
177 ci.received_host.s = alias_s.s; in update_contacts()
178 ci.received_host.len = p - alias_s.s; in update_contacts()
179 LM_DBG("alias(host) [%.*s]\n", ci.received_host.len, ci.received_host.s); in update_contacts()
181 p = _strnistr(port_s, "~", alias_s.len - ci.received_host.len); in update_contacts()
324 ci.received_host = parsed_received.host; in save_pending()
328 ci.received_host.len = ip_addr2sbuf(&_m->rcv.src_ip, srcip, in save_pending()
330 ci.received_host.s = srcip; in save_pending()
H A Dims_registrar_pcscf_mod.c523 str received_host; in w_unregister() local
540 if (pv_printf_s(_m, model, &received_host)<0) { in w_unregister()
544 LM_DBG("Received-Host: %.*s\n", received_host.len, received_host.s); in w_unregister()
557 return pcscf_unregister((udomain_t*)_d, &aor, &received_host, port); in w_unregister()
H A Dnotify.c173 ci.received_host.s = val; in process_contact()
174 ci.received_host.len = port - val - 1; in process_contact()
175 … LM_DBG("Setting received host in search to [%.*s]\n", ci.received_host.len, ci.received_host.s); in process_contact()
H A Dservice_routes.h69 int pcscf_unregister(udomain_t* _d, str * uri, str * received_host, int received_port);
/dports/net/kamailio/kamailio-5.4.5/src/modules/ims_usrloc_pcscf/
H A Dpcontact.c170 …*_c = (pcontact_t*)shm_malloc(sizeof(pcontact_t) + _contact->len + _ci->received_host.len + _ci->v… in new_pcontact()
238 if (_ci->received_host.len > 0 && _ci->received_host.s) { in new_pcontact()
239 (*_c)->received_host.s = p; in new_pcontact()
240 memcpy(p, _ci->received_host.s, _ci->received_host.len); in new_pcontact()
241 p += _ci->received_host.len; in new_pcontact()
242 (*_c)->received_host.len = _ci->received_host.len; in new_pcontact()
283 …ontact received host:port:proto: [%.*s:%d:%d]\n", (*_c)->received_host.len, (*_c)->received_host.s… in new_pcontact()
348 _c->received_host.len, _c->received_host.s, in nodb_timer()
H A Dudomain.c459 …contact_info->received_proto, contact_info->received_host.len, contact_info->received_host.s, cont… in get_pcontact()
509 …G("contact received [%d:%.*s:%d]\n", c->received_proto, c->received_host.len, c->received_host.s, … in get_pcontact()
539 if (str2ipxbuf(&c->received_host, &c_ip_addr) < 0){ in get_pcontact()
540 … LM_ERR("Unable to convert c->received_host [%.*s]\n", c->received_host.len, c->received_host.s); in get_pcontact()
545 if(str2ipxbuf(&contact_info->received_host, &ci_ip_addr) < 0){ in get_pcontact()
546 …contact_info->received_host [%.*s]\n", contact_info->received_host.len, contact_info->received_hos… in get_pcontact()
651 LM_DBG("Received host len %d (search %d)\n", c->received_host.len, _host->len); in assert_identity()
653 if (c->received_host.len == _host->len) { in assert_identity()
655 c->received_host.len, c->received_host.s, in assert_identity()
659 if (!memcmp(c->received_host.s, _host->s, _host->len)) { in assert_identity()
[all …]
H A Ddlist.c112 if (c->received_host.s) { in get_all_mem_ucontacts()
113 received_len = snprintf(received_s, sizeof(received_s), "sip:%.*s:%x", c->received_host.len, in get_all_mem_ucontacts()
114 c->received_host.s, c->received_port) - 1; in get_all_mem_ucontacts()
H A Dusrloc.h189 str received_host; member
217 str received_host; /*!< host part of src address where register came from */ member
H A Dusrloc_db.c174 SET_STR_VALUE(values + 3, _c->received_host); in db_update_pcontact()
280 SET_STR_VALUE(GET_FIELD_IDX(values, LP_RECEIVED_IDX), _c->received_host); in db_insert_pcontact()
285 SET_PROPER_NULL_FLAG(_c->received_host, values, LP_RECEIVED_IDX); in db_insert_pcontact()
/dports/net/kamailio/kamailio-5.4.5/src/modules/ims_ipsec_pcscf/
H A Dcmd.c197 ci->received_host.len = p - alias_s.s; in fill_contact()
210 ci->received_host.s = srcip; in fill_contact()
227 …("parsed alias [%d://%.*s:%d]\n", ci->received_proto, ci->received_host.len, ci->received_host.s, … in fill_contact()
236 ci->received_host.s = srcip; in fill_contact()
275 ci->received_host.s = srcip; in fill_contact()
287 ci->received_proto, ci->received_host.len, ci->received_host.s, ci->received_port); in fill_contact()
695 ci.received_proto, ci.received_host.len, ci.received_host.s, ci.received_port); in ipsec_create()
733 ci.received_proto, ci.received_host.len, ci.received_host.s, ci.received_port); in ipsec_create()
766 pkg_free(ci.received_host.s); in ipsec_create()
928 pkg_free(ci.received_host.s);
[all …]
/dports/mail/masqmail/masqmail-0.3.5/src/
H A Daccept.c204 FALSE, msg->received_host); in ensure_return_path()
295 msg->return_path = create_address_qualified(hdr->value, TRUE, msg->received_host); in scan_headers()
378 if (!msg->received_host) { in add_received_hdr()
393 msg->received_host, conf.host_name, in add_received_hdr()
419 if (!msg->received_host) { in accept_message_prepare()
H A Dexpand.c52 msg->received_host ? msg->received_host : "")); in var_table_msg()
H A Dqueue.c168 if (msg->received_host != NULL) in queue_list()
169 host_str = g_strdup_printf(" host=%s", msg->received_host); in queue_list()
H A Dlocal.c192 msg->received_host ? msg->received_host : ""); in pipe_out()
H A Dspool.c171 msg->received_host = g_strdup(&(buf[3])); in spool_read_header()
255 if (msg->received_host != NULL) in spool_write_header()
256 fprintf(out, "RH:%s\n", msg->received_host); in spool_write_header()
H A Dsmtp_in.c236 msg->received_host = remote_host ? g_strdup(remote_host) : NULL; in smtp_in()
H A Dmasqmail.c404 if (msg->received_host || (msg->received_prot != PROT_LOCAL)) { in manipulate_queue()
H A Dmasqmail.h236 gchar *received_host; member
/dports/net/kamailio/kamailio-5.4.5/src/modules/ims_qos/
H A Dcdpeventprocessor.c267 contact_info.received_host = p_session_data->ip; in cdp_cb_event_process()
H A Dims_qos_mod.c1313 contact_info.received_host.s = 0; in w_rx_aar_register()
1314 contact_info.received_host.len = 0; in w_rx_aar_register()
/dports/net/libexosip2/libexosip2-5.3.0/src/
H A Dudp.c1552 static int _eXosip_handle_received_rport(osip_message_t *response, char *received_host, int *rport_… in _eXosip_handle_received_rport() argument
1564 if (received_host == NULL) in _eXosip_handle_received_rport()
1587 snprintf(received_host, 65, "%s", received->gvalue); in _eXosip_handle_received_rport()
1591 snprintf(received_host, 65, "%s", via->host); in _eXosip_handle_received_rport()
1663 …xt, char *buf, size_t length, int socket, char *host, int port, char *received_host, int *rport_po… in _eXosip_handle_incoming_message() argument
1745 _eXosip_handle_received_rport(se->sip, received_host, rport_port); in _eXosip_handle_incoming_message()
H A DeXosip2.h761 …ntext, char *buf, size_t len, int socket, char *host, int port, char *received_host, int *rport_po…
/dports/mail/roundcube/roundcubemail-1.5.1/program/include/
H A Drcmail_sendmail.php577 $http_header .= $this->received_host($hosts[0]) . $nldlm . ' via ';
580 $http_header .= $this->received_host($_SERVER['REMOTE_ADDR']);
596 protected function received_host($host) function in rcmail_sendmail

12