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

Function in_pcbwild_update_internal

freebsd/netinet/in_pcbgroup.c:387–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385}
386
387static void
388in_pcbwild_update_internal(struct inpcb *inp)
389{
390 int wildcard_needed;
391
392 wildcard_needed = in_pcbwild_needed(inp);
393 if (wildcard_needed && !(inp->inp_flags2 & INP_PCBGROUPWILD))
394 in_pcbwild_add(inp);
395 else if (!wildcard_needed && (inp->inp_flags2 & INP_PCBGROUPWILD))
396 in_pcbwild_remove(inp);
397}
398
399/*
400 * Update the pcbgroup of an inpcb, which might include removing an old

Callers 2

in_pcbgroup_updateFunction · 0.85
in_pcbgroup_update_mbufFunction · 0.85

Calls 3

in_pcbwild_neededFunction · 0.85
in_pcbwild_addFunction · 0.85
in_pcbwild_removeFunction · 0.85

Tested by

no test coverage detected