You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eddie Kohler edited this page Oct 17, 2017
·
2 revisions
CheckIP6Header Element Documentation
NAME
CheckIP6Header — Click element;
SYNOPSIS
CheckIP6Header([BADADDRS, OFFSET])
Ports: 1 input, 1-2 outputs Processing: agnostic, but output 1 is push
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.