Lines Matching refs:EXTRACT_16BITS
286 ND_PRINT((ndo, "%u", EXTRACT_16BITS(dat)));
304 EXTRACT_16BITS(ptr))));
312 ND_PRINT((ndo, "%u", EXTRACT_16BITS(ptr))); ptr++; /* Result Code */
314 ND_PRINT((ndo, "/%u", EXTRACT_16BITS(ptr))); ptr++;
325 ND_PRINT((ndo, "%u.%u", (EXTRACT_16BITS(dat) >> 8),
326 (EXTRACT_16BITS(dat) & 0xff)));
404 "AuthType-#%u", EXTRACT_16BITS(ptr))));
412 ND_PRINT((ndo, "%u", EXTRACT_16BITS(ptr) & L2TP_PROXY_AUTH_ID_MASK));
423 val_h = EXTRACT_16BITS(ptr); ptr++;
424 val_l = EXTRACT_16BITS(ptr); ptr++;
427 val_h = EXTRACT_16BITS(ptr); ptr++;
428 val_l = EXTRACT_16BITS(ptr); ptr++;
431 val_h = EXTRACT_16BITS(ptr); ptr++;
432 val_l = EXTRACT_16BITS(ptr); ptr++;
435 val_h = EXTRACT_16BITS(ptr); ptr++;
436 val_l = EXTRACT_16BITS(ptr); ptr++;
439 val_h = EXTRACT_16BITS(ptr); ptr++;
440 val_l = EXTRACT_16BITS(ptr); ptr++;
443 val_h = EXTRACT_16BITS(ptr); ptr++;
444 val_l = EXTRACT_16BITS(ptr); ptr++;
456 val_h = EXTRACT_16BITS(ptr); ptr++;
457 val_l = EXTRACT_16BITS(ptr); ptr++;
460 val_h = EXTRACT_16BITS(ptr); ptr++;
461 val_l = EXTRACT_16BITS(ptr); ptr++;
470 ND_PRINT((ndo, "%04x, ", EXTRACT_16BITS(ptr))); ptr++; /* Disconnect Code */
471 ND_PRINT((ndo, "%04x ", EXTRACT_16BITS(ptr))); ptr++; /* Control Protocol Number */
496 len = EXTRACT_16BITS(ptr) & L2TP_AVP_HDR_LEN_MASK;
512 if (EXTRACT_16BITS(ptr) & L2TP_AVP_HDR_FLAG_MANDATORY) {
515 if (EXTRACT_16BITS(ptr) & L2TP_AVP_HDR_FLAG_HIDDEN) {
521 if (EXTRACT_16BITS(ptr)) {
523 ND_PRINT((ndo, "VENDOR%04x:", EXTRACT_16BITS(ptr))); ptr++;
524 ND_PRINT((ndo, "ATTR%04x", EXTRACT_16BITS(ptr))); ptr++;
531 attr_type = EXTRACT_16BITS(ptr); ptr++;
647 if ((EXTRACT_16BITS(ptr) & L2TP_VERSION_MASK) == L2TP_VERSION_L2TP) {
649 } else if ((EXTRACT_16BITS(ptr) & L2TP_VERSION_MASK) == L2TP_VERSION_L2F) {
658 if (EXTRACT_16BITS(ptr) & L2TP_FLAG_TYPE) {
662 if (EXTRACT_16BITS(ptr) & L2TP_FLAG_LENGTH) {
666 if (EXTRACT_16BITS(ptr) & L2TP_FLAG_SEQUENCE) {
670 if (EXTRACT_16BITS(ptr) & L2TP_FLAG_OFFSET) {
674 if (EXTRACT_16BITS(ptr) & L2TP_FLAG_PRIORITY)
683 l2tp_len = EXTRACT_16BITS(ptr);
691 ND_PRINT((ndo, "(%u/", EXTRACT_16BITS(ptr)));
695 ND_PRINT((ndo, "%u)", EXTRACT_16BITS(ptr)));
701 ND_PRINT((ndo, "Ns=%u,", EXTRACT_16BITS(ptr)));
705 ND_PRINT((ndo, "Nr=%u", EXTRACT_16BITS(ptr)));
712 pad = EXTRACT_16BITS(ptr);