Re: bind() and PACKET_MULTICAST

2021-04-08 Thread Tom Cook
Never mind. In case anyone was wondering, PACKET_ADD_MEMBERSHIP is a SOL_PACKET option, not SOL_SOCKET. Only took me two days to spot! On Tue, Apr 6, 2021 at 8:13 PM Tom Cook wrote: > > Can someone please suggest why the code below doesn't do as expected? > I expect it to bin

bind() and PACKET_MULTICAST

2021-04-06 Thread Tom Cook
Can someone please suggest why the code below doesn't do as expected? I expect it to bind an AF_PACKET socket to an interface and receive packets with ethertype 0x5eeb that arrive at multicast MAC address 77:68:76:68:76:69 on that interface. In practice, nothing arrives. If I comment out the call

Re: MACSEC configuration - is CONFIG_MACSEC enough?

2021-03-02 Thread Tom Cook
Never mind, I found commit b3bdc3acbb44d74d0b7ba4d97169577a2b46dc88 that fixed this in 4.10-rc9 or so. Sorry for wasting your time. Regards, Tom Cook On Mon, Mar 1, 2021 at 3:00 PM Tom Cook wrote: > > I'm trying to use MACSEC on an arm64 embedded platform; I'm trying to >

MACSEC configuration - is CONFIG_MACSEC enough?

2021-03-01 Thread Tom Cook
The SOC is a cavium cn8030. This part is equipped with a crypto accelerator but support for it is not compiled into the kernel. Thanks for any help, Tom Cook

Re: cBPF socket filters failing - inexplicably?

2021-01-15 Thread Tom Cook
pplies after it receives the packets from the queue. Thanks again, Tom Cook