I would prefer:
```
else if (((current_buf->packet[0] & 0xf0) == IPV6_VER) &&
```