This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 3. | |
| abhijithm@archlabs ~ % ping 192.168.43.35 | |
| PING 192.168.43.35 (192.168.43.35) 56(84) bytes of data. | |
| ^C | |
| --- 192.168.43.35 ping statistics --- | |
| 32 packets transmitted, 0 received, 100% packet loss, time 37674ms | |
| 4. | |
| HAHA i blockedd facebook | |
| abhijithm@archlabs ~ % sudo iptables -A OUTPUT -p tcp -m string --string "facebook.com" --algo kmp -j REJECT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CODE | |
| ---------i think u already took this ------------ | |
| #include <iostream> | |
| #include <string> | |
| #include "ns3/core-module.h" | |
| #include "ns3/network-module.h" | |
| #include "ns3/csma-module.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CODE | |
| ---code---u already took---- | |
| output for 1 | |
| [jeevan@jeevan-pc ns-3.27]$ ./waf --run "scratch/dsdvwifi_0_1 -nwifisource=4 --saturated=false" | |
| Waf: Entering directory `/home/jeevan/networklab/ns-allinone-3.27/ns-3.27/build' | |
| Waf: Leaving directory `/home/jeevan/networklab/ns-allinone-3.27/ns-3.27/build' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module load_store(address,data,load_or_store); | |
| input [7:0] address; | |
| inout [7:0] data; | |
| input load_or_store; | |
| reg [7:0] regmem [255:0]; | |
| wire [7:0] address; | |
| //assign load_or_store=1'b0; | |
| always @(*) | |
| begin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <string> | |
| #include "ns3/core-module.h" | |
| #include "ns3/network-module.h" | |
| #include "ns3/csma-module.h" | |
| #include "ns3/internet-module.h" | |
| #include "ns3/point-to-point-module.h" | |
| #include "ns3/applications-module.h" | |
| #include "ns3/ipv4-global-routing-helper.h" |
NewerOlder