This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.

PPPEncap Element Documentation

NAME

PPPEncap -- Click element; encapsulates packets in static PPP header

SYNOPSIS

PPPEncap(PROTOCOL, KEYWORDS)

Ports: 1 input, 1 output
Processing: agnostic
Package: iias

DESCRIPTION

Encapsulates each incoming packet in a PPP packet with protocol PROTOCOL. Default protocol is 0x0021 (IPv4-in-PPP). Keyword arguments are:

ADDRESS
Byte. Sets the Address field to the specified value. Default is 0xff (all stations).
CONTROL
Byte. Sets the Control field to the specified value. Default is 0x03 (unnumbered information).

EXAMPLES

Wraps packets in a PPP header specifying PPP protocol 0x0021 (IPv4-in-PPP):

  PPPEncap(0x0021)

Strpis PPP header:

  Strip(4)

SEE ALSO

Strip

Generated by 'click-elem2man' from 'ppp/pppencap.hh:21' on 17/Jan/2012.

COMMENTS

 
elements/pppencap.txt · Last modified: 2012/01/17 10:23 (external edit)
 
Recent changes RSS feed Driven by DokuWiki