mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-07 21:41:43 -07:00
implemented VirtualNetworkFrameFunctionCallback
This commit is contained in:
parent
28168fa673
commit
4137246653
2 changed files with 45 additions and 5 deletions
|
@ -24,17 +24,17 @@
|
|||
* redistribute it in a modified binary form, please contact ZeroTier Networks
|
||||
* LLC. Start here: http://www.zerotier.com/
|
||||
*/
|
||||
|
||||
package com.zerotierone.sdk;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
public interface VirtualNetworkFrameListener {
|
||||
void onVirtualNetworkFrame(Node node,
|
||||
void onVirtualNetworkFrame(
|
||||
long nwid,
|
||||
long srcMac,
|
||||
long destMac,
|
||||
long etherType,
|
||||
long vlanId,
|
||||
ByteBuffer frameData,
|
||||
long len);
|
||||
byte[] frameData);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue