HOME


NAME

ppp_ip6cp_dissect - point-to-point ip version 6 control protocol dissect function

SYNOPSIS

data,offset=ppp_ip6cp_dissect(pkt,offset)

DESCRIPTION

dissect point-to-point ip version 6 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 RFC 2472

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