MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sctp_alloc_chunklist

Function sctp_alloc_chunklist

freebsd/netinet/sctp_auth.c:61–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61sctp_auth_chklist_t *
62sctp_alloc_chunklist(void)
63{
64 sctp_auth_chklist_t *chklist;
65
66 SCTP_MALLOC(chklist, sctp_auth_chklist_t *, sizeof(*chklist),
67 SCTP_M_AUTH_CL);
68 if (chklist == NULL) {
69 SCTPDBG(SCTP_DEBUG_AUTH1, "sctp_alloc_chunklist: failed to get memory!\n");
70 } else {
71 sctp_clear_chunklist(chklist);
72 }
73 return (chklist);
74}
75
76void
77sctp_free_chunklist(sctp_auth_chklist_t *list)

Callers 4

sctp_inpcb_allocFunction · 0.85
sctp_copy_chunklistFunction · 0.85

Calls 1

sctp_clear_chunklistFunction · 0.85

Tested by

no test coverage detected