Rev 4704 | Rev 4710 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4704 | Rev 4707 | ||
---|---|---|---|
Line 135... | Line 135... | ||
135 | 135 | ||
136 | 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 ); |
136 | 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 ); |
137 | 137 | ||
138 | 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 ); |
138 | 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 ); |
139 | 139 | ||
- | 140 | /** Returns the IP header length. |
|
- | 141 | * @param packet The packet. Input parameter. |
|
- | 142 | * @returns The IP header length in bytes. |
|
- | 143 | * @returns ENOMEM if there is no IP header. |
|
- | 144 | */ |
|
- | 145 | int ip_client_header_length( packet_t packet ); |
|
- | 146 | ||
140 | // TODO ipopt manipulation |
147 | // TODO ipopt manipulation |
141 | 148 | ||
142 | #endif |
149 | #endif |
143 | 150 | ||
144 | /** @} |
151 | /** @} |