Home
last modified time | relevance | path

Searched refs:sll_ifindex (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/samples/net/sockets/packet/src/
Dpacket.c76 dst.sll_ifindex = net_if_get_by_iface(net_if_get_default()); in start_socket()
157 dst.sll_ifindex = net_if_get_by_iface(net_if_get_default()); in send_packet_socket()
/Zephyr-latest/samples/net/sockets/txtime/src/
Dmain.c284 addr->sll_ifindex = net_if_get_by_iface(net_if_get_default()); in create_socket()
288 LOG_DBG("Binding to interface %d (%p)", addr->sll_ifindex, in create_socket()
289 net_if_get_by_index(addr->sll_ifindex)); in create_socket()
568 addr->sll_ifindex = net_if_get_by_iface(net_if_get_default()); in main()
571 iface = net_if_get_by_index(addr->sll_ifindex); in main()
/Zephyr-latest/samples/net/dsa/src/
Dmain.c80 dst.sll_ifindex = net_if_get_by_iface(iface); in start_slave_port_packet_socket()
Ddsa_lldp.c44 dst.sll_ifindex = net_if_get_by_iface(iface); in dsa_lldp_send()
/Zephyr-latest/tests/net/socket/af_packet_ipproto_raw/src/
Dmain.c126 dst.sll_ifindex = net_if_get_by_iface(iface); in ZTEST()
/Zephyr-latest/tests/net/ieee802154/l2/src/
Dieee802154_test.c398 .sll_ifindex = net_if_get_by_iface(net_iface), in set_up_recv_socket()
683 struct sockaddr_ll socket_sll = {.sll_ifindex = net_if_get_by_iface(net_iface), in test_dgram_packet_sending()
896 recv_src_sll.sll_ifindex != net_if_get_by_iface(net_iface) || in test_dgram_packet_reception()
933 socket_sll.sll_ifindex = net_if_get_by_iface(net_iface); in test_raw_packet_sending()
1092 .sll_ifindex = net_if_get_by_iface(net_iface), in test_recv_and_send_ack_reply()
1151 recv_src_sll.sll_ifindex != net_if_get_by_iface(net_iface) || in test_recv_and_send_ack_reply()
/Zephyr-latest/drivers/net/
Dnsos.h80 int sll_ifindex; /**< Interface number */ member
Dnsos_adapt.c340 addr_ll->sll_ifindex = addr_ll_mid->sll_ifindex; in sockaddr_from_nsos_mid()
427 addr_ll_mid->sll_ifindex = addr_ll->sll_ifindex; in sockaddr_to_nsos_mid()
Dnsos_sockets.c498 addr_ll_mid->sll_ifindex = addr_ll->sll_ifindex; in sockaddr_to_nsos_mid()
/Zephyr-latest/subsys/net/ip/
Dnet_context.c761 ll_addr.sll_ifindex = net_if_get_by_iface(net_if_get_default()); in bind_default()
1083 if (ll_addr->sll_ifindex < 0) { in net_context_bind()
1087 iface = net_if_get_by_index(ll_addr->sll_ifindex); in net_context_bind()
1090 ll_addr->sll_ifindex); in net_context_bind()
1109 net_sll_ptr(&context->local)->sll_ifindex = in net_context_bind()
1110 ll_addr->sll_ifindex; in net_context_bind()
1123 ll_addr->sll_ifindex, iface, in net_context_bind()
2389 if (ll_addr->sll_ifindex < 0) { in context_sendto()
2393 iface = net_if_get_by_index(ll_addr->sll_ifindex); in context_sendto()
2396 ll_addr->sll_ifindex); in context_sendto()
[all …]
Dconnection.c613 if (local->sll_ifindex != net_if_get_by_iface(pkt_iface)) { in conn_raw_socket()
/Zephyr-latest/include/zephyr/net/
Dnet_ip.h200 int sll_ifindex; /**< Interface number */ member
228 int sll_ifindex; /**< Interface number */ member
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_packet.c180 addr.sll_ifindex = net_if_get_by_iface(iface); in zpacket_set_source_addr()
/Zephyr-latest/tests/net/socket/af_packet/src/
Dmain.c122 addr.sll_ifindex = net_if_get_by_iface(iface); in bind_socket()
/Zephyr-latest/tests/net/socket/udp/src/
Dmain.c1936 addr.sll_ifindex = net_if_get_by_iface(iface); in bind_socket()