!= check on struct datatype

The simplest way to compare two structs for an exact match would be a memcmp.