Changes in uspace/lib/c/include/inet/iplink.h [a17356fd:8d48c7e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/inet/iplink.h
ra17356fd r8d48c7e 37 37 38 38 #include <async.h> 39 #include <sys/types.h>40 39 #include <inet/addr.h> 41 40 … … 45 44 async_sess_t *sess; 46 45 struct iplink_ev_ops *ev_ops; 46 void *arg; 47 47 } iplink_t; 48 48 … … 78 78 79 79 typedef struct iplink_ev_ops { 80 int (*recv)(iplink_t *, iplink_recv_sdu_t *, uint16_t); 80 int (*recv)(iplink_t *, iplink_recv_sdu_t *, ip_ver_t); 81 int (*change_addr)(iplink_t *, addr48_t); 81 82 } iplink_ev_ops_t; 82 83 83 extern int iplink_open(async_sess_t *, iplink_ev_ops_t *, iplink_t **);84 extern int iplink_open(async_sess_t *, iplink_ev_ops_t *, void *, iplink_t **); 84 85 extern void iplink_close(iplink_t *); 85 86 extern int iplink_send(iplink_t *, iplink_sdu_t *); … … 89 90 extern int iplink_get_mtu(iplink_t *, size_t *); 90 91 extern int iplink_get_mac48(iplink_t *, addr48_t *); 92 extern int iplink_set_mac48(iplink_t *, addr48_t); 93 extern void *iplink_get_userptr(iplink_t *); 91 94 92 95 #endif
Note:
See TracChangeset
for help on using the changeset viewer.