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

DHCPServerOffer Element Documentation

NAME

DHCPServerOffer -- Click element; Handles incoming DHCP_DISCOVER. Sends out DHCP_OFFER if appropriate.

SYNOPSIS

DHCPServerOffer(LEASES)

Ports: 1-2 inputs, 1-2 outputs
Processing: push
Package: dhcp

DESCRIPTION

DHPServerOffer has at most 2 input and at most 2 output ports. Input port 0 is used for handling DHCP_DISCOVER packets. Input port 1 is used for handling ICMP ECHO REPLY packets. DHCP_OFFER packets go out from output port 0. ICMP_PING packets go out from output port 1. The user can simply disconnect the ICMP related connections to disable pinging prior to sending the DHCP_OFFER packet.

EXAMPLES

... ->ipclass:: IPClassifier(icmp type echo-reply, -) ipclass[0] -> [1]serverOffer::DHCPServerOffer(server); ipclass[1] -> CheckDHCPMsg(request) -> class :: DHCPClassifier( discover, - ); class[0]-> [0]serverOffer serverOffer[0] -> .... udp_encap->eth_encap->...->ToDevice serverOffer[1] -> .... icmpEncap -> DHCPICMPEncap ->...->ToDevice

SEE ALSO

DHCPServerLeases, DHCPServerACKorNACK, DHCPServerRelease

Generated by 'click-elem2man' from 'package/dhcpserveroffer.hh:9' on 17/Jan/2012.

COMMENTS

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