| 330 | } |
| 331 | |
| 332 | static 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 | |
| 354 | int 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) |
no test coverage detected