2017-02-09 16:24:19 +00:00
|
|
|
|
PR#3
|
|
|
|
|
PREFIX /A2OSX.SRC
|
|
|
|
|
NEW
|
|
|
|
|
INC 1
|
|
|
|
|
AUTO 6
|
|
|
|
|
.LIST OFF
|
|
|
|
|
.OP 65C02
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
S.DHCP.OP .EQ S.UDP+0 1 = BOOTREQUEST, 2 = BOOTREPLY
|
|
|
|
|
S.DHCP.OP.BOOTREQUEST .EQ 1
|
|
|
|
|
S.DHCP.OP.BOOTREPLY .EQ 2
|
|
|
|
|
S.DHCP.HTYPE .EQ S.UDP+1 1 = ETHERNET
|
|
|
|
|
S.DHCP.HTYPE.ETHERNET .EQ 1
|
|
|
|
|
S.DHCP.HLEN .EQ S.UDP+2 6 (MAC len)
|
|
|
|
|
S.DHCP.HLEN.ETHERNET .EQ 6
|
|
|
|
|
S.DHCP.HOPS .EQ S.UDP+3 0
|
|
|
|
|
S.DHCP.XID .EQ S.UDP+4 client : random number
|
|
|
|
|
S.DHCP.SECS .EQ S.UDP+8
|
|
|
|
|
S.DHCP.FLAGS .EQ S.UDP+10
|
2017-03-09 16:38:27 +00:00
|
|
|
|
S.DHCP.FLAGS.BRDCST .EQ %00000000.10000000
|
2017-02-09 16:24:19 +00:00
|
|
|
|
S.DHCP.CIADDR .EQ S.UDP+12
|
|
|
|
|
S.DHCP.YIADDR .EQ S.UDP+16
|
|
|
|
|
S.DHCP.SIADDR .EQ S.UDP+20
|
|
|
|
|
S.DHCP.GIADDR .EQ S.UDP+24
|
|
|
|
|
S.DHCP.CHADDR .EQ S.UDP+28
|
|
|
|
|
S.DHCP.SNAME .EQ S.UDP+44
|
|
|
|
|
S.DHCP.FILE .EQ S.UDP+108
|
|
|
|
|
S.DHCP.COOKIE .EQ S.UDP+236
|
|
|
|
|
S.DHCP.OPTIONS .EQ S.UDP+240
|
|
|
|
|
S.DHCP.OPTIONS.DHCPDiscover .EQ 1
|
|
|
|
|
S.DHCP.OPTIONS.DHCPOffer .EQ 2
|
|
|
|
|
S.DHCP.OPTIONS.DHCPRequest .EQ 3
|
|
|
|
|
S.DHCP.OPTIONS.DHCPDecline .EQ 4
|
|
|
|
|
S.DHCP.OPTIONS.DHCPAck .EQ 5
|
|
|
|
|
S.DHCP.OPTIONS.DHCPNak .EQ 6
|
|
|
|
|
S.DHCP.OPTIONS.DHCPRelease .EQ 7
|
|
|
|
|
S.DHCP.OPTIONS.DHCPInform .EQ 8
|
|
|
|
|
S.DHCP.OPTIONS.MASK .EQ 1
|
|
|
|
|
S.DHCP.OPTIONS.GW .EQ 3
|
|
|
|
|
S.DHCP.OPTIONS.DNS .EQ 6
|
|
|
|
|
S.DHCP.OPTIONS.DOMAIN .EQ 15
|
2017-03-09 07:11:44 +00:00
|
|
|
|
S.DHCP.OPTIONS.MSGTYPE .EQ 53
|
2017-02-09 16:24:19 +00:00
|
|
|
|
S.DHCP.OPTIONS.END .EQ 255
|
|
|
|
|
*
|
|
|
|
|
S.DHCP .EQ S.UDP+240
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
MAN
|
|
|
|
|
SAVE /A2OSX.DEV/INC/DHCP.I
|