:orphan: .. index:: pair: group; PPPOE .. _doxid-group__tapi__tad__pppoe: PPPOE ===== .. toctree:: :hidden: Overview ~~~~~~~~ Copyright (C) 2004-2022 OKTET Labs Ltd. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block // global functions :ref:`te_errno` :ref:`tapi_pppoe_add_csap_layer`(:ref:`asn_value`** csap_spec, uint8_t version, uint8_t type, uint8_t code, uint16_t session_id, uint16_t length); :ref:`te_errno` :ref:`tapi_pppoe_add_pdu`(:ref:`asn_value`** tmpl_or_ptrn, :ref:`asn_value`** pdu, bool is_pattern, uint8_t version, uint8_t type, uint8_t code, uint16_t session_id, uint16_t length); .. _details-group__tapi__tad__pppoe: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Copyright (C) 2004-2022 OKTET Labs Ltd. All rights reserved. Global Functions ---------------- .. index:: pair: function; tapi_pppoe_add_csap_layer .. _doxid-group__tapi__tad__pppoe_1ga4020edd3fa413aa1104071bb0273ab8d: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`te_errno` tapi_pppoe_add_csap_layer(:ref:`asn_value`** csap_spec, uint8_t version, uint8_t type, uint8_t code, uint16_t session_id, uint16_t length) Add PPP layer in CSAP specification. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - csap_spec - Location of CSAP specification pointer. * - Status - code. .. index:: pair: function; tapi_pppoe_add_pdu .. _doxid-group__tapi__tad__pppoe_1gaa506a55ec416efb32329d9d40181390f: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`te_errno` tapi_pppoe_add_pdu(:ref:`asn_value`** tmpl_or_ptrn, :ref:`asn_value`** pdu, bool is_pattern, uint8_t version, uint8_t type, uint8_t code, uint16_t session_id, uint16_t length) Add PPP PDU as the last PDU to the last unit of the traffic template or pattern. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - 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. .. rubric:: Returns: Status code.