/branches/network/uspace/srv/net/include/ip_client.h |
---|
137,6 → 137,13 |
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 ); |
/** Returns the IP header length. |
* @param packet The packet. Input parameter. |
* @returns The IP header length in bytes. |
* @returns ENOMEM if there is no IP header. |
*/ |
int ip_client_header_length( packet_t packet ); |
// TODO ipopt manipulation |
#endif |