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

/linux-4.4.14/drivers/net/ppp/
H A Dpppox.c39 static const struct pppox_proto *pppox_protos[PX_MAX_PROTO + 1]; variable in typeref:struct:pppox_proto
45 if (pppox_protos[proto_num]) register_pppox_proto()
47 pppox_protos[proto_num] = pp; register_pppox_proto()
54 pppox_protos[proto_num] = NULL; unregister_pppox_proto()
96 rc = pppox_protos[sk->sk_protocol]->ioctl ? pppox_ioctl()
97 pppox_protos[sk->sk_protocol]->ioctl(sock, cmd, arg) : -ENOTTY; pppox_ioctl()
115 if (!pppox_protos[protocol]) pppox_create()
117 if (!pppox_protos[protocol] || pppox_create()
118 !try_module_get(pppox_protos[protocol]->owner)) pppox_create()
121 rc = pppox_protos[protocol]->create(net, sock, kern); pppox_create()
123 module_put(pppox_protos[protocol]->owner); pppox_create()

Completed in 32 milliseconds