mirror of
https://github.com/soypat/lneto.git
synced 2026-08-20 14:39:02 +00:00
add xnet stack tcp handshake test
This commit is contained in:
@@ -25,6 +25,10 @@ func (ls *StackEthernet) SetGateway6(gw [6]byte) {
|
||||
ls.gwmac = gw
|
||||
}
|
||||
|
||||
func (ls *StackEthernet) Gateway6() (gw [6]byte) {
|
||||
return ls.gwmac
|
||||
}
|
||||
|
||||
func (ls *StackEthernet) SetHardwareAddr6(mac [6]byte) {
|
||||
ls.mac = mac
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user