public NetworkLayer(IMac mac) { _mac = mac; _mgmt = new NetworkMgmt(this); _route = new Routing(this, mac, this); #if USE_FRAG int mtu, head, tail; _route.GetMtuSize(out mtu, out head, out tail); _frag = new Fragmentation.Fragmentation(10, _route.DataRequest, mtu, head, tail); #endif _mac.BeaconNotifyIndication = MacBeaconNotifyIndication; _mac.ResetRequest(true, null); }