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