MCPcopy Index your code
hub / github.com/F-Stack/f-stack / oid_fill

Function oid_fill

tools/ipfw/dummynet.c:130–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128#define O_NEXT(p, len) ((void *)((char *)p + len))
129
130static void
131oid_fill(struct dn_id *oid, int len, int type, uintptr_t id)
132{
133 oid->len = len;
134 oid->type = type;
135 oid->subtype = 0;
136 oid->id = id;
137}
138
139/* make room in the buffer and move the pointer forward */
140static void *

Callers 5

o_nextFunction · 0.70
get_extra_parmsFunction · 0.70
ipfw_delete_pipeFunction · 0.70
dummynet_flushFunction · 0.70
dummynet_listFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected