]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/af-list.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
5 Copyright 2014 Lennart Poettering
8 #include <sys/socket.h>
10 #include "string-util.h"
12 const char *af_to_name(int id
);
13 int af_from_name(const char *name
);
15 static inline const char* af_to_name_short(int id
) {
25 assert(startswith(f
, "AF_"));