MCPcopy Create free account
hub / github.com/esnet/iperf / protocol_new

Function protocol_new

src/iperf_api.c:3230–3242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3228/**************************************************************************/
3229
3230struct protocol *
3231protocol_new(void)
3232{
3233 struct protocol *proto;
3234
3235 proto = malloc(sizeof(struct protocol));
3236 if(!proto) {
3237 return NULL;
3238 }
3239 memset(proto, 0, sizeof(struct protocol));
3240
3241 return proto;
3242}
3243
3244void
3245protocol_free(struct protocol *proto)

Callers 1

iperf_defaultsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…