在netflter中对IP数据包进行过滤,想用struct in_addr 中s.addr与struct iphdr 中的iphdr.saddr做比较,不知道这两个所谓的“网络字节”能否放在一起判断是否相等呢(==)呢
结构体成员一一对应比较 ==if( a.x == b.x && a.y == b.y && a.z == b.z)