Changes in uspace/srv/net/include/ip_client.h [21580dd:aadf01e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/include/ip_client.h
r21580dd raadf01e 57 57 * @returns ENOMEM if there is not enough memory left in the packet. 58 58 */ 59 int ip_client_prepare_packet( packet_t packet, ip_protocol_t protocol, ip_ttl_t ttl, ip_tos_t tos, int dont_fragment, size_t ipopt_length);59 int ip_client_prepare_packet(packet_t packet, ip_protocol_t protocol, ip_ttl_t ttl, ip_tos_t tos, int dont_fragment, size_t ipopt_length); 60 60 61 61 /** Processes the received IP packet. … … 71 71 * @returns ENOMEM if the packet is too short to contain the IP header. 72 72 */ 73 int ip_client_process_packet( packet_t packet, ip_protocol_t * protocol, ip_ttl_t * ttl, ip_tos_t * tos, int * dont_fragment, size_t * ipopt_length);73 int ip_client_process_packet(packet_t packet, ip_protocol_t * protocol, ip_ttl_t * ttl, ip_tos_t * tos, int * dont_fragment, size_t * ipopt_length); 74 74 75 75 /** Returns the IP header length. … … 78 78 * @returns Zero (0) if there is no IP header. 79 79 */ 80 size_t ip_client_header_length( packet_t packet);80 size_t ip_client_header_length(packet_t packet); 81 81 82 82 /** Updates the IPv4 pseudo header data length field. … … 88 88 * @returns EINVAL if the headerlen parameter is not IPv4 pseudo header length. 89 89 */ 90 int ip_client_set_pseudo_header_data_length( ip_pseudo_header_ref header, size_t headerlen, size_t data_length);90 int ip_client_set_pseudo_header_data_length(ip_pseudo_header_ref header, size_t headerlen, size_t data_length); 91 91 92 92 /** Constructs the IPv4 pseudo header. … … 108 108 * @returns ENOMEM if there is not enough memory left. 109 109 */ 110 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);110 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); 111 111 112 112 // TODO ipopt manipulation
Note:
See TracChangeset
for help on using the changeset viewer.