Documentation ¶
Overview ¶
Copyright 2016-2019 DutchSec (https://dutchsec.com/)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
View Source
const ( ARP_OPC_RESERVED ArpOpcode = 0 ARP_OPC_REQUEST = 1 ARP_OPC_REPLY = 2 ARP_OPC_REQUEST_R = 3 ARP_OPC_REPLY_R = 4 ARP_OPC_DRAPP_REQUEST = 5 ARP_OPC_DRAPP_REPLY = 6 ARP_OPC_DRAPP_ERROR = 7 ARP_OPC_INAPP_REQUEST = 8 ARP_OPC_INAPP_REPLY = 9 ARP_OPC_ARP_NAK = 10 ARP_OPC_MARS_REQUEST = 11 ARP_OPC_MARS_MULTI = 12 ARP_OPC_MARS_MSERV = 13 ARP_OPC_MARS_JOIN = 14 ARP_OPC_MARS_LEAVE = 15 ARP_OPC_MARS_NAK = 16 ARP_OPC_MARS_UNSERV = 17 ARP_OPC_MARS_SJOIN = 18 ARP_OPC_MARS_SLEAVE = 19 ARP_OPC_MARS_GL_REQUEST = 20 ARP_OPC_MARS_GL_REPLY = 21 ARP_OPC_MARS_REDIRECT_MAP = 22 ARP_OPC_MAPOS_UNARP = 23 ARP_OPC_OP_EXP1 = 24 ARP_OPC_OP_EXP2 = 25 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Frame ¶
type Frame struct { HardwareType uint16 ProtocolType uint16 HardwareSize uint8 ProtocolSize uint8 Opcode uint16 SenderMAC net.HardwareAddr SenderIP net.IP TargetMAC net.HardwareAddr TargetIP net.IP SenderHardwareAddress []byte SenderProtocolAddress []byte TargetHardwareAddress []byte TargetProtocolAddress []byte }
Click to show internal directories.
Click to hide internal directories.