Changes in uspace/lib/net/include/packet_client.h [1bfd3d3:46d4d9f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/include/packet_client.h
r1bfd3d3 r46d4d9f 99 99 packet_trim((packet), sizeof(prefix), sizeof(suffix)) 100 100 101 extern void *packet_prefix(packet_t , size_t);102 extern void *packet_suffix(packet_t , size_t);103 extern int packet_trim(packet_t , size_t, size_t);104 extern int packet_copy_data(packet_t , const void *, size_t);105 extern packet_id_t packet_get_id(const packet_t );106 extern size_t packet_get_data_length(const packet_t );107 extern void *packet_get_data(const packet_t );108 extern int packet_get_addr(const packet_t , uint8_t **, uint8_t **);109 extern int packet_set_addr(packet_t , const uint8_t *, const uint8_t *, size_t);110 extern packet_t packet_get_copy(int phone, packet_t packet);101 extern void *packet_prefix(packet_t *, size_t); 102 extern void *packet_suffix(packet_t *, size_t); 103 extern int packet_trim(packet_t *, size_t, size_t); 104 extern int packet_copy_data(packet_t *, const void *, size_t); 105 extern packet_id_t packet_get_id(const packet_t *); 106 extern size_t packet_get_data_length(const packet_t *); 107 extern void *packet_get_data(const packet_t *); 108 extern int packet_get_addr(const packet_t *, uint8_t **, uint8_t **); 109 extern int packet_set_addr(packet_t *, const uint8_t *, const uint8_t *, size_t); 110 extern packet_t *packet_get_copy(int, packet_t *); 111 111 112 112 /*@}*/
Note:
See TracChangeset
for help on using the changeset viewer.