diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/net/xfrm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 4e6f9568cbe7..0d255ae008b6 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h | |||
@@ -552,6 +552,9 @@ struct xfrm_mode_skb_cb { | |||
552 | __be16 id; | 552 | __be16 id; |
553 | __be16 frag_off; | 553 | __be16 frag_off; |
554 | 554 | ||
555 | /* IP header length (excluding options or extension headers). */ | ||
556 | u8 ihl; | ||
557 | |||
555 | /* TOS for IPv4, class for IPv6. */ | 558 | /* TOS for IPv4, class for IPv6. */ |
556 | u8 tos; | 559 | u8 tos; |
557 | 560 | ||
@@ -561,6 +564,9 @@ struct xfrm_mode_skb_cb { | |||
561 | /* Protocol for IPv4, NH for IPv6. */ | 564 | /* Protocol for IPv4, NH for IPv6. */ |
562 | u8 protocol; | 565 | u8 protocol; |
563 | 566 | ||
567 | /* Option length for IPv4, zero for IPv6. */ | ||
568 | u8 optlen; | ||
569 | |||
564 | /* Used by IPv6 only, zero for IPv4. */ | 570 | /* Used by IPv6 only, zero for IPv4. */ |
565 | u8 flow_lbl[3]; | 571 | u8 flow_lbl[3]; |
566 | }; | 572 | }; |