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

Function if_setflagbits

freebsd/net/if.c:4161–4168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4159}
4160
4161int
4162if_setflagbits(if_t ifp, int set, int clear)
4163{
4164 ((struct ifnet *)ifp)->if_flags |= set;
4165 ((struct ifnet *)ifp)->if_flags &= ~clear;
4166
4167 return (0);
4168}
4169
4170int
4171if_getflags(if_t ifp)

Callers 1

iflib_if_ioctlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected