Lines Matching refs:transport
369 struct transport *transport, gfp_t gfp_mask)
376 size = transport->private_size + sizeof(struct uml_net_private);
406 /* This points to the transport private data. It's still clear, but we
430 (*transport->kern->init)(dev, init);
437 .max_packet = transport->user->max_packet,
438 .protocol = transport->kern->protocol,
439 .open = transport->user->open,
440 .close = transport->user->close,
441 .remove = transport->user->remove,
442 .read = transport->kern->read,
443 .write = transport->kern->write,
444 .add_address = transport->user->add_address,
445 .delete_address = transport->user->delete_address });
450 if ((transport->user->init != NULL) &&
451 ((*transport->user->init)(&lp->user, dev) != 0))
454 dev->mtu = transport->user->mtu;
477 if (transport->user->remove != NULL)
478 (*transport->user->remove)(&lp->user);
546 static int check_transport(struct transport *transport, char *eth, int n,
551 len = strlen(transport->name);
552 if (strncmp(eth, transport->name, len))
561 *init_out = kmalloc(transport->setup_size, gfp_mask);
565 if (!transport->setup(eth, mac_out, *init_out)) {
572 void register_transport(struct transport *new)
602 struct transport *transport;
609 transport = list_entry(ele, struct transport, list);
610 if (!check_transport(transport, str, index, &init,
614 eth_configure(index, init, mac, transport, GFP_ATOMIC);
653 "eth[0-9]+=<transport>,<options>\n"