In order to be able to receive packets on unbound packet sockets (which should collect packet from all interfaces in such case), it's needed to register receive callback at the socket layer as soon as the socket is created. In additional to that, the default binding for packet sockets need to be revisited. Packet socket should not be bound to the default interface, as this way the socket would only be receiving packets from that particular interface. Instead, leave the interface unspecified in such case. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| getaddrinfo.c | ||
| getnameinfo.c | ||
| Kconfig | ||
| socket_dispatcher.c | ||
| socket_obj_core.c | ||
| socket_offload.c | ||
| socketpair.c | ||
| sockets_can.c | ||
| sockets_inet.c | ||
| sockets_internal.h | ||
| sockets_misc.c | ||
| sockets_net_mgmt.c | ||
| sockets_packet.c | ||
| sockets_service.c | ||
| sockets_tls.c | ||
| sockets.c | ||