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

CheckIP6Header Element Documentation

NAME

CheckIP6Header -- Click element;

SYNOPSIS

CheckIP6Header([BADADDRS, OFFSET])

Ports: 1 input, 1-2 outputs
Processing: agnostic, but output 1 is push
Package: ip6 (core)

DESCRIPTION

Expects IP6 packets as input starting at OFFSET bytes. Default OFFSET is zero. Checks that the packet's length is reasonable, and that the IP6 version, length, are valid. Checks that the IP6 source address is a legal unicast address. Shortens packets to the IP6 length, if the IP length is shorter than the nominal packet length (due to Ethernet padding, for example). Pushes invalid packets out on output 1, unless output 1 was unused; if so, drops invalid packets. Keyword arguments are:

BADADDRS
The BADADDRS argument is a space-separated list of IP6 addresses that are not to be tolerated as source addresses. 0::0 is a bad address for routers, for example, but okay for link local packets.
OFFSET
Unsigned integer. Byte position at which the IP6 header begins. Default is 0.

SEE ALSO

MarkIP6Header

Generated by 'click-elem2man' from '../elements/ip6/checkip6header.hh:7' on 12/Jul/2011.

COMMENTS

 
elements/checkip6header.txt · Last modified: 2011/07/12 11:29 (external edit)
 
Recent changes RSS feed Driven by DokuWiki