version 1.50, 2002/06/07 14:43:11 |
version 1.51, 2002/06/07 14:48:56 |
Line 183 ip6_output(m0, opt, ro, flags, im6o, ifp |
|
Line 183 ip6_output(m0, opt, ro, flags, im6o, ifp |
|
goto freehdrs; \ |
goto freehdrs; \ |
} \ |
} \ |
} while (0) |
} while (0) |
|
|
bzero(&exthdrs, sizeof(exthdrs)); |
bzero(&exthdrs, sizeof(exthdrs)); |
if (opt) { |
if (opt) { |
/* Hop-by-Hop options header */ |
/* Hop-by-Hop options header */ |
Line 224 ip6_output(m0, opt, ro, flags, im6o, ifp |
|
Line 224 ip6_output(m0, opt, ro, flags, im6o, ifp |
|
/* no need to do IPsec. */ |
/* no need to do IPsec. */ |
needipsec = 0; |
needipsec = 0; |
break; |
break; |
|
|
case IPSEC_POLICY_IPSEC: |
case IPSEC_POLICY_IPSEC: |
if (sp->req == NULL) { |
if (sp->req == NULL) { |
/* XXX should be panic ? */ |
/* XXX should be panic ? */ |
Line 1242 ip6_ctloutput(op, so, level, optname, mp |
|
Line 1242 ip6_ctloutput(op, so, level, optname, mp |
|
|
|
if (level == IPPROTO_IPV6) { |
if (level == IPPROTO_IPV6) { |
switch (op) { |
switch (op) { |
|
|
case PRCO_SETOPT: |
case PRCO_SETOPT: |
switch (optname) { |
switch (optname) { |
case IPV6_PKTOPTIONS: |
case IPV6_PKTOPTIONS: |