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

Function if_setcapenable

freebsd/net/if.c:4082–4087  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4080}
4081
4082int
4083if_setcapenable(if_t ifp, int capabilities)
4084{
4085 ((struct ifnet *)ifp)->if_capenable = capabilities;
4086 return (0);
4087}
4088
4089int
4090if_setcapenablebit(if_t ifp, int setcap, int clearcap)

Callers 5

gen_attachFunction · 0.85
gen_ioctlFunction · 0.85
awg_attachFunction · 0.85
iflib_device_registerFunction · 0.85
iflib_pseudo_registerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected