• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/

Lines Matching defs:options

60 static void	*z_comp_alloc(unsigned char *options, int opt_len);
61 static void *z_decomp_alloc(unsigned char *options, int opt_len);
64 static int z_comp_init(void *state, unsigned char *options,
67 static int z_decomp_init(void *state, unsigned char *options,
97 * @options: pointer to CCP option data
98 * @opt_len: length of the CCP option at @options.
100 * The @options pointer points to the a buffer containing the
109 static void *z_comp_alloc(unsigned char *options, int opt_len)
115 || (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT)
116 || options[1] != CILEN_DEFLATE
117 || DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL
118 || options[3] != DEFLATE_CHK_SEQUENCE)
120 w_size = DEFLATE_SIZE(options[2]);
150 * @options: pointer to the CCP option data describing the
152 * @opt_len: length of the CCP option data at @options
157 * The CCP options described by @options must match the options
159 * history is reset. Returns 0 for failure (CCP options don't
162 static int z_comp_init(void *arg, unsigned char *options, int opt_len,
168 || (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT)
169 || options[1] != CILEN_DEFLATE
170 || DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL
171 || DEFLATE_SIZE(options[2]) != state->w_size
172 || options[3] != DEFLATE_CHK_SEQUENCE)
317 * @options: pointer to CCP option data
318 * @opt_len: length of the CCP option at @options.
320 * The @options pointer points to the a buffer containing the
329 static void *z_decomp_alloc(unsigned char *options, int opt_len)
335 || (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT)
336 || options[1] != CILEN_DEFLATE
337 || DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL
338 || options[3] != DEFLATE_CHK_SEQUENCE)
340 w_size = DEFLATE_SIZE(options[2]);
368 * @options: pointer to the CCP option data describing the
370 * @opt_len: length of the CCP option data at @options
376 * The CCP options described by @options must match the options
378 * history is reset. Returns 0 for failure (CCP options don't
381 static int z_decomp_init(void *arg, unsigned char *options, int opt_len,
387 || (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT)
388 || options[1] != CILEN_DEFLATE
389 || DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL
390 || DEFLATE_SIZE(options[2]) != state->w_size
391 || options[3] != DEFLATE_CHK_SEQUENCE)