Rev 4710 | Rev 4722 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4710 | Rev 4721 | ||
|---|---|---|---|
| Line 48... | Line 48... | ||
| 48 | 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 ); |
48 | 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 ); |
| 49 | 49 | ||
| 50 | /** Returns the IP header length. |
50 | /** Returns the IP header length. |
| 51 | * @param packet The packet. Input parameter. |
51 | * @param packet The packet. Input parameter. |
| 52 | * @returns The IP header length in bytes. |
52 | * @returns The IP header length in bytes. |
| 53 | * @returns ENOMEM if there is no IP header. |
53 | * @returns Zero (0) if there is no IP header. |
| 54 | */ |
54 | */ |
| 55 | int ip_client_header_length( packet_t packet ); |
55 | size_t ip_client_header_length( packet_t packet ); |
| 56 | 56 | ||
| 57 | // TODO ipopt manipulation |
57 | // TODO ipopt manipulation |
| 58 | 58 | ||
| 59 | #endif |
59 | #endif |
| 60 | 60 | ||