diff options
author | Masahide NAKAMURA <nakam@linux-ipv6.org> | 2006-08-23 23:39:03 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 18:07:03 -0400 |
commit | 2ce4272a699c731b9736d76126dc742353e381db (patch) | |
tree | ce60343164fa72dde2207d4c4045554662efa141 /include/net/xfrm.h | |
parent | 6e8f4d48b265225bdf437bbf3151b0d6700dda22 (diff) |
[IPV6] MIP6: Transformation support mobility header.
Transformation support mobility header.
Based on MIPL2 kernel patch.
Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/xfrm.h')
-rw-r--r-- | include/net/xfrm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 7f1630630dcf..13488e7ba68c 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -546,6 +546,11 @@ u16 xfrm_flowi_sport(struct flowi *fl) | |||
546 | case IPPROTO_ICMPV6: | 546 | case IPPROTO_ICMPV6: |
547 | port = htons(fl->fl_icmp_type); | 547 | port = htons(fl->fl_icmp_type); |
548 | break; | 548 | break; |
549 | #ifdef CONFIG_IPV6_MIP6 | ||
550 | case IPPROTO_MH: | ||
551 | port = htons(fl->fl_mh_type); | ||
552 | break; | ||
553 | #endif | ||
549 | default: | 554 | default: |
550 | port = 0; /*XXX*/ | 555 | port = 0; /*XXX*/ |
551 | } | 556 | } |