Lines Matching refs:transport

370 			  struct transport *transport, gfp_t gfp_mask)  in eth_configure()  argument
377 size = transport->private_size + sizeof(struct uml_net_private); in eth_configure()
431 (*transport->kern->init)(dev, init); in eth_configure()
438 .max_packet = transport->user->max_packet, in eth_configure()
439 .protocol = transport->kern->protocol, in eth_configure()
440 .open = transport->user->open, in eth_configure()
441 .close = transport->user->close, in eth_configure()
442 .remove = transport->user->remove, in eth_configure()
443 .read = transport->kern->read, in eth_configure()
444 .write = transport->kern->write, in eth_configure()
445 .add_address = transport->user->add_address, in eth_configure()
446 .delete_address = transport->user->delete_address }); in eth_configure()
451 if ((transport->user->init != NULL) && in eth_configure()
452 ((*transport->user->init)(&lp->user, dev) != 0)) in eth_configure()
455 dev->mtu = transport->user->mtu; in eth_configure()
478 if (transport->user->remove != NULL) in eth_configure()
479 (*transport->user->remove)(&lp->user); in eth_configure()
547 static int check_transport(struct transport *transport, char *eth, int n, in check_transport() argument
552 len = strlen(transport->name); in check_transport()
553 if (strncmp(eth, transport->name, len)) in check_transport()
562 *init_out = kmalloc(transport->setup_size, gfp_mask); in check_transport()
566 if (!transport->setup(eth, mac_out, *init_out)) { in check_transport()
573 void register_transport(struct transport *new) in register_transport()
603 struct transport *transport; in eth_setup_common() local
610 transport = list_entry(ele, struct transport, list); in eth_setup_common()
611 if (!check_transport(transport, str, index, &init, in eth_setup_common()
615 eth_configure(index, init, mac, transport, GFP_ATOMIC); in eth_setup_common()