diff options
author | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2012-02-06 16:49:34 +0100 |
---|---|---|
committer | Daniel Wagner <daniel.wagner@bmw-carit.de> | 2012-02-13 18:03:41 +0100 |
commit | da94095914e25fd26a793d348884b39e913a56d2 (patch) | |
tree | e65aa44c31cc41ea6e13346da9fac42c20c005fc /src/ippool.c | |
parent | 132f1d6803d1714b4ff44f07e331bf62bf9f5b5f (diff) | |
download | connman-da94095914e25fd26a793d348884b39e913a56d2.tar.gz connman-da94095914e25fd26a793d348884b39e913a56d2.tar.bz2 connman-da94095914e25fd26a793d348884b39e913a56d2.zip |
ippool: Add prefixlen argument to __connman_ippool_new/deladdr()
Diffstat (limited to 'src/ippool.c')
-rw-r--r-- | src/ippool.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ippool.c b/src/ippool.c index a4819ee7..f0952ff1 100644 --- a/src/ippool.c +++ b/src/ippool.c @@ -196,7 +196,8 @@ static uint32_t find_free_block() return 0; } -void __connman_ippool_newaddr(int index, const char *address) +void __connman_ippool_newaddr(int index, const char *address, + unsigned char prefixlen) { struct connman_ippool *pool; struct in_addr inp; @@ -225,7 +226,8 @@ void __connman_ippool_newaddr(int index, const char *address) pool->collision_cb(pool, pool->user_data); } -void __connman_ippool_deladdr(int index, const char *address) +void __connman_ippool_deladdr(int index, const char *address, + unsigned char prefixlen) { struct in_addr inp; uint32_t block; |