Lines Matching refs:offset_bytes

30 	gint offset_bytes;  member
321 s_offset.offset_bytes = 0; /* initialise byte offset */ in dissect_ismacryp_common()
332 tvb, poffset->offset_bytes, AU_HEADERS_LENGTH_SIZE, ENC_BIG_ENDIAN ); in dissect_ismacryp_common()
333 au_headers_length = tvb_get_ntohs(tvb, poffset->offset_bytes); /* 2 byte au headers length */ in dissect_ismacryp_common()
334 poffset->offset_bytes += AU_HEADERS_LENGTH_SIZE; in dissect_ismacryp_common()
338 totalbits = (poffset->offset_bytes*8) + poffset->offset_bits; in dissect_ismacryp_common()
343 …deltabits = (poffset->offset_bytes*8) + poffset->offset_bits - totalbits; /* if zero this means no… in dissect_ismacryp_common()
361 totalbit_offset = (poffset->offset_bytes)*8 + poffset->offset_bits; /* offset in bits */ in dissect_ismacryp_common()
370 tvb, poffset->offset_bytes, -1, ENC_NA ); in dissect_ismacryp_common()
373 nbmessage_bytes = tvb_reported_length_remaining(tvb, poffset->offset_bytes); in dissect_ismacryp_common()
379 poffset->offset_bytes += nbmessage_bytes; /* */ in dissect_ismacryp_common()
414 if (poffset->offset_bytes == AU_HEADERS_LENGTH_SIZE) { /*first AU */ in dissect_auheader()
457 …ismacryp_item = proto_tree_add_item(ismacryp_tree, hf_ismacryp_header, tvb, poffset->offset_bytes,… in dissect_auheader()
475 tvb, poffset->offset_bytes, 1, ENC_NA ); in dissect_auheader()
483 bit_offset = (poffset->offset_bytes)*8 + poffset->offset_bits; /* offset in bits */ in dissect_auheader()
496 bit_offset = (poffset->offset_bytes)*8 + poffset->offset_bits; /* offset in bits */ in dissect_auheader()
504 bit_offset = (poffset->offset_bytes)*8 + poffset->offset_bits; /* offset in bits */ in dissect_auheader()
516 bit_offset = (poffset->offset_bytes)*8 + poffset->offset_bits; /* offset in bits */ in dissect_auheader()
528 bit_offset = (poffset->offset_bytes)*8 + poffset->offset_bits; /* offset in bits */ in dissect_auheader()
540 bit_offset = (poffset->offset_bytes)*8 + poffset->offset_bits; /* offset in bits */ in dissect_auheader()
553 …oto_tree_add_item(ismacryp_header_tree, hf_ismacryp_iv, tvb, poffset->offset_bytes, iv_length, ENC… in dissect_auheader()
556 ", IV=0x%s", tvb_bytes_to_str_punct(pinfo->pool, tvb, poffset->offset_bytes, iv_length, ' ')); in dissect_auheader()
558 poffset->offset_bytes += iv_length; /* add IV length to offset_bytes */ in dissect_auheader()
564 tvb, poffset->offset_bytes, delta_iv_length, ENC_NA); in dissect_auheader()
567 …", Delta IV=0x%s", tvb_bytes_to_str_punct(pinfo->pool, tvb, poffset->offset_bytes, delta_iv_length… in dissect_auheader()
568 poffset->offset_bytes += delta_iv_length; /* add IV length to offset_bytes */ in dissect_auheader()
575 tvb, poffset->offset_bytes, key_indicator_length, ENC_NA); in dissect_auheader()
578 …", KI=0x%s", tvb_bytes_to_str_punct(pinfo->pool, tvb, poffset->offset_bytes, key_indicator_length,… in dissect_auheader()
579 poffset->offset_bytes += key_indicator_length; /* add KI length to offset_bytes */ in dissect_auheader()
584 bit_offset = (poffset->offset_bytes)*8 + poffset->offset_bits; /* offset in bits */ in dissect_auheader()
594 bit_offset = (poffset->offset_bytes)*8 + poffset->offset_bits; /* offset in bits */ in dissect_auheader()
604 bit_offset = (poffset->offset_bytes)*8 + poffset->offset_bits; /* offset in bits */ in dissect_auheader()
614 bit_offset = (poffset->offset_bytes)*8 + poffset->offset_bits; /* offset in bits */ in dissect_auheader()
621 bit_offset = (poffset->offset_bytes)*8 + poffset->offset_bits; /* offset in bits */ in dissect_auheader()
631 bit_offset = (poffset->offset_bytes)*8 + poffset->offset_bits; /* offset in bits */ in dissect_auheader()
639 bit_offset = (poffset->offset_bytes)*8 + poffset->offset_bits; /* offset in bits */ in dissect_auheader()
649 bit_offset = (poffset->offset_bytes)*8 + poffset->offset_bits; /* offset in bits */ in dissect_auheader()
657 bit_offset = (poffset->offset_bytes)*8 + poffset->offset_bits; /* offset in bits */ in dissect_auheader()
669 …nbbitstotal = poffset->offset_bytes*8 + (poffset->offset_bits) + len_bits; /* total offset in bits… in add_bits()
671 poffset->offset_bytes = (nbbitstotal / 8); /* add integer no. of bytes */ in add_bits()