Home
last modified time | relevance | path

Searched refs:can_ifindex (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/include/zephyr/net/
Dsocketcan.h74 int can_ifindex; /**< SocketCAN network interface index */ member
Dnet_ip.h243 int can_ifindex; member
/Zephyr-latest/samples/net/sockets/can/src/
Dmain.c85 can_addr.can_ifindex = net_if_get_by_iface( in create_socket()
193 can_addr.can_ifindex = net_if_get_by_iface(iface); in setup_socket()
/Zephyr-latest/drivers/can/
Dcan_native_linux_adapt.c66 addr.can_ifindex = ifr.ifr_ifindex; in linux_socketcan_iface_open()
/Zephyr-latest/subsys/net/ip/
Dnet_context.c782 can_addr.can_ifindex = net_if_get_by_iface(iface); in bind_default()
783 context->iface = can_addr.can_ifindex; in bind_default()
1141 if (can_addr->can_ifindex < 0) { in net_context_bind()
1145 iface = net_if_get_by_index(can_addr->can_ifindex); in net_context_bind()
1148 can_addr->can_ifindex); in net_context_bind()
1168 net_can_ptr(&context->local)->can_ifindex = in net_context_bind()
1169 can_addr->can_ifindex; in net_context_bind()
1173 can_addr->can_ifindex, iface); in net_context_bind()
2437 if (can_addr->can_ifindex < 0) { in context_sendto()
2439 can_addr->can_ifindex = in context_sendto()
[all …]
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_can.c200 iface = net_if_get_by_index(can_addr->can_ifindex); in zcan_bind_ctx()
254 can_addr.can_ifindex = -1; in zcan_sendto_ctx()