Sign in
third-party-mirror
/
systemd
/
f229149d865bb087742add2415d0c7c321294591
/
.
/
coccinelle
/
htonl.cocci
blob: c247d24e9bc6bf49238f6dddd7d781f6ae6e42d8 [
file
] [
log
] [
blame
]
/* SPDX-License-Identifier: LGPL-2.1-or-later */
@@
expression s
;
@@
-
htonl
(
s
)
+
htobe32
(
s
)
@@
expression s
;
@@
-
htons
(
s
)
+
htobe16
(
s
)
@@
expression s
;
@@
-
ntohl
(
s
)
+
be32toh
(
s
)
@@
expression s
;
@@
-
ntohs
(
s
)
+
be16toh
(
s
)