AF_PACKET socket

9 views
Skip to first unread message

Nikita Peshakov

<nikita.peshakov@gmail.com>
unread,
May 10, 2023, 9:58:12 AM5/10/23
to seastar-dev@googlegroups.com
Hello,

I need to get access to ethernet headers of incoming packets.
Can I open the AF_PACKET socket using seastar?
Like: packet_socket = socket(AF_PACKET, SOCK_RAW, int protocol);

Or, probably, seastar has another option to get ethernet headers?

--

Best regards,
Nikita Peshakov

Avi Kivity

<avi@scylladb.com>
unread,
May 10, 2023, 10:16:33 AM5/10/23
to Nikita Peshakov, seastar-dev@googlegroups.com
I don't think we implemented such a thing. So if you need it, you'll have to code it yourself.

I think it's a reasonable addition.
--
You received this message because you are subscribed to the Google Groups "seastar-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seastar-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/seastar-dev/CAFcszc-_5rtH1kz5p8GWy6_0opCKtfGU2KakFyDz5Gv9Ey0Rbw%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages