PPP

Overview

Copyright (C) 2004-2022 OKTET Labs Ltd. More…

// global functions

te_errno tapi_ppp_add_csap_layer(asn_value** csap_spec, uint16_t protocol);
te_errno tapi_ppp_add_pdu(asn_value** tmpl_or_ptrn, asn_value** pdu, bool is_pattern, uint16_t protocol);

Detailed Documentation

Copyright (C) 2004-2022 OKTET Labs Ltd. All rights reserved.

Global Functions

te_errno tapi_ppp_add_csap_layer(asn_value** csap_spec, uint16_t protocol)

Add PPP layer in CSAP specification.

Parameters:

csap_spec

Location of CSAP specification pointer.

Status

code.

te_errno tapi_ppp_add_pdu(asn_value** tmpl_or_ptrn, asn_value** pdu, bool is_pattern, uint16_t protocol)

Add PPP PDU as the last PDU to the last unit of the traffic template or pattern.

Parameters:

tmpl_or_ptrn

Location of ASN.1 value with traffic template or pattern

pdu

Location for ASN.1 value pointer with added PDU

is_pattern

Is the first argument template or pattern

group_addr

Protocol.

Returns:

Status code.