Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/wan/
Dhdlc_ppp.c76 struct proto protos[IDX_COUNT]; member
118 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()
/linux-3.4.99/net/netfilter/ipvs/
Dip_vs_proto.c323 static struct ip_vs_protocol *protos[] = { in ip_vs_protocol_net_init() local
341 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()
/linux-3.4.99/drivers/isdn/i4l/
Disdn_ppp.c592 unsigned long protos[8] = {0,}; in isdn_ppp_ioctl() local
598 protos[j] |= (0x1 << i); in isdn_ppp_ioctl()
601 if ((r = set_arg(argp, protos, 8 * sizeof(long)))) in isdn_ppp_ioctl()