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

Function gencookie

modules/rtpproxy/rtpproxy.c:2031–2038  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2029}
2030
2031static void gencookie(struct iovec *cv)
2032{
2033 static char cook[34];
2034
2035 cv->iov_len = sprintf(cook, "%d_%d_%u ", (int)mypid, myrand, myseqn);
2036 cv->iov_base = cook;
2037 myseqn++;
2038}
2039
2040static int
2041rtpp_checkcap(struct rtpp_node *node, char *cap, int caplen)

Callers 1

send_rtpp_commandFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected