Changeset b4edc96 in mainline for uspace/srv/net/loopip/loopip.c
- Timestamp:
- 2021-08-08T09:20:20Z (4 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3e6bca8
- Parents:
- d5ed54b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/loopip/loopip.c
rd5ed54b rb4edc96 1 1 /* 2 * Copyright (c) 20 12Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 41 41 #include <inet/iplink_srv.h> 42 42 #include <inet/addr.h> 43 #include <inet/eth_addr.h> 43 44 #include <io/log.h> 44 45 #include <loc.h> … … 55 56 static errno_t loopip_send6(iplink_srv_t *srv, iplink_sdu6_t *sdu); 56 57 static errno_t loopip_get_mtu(iplink_srv_t *srv, size_t *mtu); 57 static errno_t loopip_get_mac48(iplink_srv_t *srv, addr48_t *mac);58 static errno_t loopip_get_mac48(iplink_srv_t *srv, eth_addr_t *mac); 58 59 static errno_t loopip_addr_add(iplink_srv_t *srv, inet_addr_t *addr); 59 60 static errno_t loopip_addr_remove(iplink_srv_t *srv, inet_addr_t *addr); … … 231 232 } 232 233 233 static errno_t loopip_get_mac48(iplink_srv_t *src, addr48_t *mac)234 static errno_t loopip_get_mac48(iplink_srv_t *src, eth_addr_t *mac) 234 235 { 235 236 log_msg(LOG_DEFAULT, LVL_DEBUG, "loopip_get_mac48()");
Note:
See TracChangeset
for help on using the changeset viewer.