~didier-barvaux/+junk/rohc-tcp

« back to all changes in this revision

Viewing changes to src/comp/c_uncompressed.c

  • Committer: Didier Barvaux
  • Date: 2013-03-17 22:28:37 UTC
  • mfrom: (535.1.165 rohc-main)
  • Revision ID: didier@barvaux.org-20130317222837-i0bj1drr62octy8m
Sync with main branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
static bool c_uncompressed_check_profile(const struct rohc_comp *const comp,
63
63
                                         const struct ip_packet *const outer_ip,
64
64
                                         const struct ip_packet *const inner_ip,
65
 
                                         const uint8_t protocol);
 
65
                                         const uint8_t protocol,
 
66
                                         rohc_ctxt_key_t *const ctxt_key);
66
67
bool c_uncompressed_use_udp_port(const struct c_context *const context,
67
68
                                 const unsigned int port);
68
69
 
193
194
 *                        is only one IP header,
194
195
 *                    \li the protocol carried by the inner IP header if there
195
196
 *                        are at least two IP headers.
 
197
 * @param ctxt_key  The key to help finding the context associated with packet
196
198
 * @return          Whether the IP packet corresponds to the profile:
197
199
 *                    \li true if the IP packet corresponds to the profile,
198
200
 *                    \li false if the IP packet does not correspond to
202
204
static bool c_uncompressed_check_profile(const struct rohc_comp *const comp,
203
205
                                         const struct ip_packet *const outer_ip,
204
206
                                         const struct ip_packet *const inner_ip,
205
 
                                         const uint8_t protocol)
 
207
                                         const uint8_t protocol,
 
208
                                         rohc_ctxt_key_t *const ctxt_key)
206
209
{
207
210
        return true;
208
211
}