NED File src/inet/node/xmipv6/WirelessHost6.ned
Name | Type | Description |
---|---|---|
WirelessHost6 | compound module |
IPv6 compatible node with MIPv6 support. Models a host with one wireless (802.11b) card in infrastructure mode, supports handovers and MIPv6 protocol. |
Source code
// // Copyright (C) 2007 Faqir Zarrar Yousaf // Communication Networks Institute, University of Dortmund // [email protected] // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // package inet.node.xmipv6; import inet.node.ipv6.StandardHost6; // // IPv6 compatible node with MIPv6 support. // Models a host with one wireless (802.11b) card in infrastructure mode, supports handovers and MIPv6 protocol. // // @see ~AccessPoint, ~WirelessHost, ~AdhocHost // module WirelessHost6 extends StandardHost6 { numWlanInterfaces = 1; ipv6.xMIPv6Support = true; ipv6.mipv6support.isMobileNode = true; //is Mobile Node ipv6.mipv6support.isHomeAgent = false; //is Home Agent @display("i=device/wifilaptop"); }