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