diff options
author | Sander Vrijders <sander.vrijders@ugent.be> | 2017-03-24 13:36:48 +0000 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-03-24 13:36:48 +0000 |
commit | 25d262cb383039b1d97a5b41ec477d6a40957398 (patch) | |
tree | 1967a00bfe73a11cafbee7a5e97173abd7699add /src/ipcpd/normal/pff.h | |
parent | e7f439e31aa8cd972b567da8c0421faa1ca09e59 (diff) | |
parent | 0ed6ef2567a8355013e2cd61a1a31df6be67ae01 (diff) | |
download | ouroboros-25d262cb383039b1d97a5b41ec477d6a40957398.tar.gz ouroboros-25d262cb383039b1d97a5b41ec477d6a40957398.zip |
Merged in sandervrijders/ouroboros/be-full-pff (pull request #421)
ipcpd: normal: Fill in forwarding table
Diffstat (limited to 'src/ipcpd/normal/pff.h')
-rw-r--r-- | src/ipcpd/normal/pff.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ipcpd/normal/pff.h b/src/ipcpd/normal/pff.h index 667c341e..7d8ce469 100644 --- a/src/ipcpd/normal/pff.h +++ b/src/ipcpd/normal/pff.h @@ -34,6 +34,10 @@ struct pff * pff_create(void); void pff_destroy(struct pff * instance); +void pff_lock(struct pff * instance); + +void pff_unlock(struct pff * instance); + int pff_add(struct pff * instance, uint64_t addr, int fd); @@ -45,6 +49,8 @@ int pff_update(struct pff * instance, int pff_remove(struct pff * instance, uint64_t addr); +void pff_flush(struct pff * instance); + /* Returns fd towards next hop */ int pff_nhop(struct pff * instance, uint64_t addr); |