Searched refs:protos (Results 1 – 3 of 3) sorted by relevance
76 struct proto protos[IDX_COUNT]; member118 return &ppp->protos[IDX_LCP]; in get_proto()120 return &ppp->protos[IDX_IPCP]; in get_proto()122 return &ppp->protos[IDX_IPV6CP]; in get_proto()459 if (ppp->protos[IDX_LCP].state == OPENED) in ppp_rx()611 struct proto *proto = &ppp->protos[i]; in ppp_start()618 ppp->protos[IDX_LCP].pid = PID_LCP; in ppp_start()619 ppp->protos[IDX_IPCP].pid = PID_IPCP; in ppp_start()620 ppp->protos[IDX_IPV6CP].pid = PID_IPV6CP; in ppp_start()
323 static struct ip_vs_protocol *protos[] = { in ip_vs_protocol_net_init() local341 for (i = 0; i < ARRAY_SIZE(protos); i++) { in ip_vs_protocol_net_init()342 ret = register_ip_vs_proto_netns(net, protos[i]); in ip_vs_protocol_net_init()
592 unsigned long protos[8] = {0,}; in isdn_ppp_ioctl() local598 protos[j] |= (0x1 << i); in isdn_ppp_ioctl()601 if ((r = set_arg(argp, protos, 8 * sizeof(long)))) in isdn_ppp_ioctl()