Changeset 8a9a41e in mainline for uspace/srv/net/inetsrv/ntrans.h
- Timestamp:
- 2021-10-24T08:28:43Z (4 years ago)
- Children:
- 9ea3a41
- Parents:
- 2ce943a (diff), cd981f2a (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. - git-author:
- Erik Kučák <35500848+Riko196@…> (2021-10-24 08:28:43)
- git-committer:
- GitHub <noreply@…> (2021-10-24 08:28:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/ntrans.h
r2ce943a r8a9a41e 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.