Changeset b4edc96 in mainline for uspace/srv/net/inetsrv/ntrans.c
- Timestamp:
- 2021-08-08T09:20:20Z (3 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/inetsrv/ntrans.c
rd5ed54b rb4edc96 1 1 /* 2 * Copyright (c) 2021 Jiri Svoboda 2 3 * Copyright (c) 2013 Antonin Steinhauser 3 4 * All rights reserved. … … 38 39 #include <errno.h> 39 40 #include <fibril_synch.h> 41 #include <inet/eth_addr.h> 40 42 #include <inet/iplink_srv.h> 41 43 #include <stdlib.h> … … 73 75 * 74 76 */ 75 errno_t ntrans_add(addr128_t ip_addr, addr48_t *mac_addr)77 errno_t ntrans_add(addr128_t ip_addr, eth_addr_t *mac_addr) 76 78 { 77 79 inet_ntrans_t *ntrans; … … 134 136 * 135 137 */ 136 errno_t ntrans_lookup(addr128_t ip_addr, addr48_t *mac_addr)138 errno_t ntrans_lookup(addr128_t ip_addr, eth_addr_t *mac_addr) 137 139 { 138 140 fibril_mutex_lock(&ntrans_list_lock);
Note:
See TracChangeset
for help on using the changeset viewer.