Home
last modified time | relevance | path

Searched refs:pppox_protos (Results 1 – 1 of 1) sorted by relevance

/drivers/net/ppp/
Dpppox.c40 static const struct pppox_proto *pppox_protos[PX_MAX_PROTO + 1]; variable
46 if (pppox_protos[proto_num]) in register_pppox_proto()
48 pppox_protos[proto_num] = pp; in register_pppox_proto()
55 pppox_protos[proto_num] = NULL; in unregister_pppox_proto()
97 rc = pppox_protos[sk->sk_protocol]->ioctl ? in pppox_ioctl()
98 pppox_protos[sk->sk_protocol]->ioctl(sock, cmd, arg) : -ENOTTY; in pppox_ioctl()
128 if (!pppox_protos[protocol]) in pppox_create()
130 if (!pppox_protos[protocol] || in pppox_create()
131 !try_module_get(pppox_protos[protocol]->owner)) in pppox_create()
134 rc = pppox_protos[protocol]->create(net, sock, kern); in pppox_create()
[all …]