mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-19 12:31:56 +00:00
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
NEW
|
||
PREFIX
|
||
AUTO 4,1
|
||
.LIST OFF
|
||
.OP 65C02
|
||
*--------------------------------------
|
||
UDP.PORT.DHCPC .EQ 68
|
||
UDP.PORT.DHCPS .EQ 67
|
||
*--------------------------------------
|
||
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
|
||
S.DHCP.FLAGS.BRDCST .EQ %00000000.10000000
|
||
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
|
||
S.DHCP.OPTIONS.MSGTYPE .EQ 53
|
||
S.DHCP.OPTIONS.SRVID .EQ 54
|
||
S.DHCP.OPTIONS.END .EQ 255
|
||
*
|
||
S.DHCP .EQ S.UDP+240
|
||
*--------------------------------------
|
||
MAN
|
||
SAVE /A2OSX.BUILD/INC/NET.DHCP.I
|