Documentation ¶
Index ¶
- Variables
- func GetDhcpLayer(pkt gopacket.Packet) (*layers.DHCPv4, error)
- func GetDhcpMessageType(dhcp *layers.DHCPv4) (layers.DHCPMsgType, error)
- func GetDhcpPacketType(pkt gopacket.Packet) (string, error)
- func HandleNextBbrPacket(onuId uint32, ponPortId uint32, serialNumber string, sTag int, ...) error
- func HandleNextPacket(onuId uint32, ponPortId uint32, serialNumber string, portNo uint32, ...) error
- func SendDHCPDiscovery(ponPortId uint32, onuId uint32, serialNumber string, portNo uint32, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var GetGemPortId = omci.GetGemPortId
Functions ¶
func GetDhcpMessageType ¶ added in v0.0.2
func GetDhcpMessageType(dhcp *layers.DHCPv4) (layers.DHCPMsgType, error)
func GetDhcpPacketType ¶ added in v0.0.2
returns the DHCP Layer type or error if it's not a DHCP Packet
func HandleNextBbrPacket ¶ added in v0.0.2
func HandleNextBbrPacket(onuId uint32, ponPortId uint32, serialNumber string, sTag int, macAddress net.HardwareAddr, doneChannel chan bool, pkt gopacket.Packet, client openolt.OpenoltClient) error
This method handle the BBR DHCP Packets BBR does not need to do anything but forward the packets in the correct direction
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.