You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
296 B
Awk
9 lines
296 B
Awk
#! /usr/bin/awk -f
|
|
|
|
# include/linux/nfnetlink.h: nfnl_callback
|
|
# include/linux/netlink.h: netlink_dump_start
|
|
{ if (/^(struct nfnl_callback|extern int netlink_dump)/) { check=1 } }
|
|
{ if (check == 1 && /(^};|...\);)/) { check=0 } }
|
|
|
|
{ if (check == 1 && /const struct nlmsghdr/) { print "const" } }
|