Searched refs:ETH_P_ALL (Results 1 – 12 of 12) sorted by relevance
/Zephyr-Core-3.7.0/tests/net/socket/af_packet/src/ |
D | main.c | 204 *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/ |
D | main.c | 74 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/ |
D | connection.c | 586 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()
|
D | net_core.c | 71 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()
|
D | net_context.c | 686 ll_addr.sll_protocol = htons(ETH_P_ALL); in bind_default()
|
/Zephyr-Core-3.7.0/tests/net/socket/register/src/ |
D | main.c | 106 .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/ |
D | packet.c | 67 htons(ETH_P_ALL)); in start_socket()
|
/Zephyr-Core-3.7.0/include/zephyr/net/ |
D | ethernet.h | 76 #if !defined(ETH_P_ALL) 77 #define ETH_P_ALL NET_ETH_PTYPE_ALL macro
|
/Zephyr-Core-3.7.0/subsys/net/lib/sockets/ |
D | sockets_packet.c | 492 return proto == ETH_P_ALL in packet_is_supported()
|
/Zephyr-Core-3.7.0/samples/net/sockets/txtime/src/ |
D | main.c | 276 sock = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in create_socket()
|
/Zephyr-Core-3.7.0/tests/net/socket/udp/src/ |
D | main.c | 2158 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/ |
D | migration-guide-3.7.rst | 898 socket calls. Linux expects the protocol field to be ``htons(ETH_P_ALL)`` if it is desired
|