Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ppp/
A Dpppox.c35 static const struct pppox_proto *pppox_protos[PX_MAX_PROTO + 1]; variable
41 if (pppox_protos[proto_num]) in register_pppox_proto()
43 pppox_protos[proto_num] = pp; in register_pppox_proto()
50 pppox_protos[proto_num] = NULL; in unregister_pppox_proto()
92 rc = pppox_protos[sk->sk_protocol]->ioctl ? in pppox_ioctl()
93 pppox_protos[sk->sk_protocol]->ioctl(sock, cmd, arg) : -ENOTTY; in pppox_ioctl()
123 if (!pppox_protos[protocol]) in pppox_create()
125 if (!pppox_protos[protocol] || in pppox_create()
126 !try_module_get(pppox_protos[protocol]->owner)) in pppox_create()
129 rc = pppox_protos[protocol]->create(net, sock, kern); in pppox_create()
[all …]

Completed in 3 milliseconds