incubator-nuttx/net
Zhe Weng 9a23ebdbc0 net/pkt: Support binding to devices other than ETH
We're using the `sll_ifindex` inside `struct sockaddr_ll` to bind
device, so we don't need to translate it into mac address, we can just
match the index, which also let us bind to different type of devices
other than Ethernet.

Ref: Linux also uses `ifindex` to find related device and note it down without mac addresses.
https://man7.org/linux/man-pages/man7/packet.7.html
https://github.com/torvalds/linux/blob/v6.7/net/packet/af_packet.c#L3328
https://github.com/torvalds/linux/blob/v6.7/net/packet/af_packet.c#L3264-L3265

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2024-02-22 21:21:48 -08:00
..
arp Support to ARP Address Conflict Detection 2024-01-25 11:25:03 -03:00
bluetooth net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
can net/can: Release IOB when failed to queue in datahandler 2024-01-06 04:20:36 -08:00
devif udp: Add support for SO_TIMESTAMP 2023-11-18 03:10:29 -08:00
icmp poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
icmpv6 netdev/ipv6: Move `xxx_ipv6multicast` from arch to common code 2023-12-16 05:26:16 -08:00
ieee802154 net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
igmp igmp: call IFF_SET_IPv4 when igmp_send 2023-11-16 07:29:48 -08:00
inet ipv6: Fix source address with many addresses in same network 2023-12-13 06:13:25 -08:00
ipforward build: add initial cmake build system 2023-07-08 13:50:48 +08:00
ipfrag net/ipfrag:Fixed ref not initializing warning issue 2023-07-26 08:36:04 -03:00
local local_sendmsg: fix peer->lc_cfps[] array out-of-range write 2024-01-04 20:07:06 -08:00
mld net: Support multiple IPv6 address per netdev 2023-11-07 19:30:36 +08:00
nat net/nat: Fix ICMP Error MSG Processing 2024-02-05 19:36:59 +08:00
neighbor net/route: Support longest prefix match for routing 2024-01-09 05:58:10 -08:00
netdev Support to ARP Address Conflict Detection 2024-01-25 11:25:03 -03:00
netfilter build: add initial cmake build system 2023-07-08 13:50:48 +08:00
netlink Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
pkt net/pkt: Support binding to devices other than ETH 2024-02-22 21:21:48 -08:00
procfs Support to ARP Address Conflict Detection 2024-01-25 11:25:03 -03:00
route net/route: Support longest prefix match for routing 2024-01-09 05:58:10 -08:00
rpmsg rpmsg/Kconfig: add rpmsg_local_name to replace rptun_local_name 2024-02-18 04:09:34 -08:00
sixlowpan net: Support multiple IPv6 address per netdev 2023-11-07 19:30:36 +08:00
socket udp: Add support for SO_TIMESTAMP 2023-11-18 03:10:29 -08:00
tcp net: Only call arp_send for PF_INET and icmpv6_neighbor for PF_INET6 2024-01-09 05:56:28 -08:00
udp net/udp: Fix source address selection under IPv6 2024-02-02 09:07:38 -08:00
usrsock poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
utils net/utils: Switch argument order of net_ipv6_pref2mask 2023-11-07 19:30:36 +08:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig udp: Add support for SO_TIMESTAMP 2023-11-18 03:10:29 -08:00
Makefile Support fragmentation and reassembly 2023-01-17 14:01:37 +08:00
net_initialize.c net: Reoder the initialize sequence(mac->ip->tcp/udp) 2022-03-12 19:24:17 +02:00