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

Function accept_filt_get

freebsd/kern/uipc_accf.c:113–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113struct accept_filter *
114accept_filt_get(char *name)
115{
116 struct accept_filter *p;
117
118 ACCEPT_FILTER_LOCK();
119 SLIST_FOREACH(p, &accept_filtlsthd, accf_next)
120 if (strcmp(p->accf_name, name) == 0)
121 break;
122 ACCEPT_FILTER_UNLOCK();
123
124 return (p);
125}
126
127int
128accept_filt_generic_mod_event(module_t mod, int event, void *data)

Callers 2

accept_filt_delFunction · 0.85
accept_filt_setoptFunction · 0.85

Calls 1

strcmpFunction · 0.85

Tested by

no test coverage detected