diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2008-02-21 21:32:25 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2008-02-21 21:32:25 +0000 |
commit | b157a032732bd0d331daf01ae011f2a63707bcd7 (patch) | |
tree | 1eec24ec459a787dd4218d5cb740982089b3dd50 /userspace/ebtables2/include | |
parent | aec7a025a9a8e9b9c47e9b14c8b3bad25eb46d0e (diff) |
Kuo-Lang Tseng et al: add ipv6 support
Diffstat (limited to 'userspace/ebtables2/include')
-rw-r--r-- | userspace/ebtables2/include/ebtables_u.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/userspace/ebtables2/include/ebtables_u.h b/userspace/ebtables2/include/ebtables_u.h index f1f1dfd..3ba8c05 100644 --- a/userspace/ebtables2/include/ebtables_u.h +++ b/userspace/ebtables2/include/ebtables_u.h @@ -297,6 +297,10 @@ void ebt_print_mac_and_mask(const unsigned char *mac, const unsigned char *mask) int ebt_get_mac_and_mask(const char *from, unsigned char *to, unsigned char *mask); void ebt_parse_ip_address(char *address, uint32_t *addr, uint32_t *msk); char *ebt_mask_to_dotted(uint32_t mask); +void ebt_parse_ip6_address(char *address, struct in6_addr *addr, + struct in6_addr *msk); +char *ebt_ip6_to_numeric(const struct in6_addr *addrp); + int do_command(int argc, char *argv[], int exec_style, struct ebt_u_replace *replace_); |