Changeset c62a8275 in mainline for uspace/srv/net/ethip/ethip.c
- Timestamp:
- 2014-09-01T11:17:23Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a4666a9
- Parents:
- f93ba6d (diff), 320bd52 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/ethip/ethip.c
rf93ba6d rc62a8275 59 59 static int ethip_get_mtu(iplink_srv_t *srv, size_t *mtu); 60 60 static int ethip_get_mac48(iplink_srv_t *srv, addr48_t *mac); 61 static int ethip_set_mac48(iplink_srv_t *srv, addr48_t *mac); 61 62 static int ethip_addr_add(iplink_srv_t *srv, inet_addr_t *addr); 62 63 static int ethip_addr_remove(iplink_srv_t *srv, inet_addr_t *addr); … … 71 72 .get_mtu = ethip_get_mtu, 72 73 .get_mac48 = ethip_get_mac48, 74 .set_mac48 = ethip_set_mac48, 73 75 .addr_add = ethip_addr_add, 74 76 .addr_remove = ethip_addr_remove … … 284 286 } 285 287 288 static int ethip_set_mac48(iplink_srv_t *srv, addr48_t *mac) 289 { 290 log_msg(LOG_DEFAULT, LVL_DEBUG, "ethip_set_mac48()"); 291 292 ethip_nic_t *nic = (ethip_nic_t *) srv->arg; 293 addr48(*mac, nic->mac_addr); 294 295 return EOK; 296 } 297 286 298 static int ethip_addr_add(iplink_srv_t *srv, inet_addr_t *addr) 287 299 {
Note:
See TracChangeset
for help on using the changeset viewer.