Home
last modified time | relevance | path

Searched refs:ETH_P_ALL (Results 1 – 12 of 12) sorted by relevance

/Zephyr-Core-3.7.0/tests/net/socket/af_packet/src/
Dmain.c204 *sock1 = setup_socket(ud.first, SOCK_RAW, htons(ETH_P_ALL)); in __test_packet_sockets()
207 *sock2 = setup_socket(ud.second, SOCK_RAW, htons(ETH_P_ALL)); in __test_packet_sockets()
424 sock1 = setup_socket(ud.first, SOCK_DGRAM, htons(ETH_P_ALL)); in ZTEST()
427 sock2 = setup_socket(ud.second, SOCK_RAW, htons(ETH_P_ALL)); in ZTEST()
523 sock1 = setup_socket(ud.first, SOCK_DGRAM, htons(ETH_P_ALL)); in ZTEST()
526 sock2 = setup_socket(ud.second, SOCK_RAW, htons(ETH_P_ALL)); in ZTEST()
529 sock3 = setup_socket(ud.second, SOCK_RAW, htons(ETH_P_ALL)); in ZTEST()
/Zephyr-Core-3.7.0/samples/net/dsa/src/
Dmain.c74 pd->sock = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in start_slave_port_packet_socket()
/Zephyr-Core-3.7.0/subsys/net/ip/
Dconnection.c586 if (proto == ETH_P_ALL) { in conn_raw_socket()
598 conn->proto != ETH_P_ALL && in conn_raw_socket()
667 if (proto != ETH_P_ALL && proto != IPPROTO_RAW) { in net_conn_input()
756 if (proto != ETH_P_ALL && proto != IPPROTO_RAW) { in net_conn_input()
776 if (proto == ETH_P_ALL) { in net_conn_input()
782 if ((proto == ETH_P_ALL && conn->proto != IPPROTO_RAW) || in net_conn_input()
Dnet_core.c71 ret = net_packet_socket_input(pkt, ETH_P_ALL); in process_data()
115 ret = net_packet_socket_input(pkt, ETH_P_ALL); in process_data()
Dnet_context.c686 ll_addr.sll_protocol = htons(ETH_P_ALL); in bind_default()
/Zephyr-Core-3.7.0/tests/net/socket/register/src/
Dmain.c106 .test_case.proto = htons(ETH_P_ALL),
206 if (((type == SOCK_RAW) && (proto == ETH_P_ALL || proto == ETH_P_IEEE802154)) || in is_packet()
/Zephyr-Core-3.7.0/samples/net/sockets/packet/src/
Dpacket.c67 htons(ETH_P_ALL)); in start_socket()
/Zephyr-Core-3.7.0/include/zephyr/net/
Dethernet.h76 #if !defined(ETH_P_ALL)
77 #define ETH_P_ALL NET_ETH_PTYPE_ALL macro
/Zephyr-Core-3.7.0/subsys/net/lib/sockets/
Dsockets_packet.c492 return proto == ETH_P_ALL in packet_is_supported()
/Zephyr-Core-3.7.0/samples/net/sockets/txtime/src/
Dmain.c276 sock = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in create_socket()
/Zephyr-Core-3.7.0/tests/net/socket/udp/src/
Dmain.c2158 packet_sock = zsock_socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in ZTEST()
2207 packet_sock = zsock_socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in ZTEST()
2257 packet_sock = zsock_socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in ZTEST()
2323 packet_sock = zsock_socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in ZTEST()
/Zephyr-Core-3.7.0/doc/releases/
Dmigration-guide-3.7.rst898 socket calls. Linux expects the protocol field to be ``htons(ETH_P_ALL)`` if it is desired