c2fcdbf87e200e2faa70f0d759796a5b1955772f
[linux-flexiantxendom0-3.2.10.git] / net / ipv6 / mobile_ip6 / halist.h
1 /*
2  *      MIPL Mobile IPv6 Home Agents List header file      
3  *
4  *      $Id: s.halist.h 1.13 03/09/26 00:30:23+03:00 vnuorval@cs78179138.pp.htv.fi $
5  *
6  *      This program is free software; you can redistribute it and/or
7  *      modify it under the terms of the GNU General Public License
8  *      as published by the Free Software Foundation; either version
9  *      2 of the License, or (at your option) any later version.
10  */
11
12 #ifndef _HALIST_H
13 #define _HALIST_H
14
15 int mipv6_halist_init(__u32 size);
16
17 void mipv6_halist_exit(void);
18
19 int mipv6_halist_add(int ifindex, struct in6_addr *glob_addr, int plen,
20                      struct in6_addr *ll_addr, int pref, __u32 lifetime);
21
22 int mipv6_halist_delete(struct in6_addr *glob_addr);
23
24 int mipv6_ha_get_pref_list(int ifindex, struct in6_addr **addrs, int max);
25
26 int mipv6_ha_get_addr(int ifindex, struct in6_addr *addr);
27
28 #endif /* _HALIST_H */