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