On Sun, Nov 18, 2018 at 6:55 AM Kanthi P <[email protected]> wrote:
>
> Hi,
>
> Can anyone suggest a way to adjust the packet length(for example to strip off 
> the payload and have only headers) using eBPF TC program?

You may check helper bpf_skb_change_tail(), which could serve your purpose.

>
> Thanks,
> Kanthi
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#1526): https://lists.iovisor.org/g/iovisor-dev/message/1526
Mute This Topic: https://lists.iovisor.org/mt/28214488/21656
Group Owner: [email protected]
Unsubscribe: https://lists.iovisor.org/g/iovisor-dev/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to