Changes in uspace/lib/c/include/inet/iplink.h [a17356fd:02a09ed] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/inet/iplink.h
ra17356fd r02a09ed 47 47 } iplink_t; 48 48 49 /** I Pv4link Service Data Unit */49 /** Internet link Service Data Unit */ 50 50 typedef struct { 51 51 /** Local source address */ 52 addr32_t src;52 inet_addr_t src; 53 53 /** Local destination address */ 54 addr32_t dest;54 inet_addr_t dest; 55 55 /** Serialized IP packet */ 56 56 void *data; … … 58 58 size_t size; 59 59 } iplink_sdu_t; 60 61 /** IPv6 link Service Data Unit */62 typedef struct {63 /** Local MAC destination address */64 addr48_t dest;65 /** Serialized IP packet */66 void *data;67 /** Size of @c data in bytes */68 size_t size;69 } iplink_sdu6_t;70 60 71 61 /** Internet link receive Service Data Unit */ … … 84 74 extern void iplink_close(iplink_t *); 85 75 extern int iplink_send(iplink_t *, iplink_sdu_t *); 86 extern int iplink_send6(iplink_t *, iplink_sdu6_t *);87 76 extern int iplink_addr_add(iplink_t *, inet_addr_t *); 88 77 extern int iplink_addr_remove(iplink_t *, inet_addr_t *); 89 78 extern int iplink_get_mtu(iplink_t *, size_t *); 90 extern int iplink_get_mac48(iplink_t *, addr48_t *);91 79 92 80 #endif
Note:
See TracChangeset
for help on using the changeset viewer.