* query regarding IPsec inner IP header TTL
@ 2021-11-18 4:10 Gagandeep Singh
2021-11-18 5:45 ` Anoob Joseph
0 siblings, 1 reply; 3+ messages in thread
From: Gagandeep Singh @ 2021-11-18 4:10 UTC (permalink / raw)
To: Akhil Goyal, dev
[-- Attachment #1: Type: text/plain, Size: 335 bytes --]
Hi,
Is there any option available in IPsec mode to decrement the inner IP header TTL field by security engine?
I believe in case of forwarding, inner IP header TTL should be decrement but not in case of packet termination. So looking for an option that application can pass to driver to perform TTL decrement.
Thanks,
Gagan
[-- Attachment #2: Type: text/html, Size: 2115 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: query regarding IPsec inner IP header TTL
2021-11-18 4:10 query regarding IPsec inner IP header TTL Gagandeep Singh
@ 2021-11-18 5:45 ` Anoob Joseph
2021-11-18 5:52 ` Gagandeep Singh
0 siblings, 1 reply; 3+ messages in thread
From: Anoob Joseph @ 2021-11-18 5:45 UTC (permalink / raw)
To: Gagandeep Singh; +Cc: Akhil Goyal, dev
Hi Gagandeep,
There is an option(dec_ttl) in 'struct rte_security_ipsec_sa_options' to control this. Wouldn't that work?
http://code.dpdk.org/dpdk/latest/source/lib/security/rte_security.h#L166
Thanks,
Anoob
From: Gagandeep Singh <G.Singh@nxp.com>
Sent: Thursday, November 18, 2021 9:41 AM
To: Akhil Goyal <gakhil@marvell.com>; dev@dpdk.org
Subject: [EXT] query regarding IPsec inner IP header TTL
External Email
________________________________________
Hi,
Is there any option available in IPsec mode to decrement the inner IP header TTL field by security engine?
I believe in case of forwarding, inner IP header TTL should be decrement but not in case of packet termination. So looking for an option that application can pass to driver to perform TTL decrement.
Thanks,
Gagan
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: query regarding IPsec inner IP header TTL
2021-11-18 5:45 ` Anoob Joseph
@ 2021-11-18 5:52 ` Gagandeep Singh
0 siblings, 0 replies; 3+ messages in thread
From: Gagandeep Singh @ 2021-11-18 5:52 UTC (permalink / raw)
To: Anoob Joseph; +Cc: Akhil Goyal, dev
Thanks Anoob.
> -----Original Message-----
> From: Anoob Joseph <anoobj@marvell.com>
> Sent: Thursday, November 18, 2021 11:15 AM
> To: Gagandeep Singh <G.Singh@nxp.com>
> Cc: Akhil Goyal <gakhil@marvell.com>; dev@dpdk.org
> Subject: RE: query regarding IPsec inner IP header TTL
>
> Hi Gagandeep,
>
> There is an option(dec_ttl) in 'struct rte_security_ipsec_sa_options' to control
> this. Wouldn't that work?
>
> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcode.dpdk
> .org%2Fdpdk%2Flatest%2Fsource%2Flib%2Fsecurity%2Frte_security.h%23L166&
> amp;data=04%7C01%7CG.Singh%40nxp.com%7C39b5b1a26d8345f89c8708d9a
> a56a19e%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63772811134
> 3148716%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2lu
> MzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=BTzCgx8lhfsa%2
> BePSRloF9%2FetBjVqgDPJwoF8vtAwYiM%3D&reserved=0
>
> Thanks,
> Anoob
>
> From: Gagandeep Singh <G.Singh@nxp.com>
> Sent: Thursday, November 18, 2021 9:41 AM
> To: Akhil Goyal <gakhil@marvell.com>; dev@dpdk.org
> Subject: [EXT] query regarding IPsec inner IP header TTL
>
> External Email
> ________________________________________
> Hi,
>
> Is there any option available in IPsec mode to decrement the inner IP header TTL
> field by security engine?
>
> I believe in case of forwarding, inner IP header TTL should be decrement but not
> in case of packet termination. So looking for an option that application can pass
> to driver to perform TTL decrement.
>
> Thanks,
> Gagan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-11-18 5:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-18 4:10 query regarding IPsec inner IP header TTL Gagandeep Singh
2021-11-18 5:45 ` Anoob Joseph
2021-11-18 5:52 ` Gagandeep Singh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).