Python API for PPP packet

The system provides a Python object for PPP packet encapsulated in PPPoE packets: alc.ppp.

Use alc.pppoe.getPPP() to get the alc.ppp object in the input PPPoE packet. This class only supports following control level protocol:

Table: PPP header field attributes displays information about PPP header field attributes.

Table: PPP header field attributes
Class attributes PPP header field Access

alc.ppp.protocol

Integer, protocol field in ppp header

Read

alc.ppp.code

Integer, code field in ppp protocol header

Read

alc.ppp.id

Integer, identifier field in ppp protocol header

Read

alc.ppp.len

Integer, length field in ppp protocol header

Read

The following is a list of functions of alc.ppp: