Changeset ee2fa30a in mainline for uspace/srv/net
- Timestamp:
- 2011-06-22T23:28:56Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b366a6f4
- Parents:
- ef09a7a
- Location:
- uspace/srv/net
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/net/net.c
ref09a7a ree2fa30a 479 479 480 480 /* Network interface layer startup */ 481 services_t internet_service; 481 482 if (netif->nil) { 482 483 setting = measured_strings_find(&netif->configuration, (uint8_t *) CONF_MTU, 0); … … 486 487 487 488 int mtu = setting ? strtol((char *) setting->value, NULL, 10) : 0; 488 489 rc = nil_device_req(netif->nil->sess, netif->id, mtu);489 rc = nil_device_req(netif->nil->sess, netif->id, mtu, 490 netif->driver->service); 490 491 if (rc != EOK) 491 492 return rc; 492 } 493 494 internet_service = netif->nil->service; 495 } else 496 internet_service = netif->driver->service; 493 497 494 498 /* Inter-network layer startup */ 495 rc = ip_device_req(netif->il->sess, netif->id );499 rc = ip_device_req(netif->il->sess, netif->id, internet_service); 496 500 if (rc != EOK) 497 501 return rc; -
uspace/srv/net/netif/lo/lo.c
ref09a7a ree2fa30a 225 225 { 226 226 /* Start the module */ 227 return netif_module_start( SERVICE_NILDUMMY);227 return netif_module_start(); 228 228 } 229 229
Note:
See TracChangeset
for help on using the changeset viewer.