version 1.155, 2016/02/04 02:48:37 |
version 1.156, 2016/04/01 05:11:38 |
Line 144 pfil_head_t *inet6_pfil_hook; |
|
Line 144 pfil_head_t *inet6_pfil_hook; |
|
|
|
percpu_t *ip6stat_percpu; |
percpu_t *ip6stat_percpu; |
|
|
static void ip6_init2(void *); |
static void ip6_init2(void); |
static void ip6intr(void *); |
static void ip6intr(void *); |
static struct m_tag *ip6_setdstifaddr(struct mbuf *, const struct in6_ifaddr *); |
static struct m_tag *ip6_setdstifaddr(struct mbuf *, const struct in6_ifaddr *); |
|
|
|
|
frag6_init(); |
frag6_init(); |
ip6_desync_factor = cprng_fast32() % MAX_TEMP_DESYNC_FACTOR; |
ip6_desync_factor = cprng_fast32() % MAX_TEMP_DESYNC_FACTOR; |
|
|
ip6_init2(NULL); |
ip6_init2(); |
#ifdef GATEWAY |
#ifdef GATEWAY |
ip6flow_init(ip6_hashsize); |
ip6flow_init(ip6_hashsize); |
#endif |
#endif |
|
|
} |
} |
|
|
static void |
static void |
ip6_init2(void *dummy) |
ip6_init2(void) |
{ |
{ |
|
|
/* nd6_timer_init */ |
|
callout_init(&nd6_timer_ch, CALLOUT_MPSAFE); |
|
callout_reset(&nd6_timer_ch, hz, nd6_timer, NULL); |
|
|
|
/* timer for regeneranation of temporary addresses randomize ID */ |
/* timer for regeneranation of temporary addresses randomize ID */ |
callout_init(&in6_tmpaddrtimer_ch, CALLOUT_MPSAFE); |
callout_init(&in6_tmpaddrtimer_ch, CALLOUT_MPSAFE); |
callout_reset(&in6_tmpaddrtimer_ch, |
callout_reset(&in6_tmpaddrtimer_ch, |