MCPcopy Create free account
hub / github.com/SIPp/sipp / buffer_read

Method buffer_read

src/socket.cpp:1981–1997  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1979}
1980
1981void SIPpSocket::buffer_read(struct socketbuf *newbuf)
1982{
1983 struct socketbuf *buf = ss_in;
1984 struct socketbuf *prev = buf;
1985
1986 if (!buf) {
1987 ss_in = newbuf;
1988 return;
1989 }
1990
1991 while (buf->next) {
1992 prev = buf;
1993 buf = buf->next;
1994 }
1995
1996 prev->next = newbuf;
1997}
1998
1999#if defined(USE_OPENSSL) || defined(USE_WOLFSSL)
2000

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected