Changeset b4edc96 in mainline for uspace/srv/net/inetsrv/ntrans.h
- 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.h
rd5ed54b rb4edc96 1 1 /* 2 * Copyright (c) 2021 Jiri Svoboda 2 3 * Copyright (c) 2013 Antonin Steinhauser 3 4 * All rights reserved. … … 38 39 #define NTRANS_H_ 39 40 41 #include <inet/addr.h> 42 #include <inet/eth_addr.h> 40 43 #include <inet/iplink_srv.h> 41 #include <inet/addr.h>42 44 43 45 /** Address translation table element */ … … 45 47 link_t ntrans_list; 46 48 addr128_t ip_addr; 47 addr48_t mac_addr;49 eth_addr_t mac_addr; 48 50 } inet_ntrans_t; 49 51 50 extern errno_t ntrans_add(addr128_t, addr48_t *);52 extern errno_t ntrans_add(addr128_t, eth_addr_t *); 51 53 extern errno_t ntrans_remove(addr128_t); 52 extern errno_t ntrans_lookup(addr128_t, addr48_t *);54 extern errno_t ntrans_lookup(addr128_t, eth_addr_t *); 53 55 extern errno_t ntrans_wait_timeout(usec_t); 54 56
Note:
See TracChangeset
for help on using the changeset viewer.