]>
git.ipfire.org Git - thirdparty/systemd.git/blame - coccinelle/htonl.cocci
Commit | Line | Data |
8e38570e LP |
1 | @@ |
2 | expression s; |
3 | @@ |
4 | - htonl(s) |
5 | + htobe32(s) |
6 | @@ |
7 | expression s; |
8 | @@ |
9 | - htons(s) |
10 | + htobe16(s) |
11 | @@ |
12 | expression s; |
13 | @@ |
14 | - ntohl(s) |
15 | + be32toh(s) |
16 | @@ |
17 | expression s; |
18 | @@ |
19 | - ntohs(s) |
20 | + be16toh(s) |