Changeset 8a9a41e in mainline for uspace/lib/inet/include/inet/iplink_srv.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/lib/inet/include/inet/iplink_srv.h
r2ce943a r8a9a41e 1 1 /* 2 * Copyright (c) 20 12Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup lib c29 /** @addtogroup libinet 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef _LIBC_INET_IPLINK_SRV_H_36 #define _LIBC_INET_IPLINK_SRV_H_35 #ifndef LIBINET_INET_IPLINK_SRV_H 36 #define LIBINET_INET_IPLINK_SRV_H 37 37 38 38 #include <async.h> 39 39 #include <fibril_synch.h> 40 #include <inet/addr.h> 41 #include <inet/eth_addr.h> 42 #include <inet/iplink.h> 40 43 #include <stdbool.h> 41 #include <inet/addr.h>42 #include <inet/iplink.h>43 44 44 45 struct iplink_ops; … … 58 59 errno_t (*send6)(iplink_srv_t *, iplink_sdu6_t *); 59 60 errno_t (*get_mtu)(iplink_srv_t *, size_t *); 60 errno_t (*get_mac48)(iplink_srv_t *, addr48_t *);61 errno_t (*set_mac48)(iplink_srv_t *, addr48_t *);61 errno_t (*get_mac48)(iplink_srv_t *, eth_addr_t *); 62 errno_t (*set_mac48)(iplink_srv_t *, eth_addr_t *); 62 63 errno_t (*addr_add)(iplink_srv_t *, inet_addr_t *); 63 64 errno_t (*addr_remove)(iplink_srv_t *, inet_addr_t *); … … 68 69 extern errno_t iplink_conn(ipc_call_t *, void *); 69 70 extern errno_t iplink_ev_recv(iplink_srv_t *, iplink_recv_sdu_t *, ip_ver_t); 70 extern errno_t iplink_ev_change_addr(iplink_srv_t *, addr48_t *);71 extern errno_t iplink_ev_change_addr(iplink_srv_t *, eth_addr_t *); 71 72 72 73 #endif
Note:
See TracChangeset
for help on using the changeset viewer.