Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/include/net/
Dsocket_can.h52 int can_ifindex; member
Dnet_ip.h219 int can_ifindex; member
/Zephyr-Core-2.7.6/subsys/net/ip/
Dnet_context.c496 can_addr.can_ifindex = net_if_get_by_iface(iface); in bind_default()
497 context->iface = can_addr.can_ifindex; in bind_default()
793 if (can_addr->can_ifindex < 0) { in net_context_bind()
797 iface = net_if_get_by_index(can_addr->can_ifindex); in net_context_bind()
800 can_addr->can_ifindex); in net_context_bind()
820 net_can_ptr(&context->local)->can_ifindex = in net_context_bind()
821 can_addr->can_ifindex; in net_context_bind()
825 can_addr->can_ifindex, iface); in net_context_bind()
1589 if (can_addr->can_ifindex < 0) { in context_sendto()
1591 can_addr->can_ifindex = in context_sendto()
[all …]
/Zephyr-Core-2.7.6/samples/net/sockets/can/src/
Dmain.c83 can_addr.can_ifindex = net_if_get_by_iface( in create_socket()
186 can_addr.can_ifindex = net_if_get_by_iface(iface); in setup_socket()
/Zephyr-Core-2.7.6/subsys/net/lib/sockets/
Dsockets_can.c181 iface = net_if_get_by_index(can_addr->can_ifindex); in zcan_bind_ctx()
235 can_addr.can_ifindex = -1; in zcan_sendto_ctx()