Ace_Fragment_Group_Size_Get()

Abstract

Returns the size of a fragment group.

Syntax

Ace_Fragment_Group_Size_Get (frag_group_ptr)
Argument Type Description
frag_group_ptr AceT_Fragment_Group * Fragment group of interest.

Return Type

int

Number of fragments in group, or 0 if the group does not contain a full set of fragments.

ace_client_api.h

Example

tcp_info_ptr->frag_group_ptr = Ace_Decoder_Fragment_Group_Get (pk_ptr, layer-1);
/* Set the payload differently depending on whether we are dealing */
/* with a fragment or not.                                         */
if (tcp_info_ptr->frag_group_ptr)
	{
	tcp_info_ptr->tcp_payload_len =
		Ace_Fragment_Group_Size_Get (tcp_info_ptr->frag_group_ptr);
	}

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com