Lines Matching refs:ppp_net
152 struct net *ppp_net; /* the net we belong to */ member
212 struct ppp_net { struct
286 static struct ppp *ppp_find_unit(struct ppp_net *pn, int unit);
287 static struct channel *ppp_find_channel(struct ppp_net *pn, int unit);
304 static inline struct ppp_net *ppp_pernet(struct net *net) in ppp_pernet()
753 struct ppp_net *pn; in ppp_ioctl()
1052 struct ppp_net *pn; in ppp_unattached_ioctl()
1124 struct ppp_net *pn = net_generic(net, ppp_net_id); in ppp_init_net()
1139 struct ppp_net *pn = net_generic(net, ppp_net_id); in ppp_exit_net()
1170 .size = sizeof(struct ppp_net),
1175 struct ppp_net *pn = ppp_pernet(ppp->ppp_net); in ppp_unit_register()
1187 if (!netdev_name_in_use(ppp->ppp_net, ppp->dev->name)) in ppp_unit_register()
1245 ppp->ppp_net = src_net; in ppp_dev_configure()
1375 return READ_ONCE(ppp->ppp_net); in ppp_nl_get_link_net()
1475 skb_scrub_packet(skb, !net_eq(ppp->ppp_net, dev_net(dev))); in ppp_start_xmit()
1570 struct ppp_net *pn = ppp_pernet(ppp->ppp_net); in ppp_dev_uninit()
2519 skb_scrub_packet(skb, !net_eq(ppp->ppp_net, in ppp_receive_nonmp_frame()
2895 struct ppp_net *pn; in ppp_register_net_channel()
2980 struct ppp_net *pn; in ppp_unregister_channel()
3428 ppp_find_unit(struct ppp_net *pn, int unit) in ppp_find_unit()
3442 ppp_find_channel(struct ppp_net *pn, int unit) in ppp_find_channel()
3468 struct ppp_net *pn; in ppp_connect_channel()