Hi, I'm trying to add & delete custom header ESP header 8 bytes before IP
header, I used pbuf_header(p,8) in ip_output_if_opt before if
(pbuf_header(p, IP_HLEN))
* |room for new header *
\/
@goldsi...@gmx.de ,
goldsi...@gmx.de wrote
> I guess ESP is Espressif, the vendor of ESP32? But I'm lost on the rest.
Encapsulating Security Payload protocol
goldsi...@gmx.de wrote
> Right, I can't help with the information provided, either.
I explained the scenario in the last reply
@Sergio R. Caprile Thank you for time ,
Sergio R. Caprile wrote
> Perhaps if you could think your actions in terms of OSI layers it would
> be easier to understand.
> You say "before IP" but you draw "after IP" (well, sort of...), so I
> don't really get what you need.
Layer 3 in OSI layers,
Yup, It's transport mode.
> I'll stay lurking in listen-mode as I'm curious on how to do this.
Thanks
--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailm
That doesn't seem completely correct. Per your later image, it seems you need
the IP header to contain proto = ESP, not proto = TCP...
Yes , i did change proto to 50, IPH_PROTO_SET(iphdr, proto);
But you must also check it, not only remove it, don't you?
Sure, Currently I'm Just trying to add/remo