nmosh: Use non-Atomic memory
pcap: Fix for embedded pcap plugin