]>
git.ipfire.org Git - thirdparty/ipset.git/blob - check_const
3 # include/linux/nfnetlink.h: nfnl_callback
4 # include/linux/netlink.h: netlink_dump_start
5 { if (/^
(struct nfnl_callback
|extern int netlink_dump
)/) { check=
1 } }
6 { if (check ==
1 && /(^
};|...\
);)/) { check=
0 } }
8 { if (check ==
1 && /const struct nlmsghdr
/) { print "const" } }