]> git.ipfire.org Git - thirdparty/systemd.git/blame - coccinelle/htonl.cocci
firstboot: Check if the given shell exists
[thirdparty/systemd.git] / coccinelle / htonl.cocci
CommitLineData
8e38570e
LP
1@@
2expression s;
3@@
4- htonl(s)
5+ htobe32(s)
6@@
7expression s;
8@@
9- htons(s)
10+ htobe16(s)
11@@
12expression s;
13@@
14- ntohl(s)
15+ be32toh(s)
16@@
17expression s;
18@@
19- ntohs(s)
20+ be16toh(s)