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

Function bpf_program_buffer_alloc

freebsd/net/bpf.c:337–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335}
336
337static struct bpf_program_buffer*
338bpf_program_buffer_alloc(size_t size, int flags)
339{
340
341 return (malloc(sizeof(struct bpf_program_buffer) + size,
342 M_BPF, flags));
343}
344
345static void
346bpf_program_buffer_free(epoch_context_t ctx)

Callers 1

bpf_setfFunction · 0.85

Calls 1

mallocFunction · 0.85

Tested by

no test coverage detected