| version 1.53, 2002/05/28 03:04:06 |
version 1.54, 2002/05/28 10:11:51 |
|
|
| { |
{ |
| struct ip6protosw *pr; |
struct ip6protosw *pr; |
| int i; |
int i; |
| struct timeval tv; |
|
| |
|
| pr = (struct ip6protosw *)pffindproto(PF_INET6, IPPROTO_RAW, SOCK_RAW); |
pr = (struct ip6protosw *)pffindproto(PF_INET6, IPPROTO_RAW, SOCK_RAW); |
| if (pr == 0) |
if (pr == 0) |
|
|
| ip6intrq.ifq_maxlen = ip6qmaxlen; |
ip6intrq.ifq_maxlen = ip6qmaxlen; |
| nd6_init(); |
nd6_init(); |
| frag6_init(); |
frag6_init(); |
| /* |
ip6_flow_seq = arc4random(); |
| * in many cases, random() here does NOT return random number |
|
| * as initialization during bootstrap time occur in fixed order. |
|
| */ |
|
| microtime(&tv); |
|
| ip6_flow_seq = random() ^ tv.tv_usec; |
|
| |
|
| ip6_init2((void *)0); |
ip6_init2((void *)0); |
| |
|