diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-12-17 21:26:43 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-12-17 21:26:43 +0100 |
commit | 0aec3af45d839beb5054c6f0ed7ff9b115b8d907 (patch) | |
tree | 3cec335e622a39e57ad81923ab46a4d7567befb1 /include/libipset/parse.h | |
parent | 5c269cc6982f664153bd73af93c41312b862e15d (diff) | |
download | ipset-0aec3af45d839beb5054c6f0ed7ff9b115b8d907.tar.gz |
Add ipset_parse_tcpudp_port function
Add new parser function to parse TCP/UDP port name, number, or range of them.
Diffstat (limited to 'include/libipset/parse.h')
-rw-r--r-- | include/libipset/parse.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libipset/parse.h b/include/libipset/parse.h index 2e3f8a8..e87a60d 100644 --- a/include/libipset/parse.h +++ b/include/libipset/parse.h @@ -26,6 +26,9 @@ extern int ipset_parse_ether(struct ipset_session *session, extern int ipset_parse_port(struct ipset_session *session, enum ipset_opt opt, const char *str, const char *proto); +extern int ipset_parse_tcpudp_port(struct ipset_session *session, + enum ipset_opt opt, const char *str, + const char *proto); extern int ipset_parse_tcp_port(struct ipset_session *session, enum ipset_opt opt, const char *str); extern int ipset_parse_single_tcp_port(struct ipset_session *session, |