Lines Matching refs:dat
237 print_string(const u_char *dat, u_int length)
241 printf("%c", *dat++);
246 print_octets(const u_char *dat, u_int length)
250 printf("%02x", *dat++);
255 print_16bits_val(const u_int16_t *dat)
257 printf("%u", EXTRACT_16BITS(dat));
261 print_32bits_val(const u_int32_t *dat)
263 printf("%lu", (u_long)EXTRACT_32BITS(dat));
270 l2tp_msgtype_print(const u_char *dat)
272 u_int16_t *ptr = (u_int16_t*)dat;
279 l2tp_result_code_print(const u_char *dat, u_int length)
281 u_int16_t *ptr = (u_int16_t *)dat;
294 l2tp_proto_ver_print(const u_int16_t *dat)
296 printf("%u.%u", (EXTRACT_16BITS(dat) >> 8),
297 (EXTRACT_16BITS(dat) & 0xff));
301 l2tp_framing_cap_print(const u_char *dat)
303 u_int32_t *ptr = (u_int32_t *)dat;
314 l2tp_bearer_cap_print(const u_char *dat)
316 u_int32_t *ptr = (u_int32_t *)dat;
327 l2tp_q931_cc_print(const u_char *dat, u_int length)
329 print_16bits_val((u_int16_t *)dat);
330 printf(", %02x", dat[2]);
333 print_string(dat+3, length-3);
338 l2tp_bearer_type_print(const u_char *dat)
340 u_int32_t *ptr = (u_int32_t *)dat;
351 l2tp_framing_type_print(const u_char *dat)
353 u_int32_t *ptr = (u_int32_t *)dat;
370 l2tp_proxy_auth_type_print(const u_char *dat)
372 u_int16_t *ptr = (u_int16_t *)dat;
379 l2tp_proxy_auth_id_print(const u_char *dat)
381 u_int16_t *ptr = (u_int16_t *)dat;
387 l2tp_call_errors_print(const u_char *dat)
389 u_int16_t *ptr = (u_int16_t *)dat;
420 l2tp_accm_print(const u_char *dat)
422 u_int16_t *ptr = (u_int16_t *)dat;
437 l2tp_ppp_discon_cc_print(const u_char *dat, u_int length)
439 u_int16_t *ptr = (u_int16_t *)dat;
453 l2tp_avp_print(const u_char *dat, int length)
456 const u_int16_t *ptr = (u_int16_t *)dat;
598 l2tp_avp_print(dat+len, length-len);
607 l2tp_print(const u_char *dat, u_int length)
609 const u_int16_t *ptr = (u_int16_t *)dat;