]> git.proxmox.com Git - mirror_frr.git/blobdiff - nhrpd/znl.h
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / nhrpd / znl.h
index 2cd630b5d3c765ff3413e0a39cf26aa162e445a4..95dfae83f4c2ff57e5535bdb5348c4e0382326a8 100644 (file)
@@ -1,10 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /* Netlink helpers for zbuf
  * Copyright (c) 2014-2015 Timo Teräs
- *
- * This file is free software: you may copy, redistribute and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
  */
 
 #include "zbuf.h"
@@ -18,7 +14,8 @@ struct nlmsghdr *znl_nlmsg_push(struct zbuf *zb, uint16_t type, uint16_t flags);
 void znl_nlmsg_complete(struct zbuf *zb, struct nlmsghdr *n);
 struct nlmsghdr *znl_nlmsg_pull(struct zbuf *zb, struct zbuf *payload);
 
-struct rtattr *znl_rta_push(struct zbuf *zb, uint16_t type, const void *val, size_t len);
+struct rtattr *znl_rta_push(struct zbuf *zb, uint16_t type, const void *val,
+                           size_t len);
 struct rtattr *znl_rta_push_u32(struct zbuf *zb, uint16_t type, uint32_t val);
 struct rtattr *znl_rta_nested_push(struct zbuf *zb, uint16_t type);
 void znl_rta_nested_complete(struct zbuf *zb, struct rtattr *rta);
@@ -26,4 +23,3 @@ void znl_rta_nested_complete(struct zbuf *zb, struct rtattr *rta);
 struct rtattr *znl_rta_pull(struct zbuf *zb, struct zbuf *payload);
 
 int znl_open(int protocol, int groups);
-