ip6_input.c (67893) | ip6_input.c (69152) |
---|---|
1/* $FreeBSD: head/sys/netinet6/ip6_input.c 67893 2000-10-29 16:06:56Z phk $ */ | 1/* $FreeBSD: head/sys/netinet6/ip6_input.c 69152 2000-11-25 07:35:38Z jlemon $ */ |
2/* $KAME: ip6_input.c,v 1.95 2000/07/02 07:49:37 jinmei Exp $ */ 3 4/* 5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 152 unchanged lines hidden (view full) --- 162 for (i = 0; i < IPPROTO_MAX; i++) 163 ip6_protox[i] = pr - inet6sw; 164 for (pr = (struct ip6protosw *)inet6domain.dom_protosw; 165 pr < (struct ip6protosw *)inet6domain.dom_protoswNPROTOSW; pr++) 166 if (pr->pr_domain->dom_family == PF_INET6 && 167 pr->pr_protocol && pr->pr_protocol != IPPROTO_RAW) 168 ip6_protox[pr->pr_protocol] = pr - inet6sw; 169 ip6intrq.ifq_maxlen = ip6qmaxlen; | 2/* $KAME: ip6_input.c,v 1.95 2000/07/02 07:49:37 jinmei Exp $ */ 3 4/* 5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 152 unchanged lines hidden (view full) --- 162 for (i = 0; i < IPPROTO_MAX; i++) 163 ip6_protox[i] = pr - inet6sw; 164 for (pr = (struct ip6protosw *)inet6domain.dom_protosw; 165 pr < (struct ip6protosw *)inet6domain.dom_protoswNPROTOSW; pr++) 166 if (pr->pr_domain->dom_family == PF_INET6 && 167 pr->pr_protocol && pr->pr_protocol != IPPROTO_RAW) 168 ip6_protox[pr->pr_protocol] = pr - inet6sw; 169 ip6intrq.ifq_maxlen = ip6qmaxlen; |
170 mtx_init(&ip6intrq.ifq_mtx, "ip6_inq", MTX_DEF); |
|
170 register_netisr(NETISR_IPV6, ip6intr); 171 nd6_init(); 172 frag6_init(); 173 /* 174 * in many cases, random() here does NOT return random number 175 * as initialization during bootstrap time occur in fixed order. 176 */ 177 microtime(&tv); --- 1134 unchanged lines hidden --- | 171 register_netisr(NETISR_IPV6, ip6intr); 172 nd6_init(); 173 frag6_init(); 174 /* 175 * in many cases, random() here does NOT return random number 176 * as initialization during bootstrap time occur in fixed order. 177 */ 178 microtime(&tv); --- 1134 unchanged lines hidden --- |