Lines Matching defs:pr
210 int paride_register(PIP * pr)
215 if (protocols[k] && !strcmp(pr->name, protocols[k]->name)) {
217 pr->name);
227 protocols[k] = pr;
228 pr->index = k;
229 printk("paride: %s registered as protocol %d\n", pr->name, k);
235 void paride_unregister(PIP * pr)
237 if (!pr)
239 if (protocols[pr->index] != pr) {
240 printk("paride: %s not registered\n", pr->name);
243 protocols[pr->index] = NULL;