HOME


NAME

ppp_ipcp_dissect - point-to-point ip control protocol dissect function

SYNOPSIS

data,offset=ppp_ipcp_dissect(pkt,offset)

DESCRIPTION

dissect point-to-point ip control protocol frames

it is the same as the Link Control Protocol but Code field:

      Only Codes 1 through 7 (Configure-Request, Configure-Ack,
      Configure-Nak, Configure-Reject, Terminate-Request, Terminate-Ack
      and Code-Reject) are used.  Other Codes should be treated as
      unrecognized and should result in Code-Rejects. 

      reference RFC1570, 1661, 2153

funtion accepts two arguments:
    pkt is a packet reference containing the whole packet to be dissect
    offset is the position inside packet to start dissection

funtion return two values:
    data is a variable long tupla
    offset is the original offset plus ppp-lenght

HOME


This document was generated by paolo bastiancich on January, 16 2003 using texi2html