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