diff options
Diffstat (limited to 'nest/iface.h')
-rw-r--r-- | nest/iface.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nest/iface.h b/nest/iface.h index ea937207..62b3f94b 100644 --- a/nest/iface.h +++ b/nest/iface.h @@ -91,4 +91,18 @@ neighbor *neigh_find(struct proto *, ip_addr *, unsigned flags); void neigh_dump(neighbor *); void neigh_dump_all(void); +/* + * Interface Pattern Lists + */ + +struct iface_patt { + node n; + byte *pattern; /* Interface name pattern */ + + /* Protocol-specific data follow */ +}; + +struct iface_patt *iface_patt_match(list *, struct iface *); +int iface_patts_equal(list *, list *, int (*)(struct iface_patt *, struct iface_patt *)); + #endif |