Lines Matching refs:ext
72 npf_extmod_t *ext;
82 ext = ecalloc(1, sizeof(npf_extmod_t));
83 ext->name = estrdup(name);
84 ext->init = npf_extmod_sym(handle, name, "init");
85 ext->cons = npf_extmod_sym(handle, name, "construct");
86 ext->param = npf_extmod_sym(handle, name, "param");
89 if (ext->init() != 0) {
90 free(ext);
94 ext->next = npf_extmod_list;
95 npf_extmod_list = ext;
96 return ext;
121 npf_extmod_param(npf_extmod_t *extmod, nl_ext_t *ext,
124 return extmod->param(ext, param, val);