Changes in uspace/lib/net/il/ip_client.c [14f1db0:849ed54] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/il/ip_client.c
r14f1db0 r849ed54 56 56 } 57 57 58 int ip_client_get_pseudo_header(ip_protocol_t protocol, struct sockaddr * src, socklen_t srclen, struct sockaddr * dest, socklen_t destlen, size_t data_length, void **header, size_t * headerlen){58 int ip_client_get_pseudo_header(ip_protocol_t protocol, struct sockaddr * src, socklen_t srclen, struct sockaddr * dest, socklen_t destlen, size_t data_length, ip_pseudo_header_ref * header, size_t * headerlen){ 59 59 ipv4_pseudo_header_ref header_in; 60 60 struct sockaddr_in * address_in; … … 84 84 header_in->protocol = protocol; 85 85 header_in->data_length = htons(data_length); 86 *header = header_in;86 *header = (ip_pseudo_header_ref) header_in; 87 87 return EOK; 88 88 // TODO IPv6 … … 164 164 } 165 165 166 int ip_client_set_pseudo_header_data_length( void *header, size_t headerlen, size_t data_length){166 int ip_client_set_pseudo_header_data_length(ip_pseudo_header_ref header, size_t headerlen, size_t data_length){ 167 167 ipv4_pseudo_header_ref header_in; 168 168
Note:
See TracChangeset
for help on using the changeset viewer.