MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / unpack_update_fields

Function unpack_update_fields

modules/b2b_entities/b2be_clustering.c:332–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330}
331
332static inline void unpack_update_fields(bin_packet_t *packet, b2b_dlg_t *dlg)
333{
334 str s;
335
336 bin_skip_str(packet, NO_REPL_CONSTANT_STRS);
337
338 bin_pop_int(packet, &dlg->state);
339 bin_pop_int(packet, &dlg->cseq[0]);
340 bin_pop_int(packet, &dlg->cseq[1]);
341 bin_pop_int(packet, &dlg->last_method);
342 bin_pop_int(packet, &dlg->last_reply_code);
343 bin_pop_int(packet, &dlg->last_invite_cseq);
344
345 bin_skip_str(packet, 2);
346
347 bin_pop_str(packet, &s);
348 if (s.s) {
349 bin_skip_int(packet, 1);
350 bin_skip_str(packet, 2);
351 }
352}
353
354int receive_entity_create(bin_packet_t *packet, b2b_dlg_t *dlg, int type,
355 b2b_table htable, unsigned int hash_index, unsigned int local_index)

Callers 2

receive_entity_createFunction · 0.85
receive_entity_updateFunction · 0.85

Calls 4

bin_skip_strFunction · 0.85
bin_pop_intFunction · 0.85
bin_pop_strFunction · 0.85
bin_skip_intFunction · 0.85

Tested by

no test coverage detected