Lines Matching refs:inet6_protocol
43 struct inet6_protocol *inet6_protos[MAX_INET_PROTOS];
45 void inet6_add_protocol(struct inet6_protocol *prot) in inet6_add_protocol()
48 struct inet6_protocol *p2; in inet6_add_protocol()
60 p2 = (struct inet6_protocol *) prot->next; in inet6_add_protocol()
66 p2 = (struct inet6_protocol *) p2->next; in inet6_add_protocol()
75 int inet6_del_protocol(struct inet6_protocol *prot) in inet6_del_protocol()
77 struct inet6_protocol *p; in inet6_del_protocol()
78 struct inet6_protocol *lp = NULL; in inet6_del_protocol()
84 inet6_protos[hash] = (struct inet6_protocol *) inet6_protos[hash]->next; in inet6_del_protocol()
89 p = (struct inet6_protocol *) inet6_protos[hash]; in inet6_del_protocol()
114 p = (struct inet6_protocol *) p->next; in inet6_del_protocol()