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

Function set_len

bin_interface.c:35–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33static struct packet_cb_list *reg_cbs;
34
35void set_len(bin_packet_t *packet) {
36 memcpy(packet->buffer.s + BIN_PACKET_MARKER_SIZE, &packet->buffer.len, sizeof(unsigned int));
37}
38
39/**
40 * _bin_init - begins the construction of a new binary packet (header part):

Callers 6

_bin_initFunction · 0.85
bin_append_bufferFunction · 0.85
bin_push_strFunction · 0.85
bin_push_intFunction · 0.85
bin_skip_int_packet_endFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected