BEGIN { sent=0 received=0 } { if($1=="s" && $3=="0" && $4=="AGT") { sent++; } if($1=="r" && $3=="7" && $4=="AGT") { received++; } } END{ printf("\n total number of data packets received at node 3: %d\n", sent); printf("\n total number of data packets dropped at node 2: %d\n", received); }
-
Notifications
You must be signed in to change notification settings - Fork 0
varun-320/cn-lab
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published