Searched refs:npi (Results 1 – 5 of 5) sorted by relevance
621 struct npioctl npi; in ppp_ioctl() local782 if (copy_from_user(&npi, argp, sizeof(npi))) in ppp_ioctl()784 err = proto_to_npindex(npi.protocol); in ppp_ioctl()790 npi.mode = ppp->npmode[i]; in ppp_ioctl()791 if (copy_to_user(argp, &npi, sizeof(npi))) in ppp_ioctl()794 ppp->npmode[i] = npi.mode; in ppp_ioctl()1320 int npi, proto; in ppp_start_xmit() local1323 npi = ethertype_to_npindex(ntohs(skb->protocol)); in ppp_start_xmit()1324 if (npi < 0) in ppp_start_xmit()1328 switch (ppp->npmode[npi]) { in ppp_start_xmit()[all …]
620 if (port == ocelot->npi) in ocelot_fdb_add()1094 if (port == ocelot->npi) in ocelot_port_mdb_add()1146 if (port == ocelot->npi) in ocelot_port_mdb_del()1360 if (port == ocelot->npi) { in ocelot_port_set_maxlen()1392 if (port == ocelot->npi) { in ocelot_get_max_mtu()
1262 ocelot->npi = -1; in mscc_ocelot_probe()
1034 uint64_t npi:1; member1069 uint64_t npi:1; member1104 uint64_t npi:1; member1135 uint64_t npi:1; member
561 ocelot->npi = port; in felix_npi_port_init()