Home
last modified time | relevance | path

Searched refs:SOCK_RAW (Results 1 – 24 of 24) sorted by relevance

/Zephyr-Core-3.4.0/tests/net/socket/register/src/
Dmain.c105 .test_case.type = SOCK_RAW,
112 .test_case.type = SOCK_RAW,
133 .test_case.type = SOCK_RAW,
149 .test_case.type = SOCK_RAW,
204 if (((type == SOCK_RAW) && (proto == ETH_P_ALL || proto == ETH_P_IEEE802154)) || in is_packet()
214 if (type != SOCK_RAW || proto != CAN_RAW) { in is_can()
/Zephyr-Core-3.4.0/tests/net/socket/af_packet/src/
Dmain.c204 *sock1 = setup_socket(ud.first, SOCK_RAW, ETH_P_ALL); in __test_packet_sockets()
207 *sock2 = setup_socket(ud.second, SOCK_RAW, ETH_P_ALL); in __test_packet_sockets()
427 sock2 = setup_socket(ud.second, SOCK_RAW, ETH_P_ALL); in ZTEST()
526 sock2 = setup_socket(ud.second, SOCK_RAW, ETH_P_ALL); in ZTEST()
529 sock3 = setup_socket(ud.second, SOCK_RAW, ETH_P_ALL); in ZTEST()
/Zephyr-Core-3.4.0/samples/net/sockets/can/src/
Dmain.c75 fd = socket(AF_CAN, SOCK_RAW, CAN_RAW); in create_socket()
180 fd = socket(AF_CAN, SOCK_RAW, CAN_RAW); in setup_socket()
/Zephyr-Core-3.4.0/samples/net/dsa/src/
Dmain.c74 pd->sock = socket(AF_PACKET, SOCK_RAW, ETH_P_ALL); in start_slave_port_packet_socket()
/Zephyr-Core-3.4.0/tests/posix/headers/src/
Dsys_socket_h.c62 zassert_not_equal(-1, SOCK_RAW); in ZTEST()
/Zephyr-Core-3.4.0/drivers/can/
Dcan_native_posix_linux_socketcan.c49 fd = socket(PF_CAN, SOCK_RAW, CAN_RAW); in linux_socketcan_iface_open()
/Zephyr-Core-3.4.0/tests/net/socket/af_packet_ipproto_raw/src/
Dmain.c123 sock = socket(AF_PACKET, SOCK_RAW, IPPROTO_RAW); in ZTEST()
/Zephyr-Core-3.4.0/samples/net/sockets/packet/src/
Dpacket.c88 SOCK_DGRAM : SOCK_RAW, in start_socket()
/Zephyr-Core-3.4.0/drivers/bluetooth/hci/
Duserchan.c193 fd = socket(PF_BLUETOOTH, SOCK_RAW | SOCK_CLOEXEC | SOCK_NONBLOCK, in user_chan_open()
/Zephyr-Core-3.4.0/subsys/net/lib/sockets/
Dsockets_packet.c59 if (type == SOCK_RAW) { in zpacket_socket()
482 case SOCK_RAW: in packet_is_supported()
Dsockets_net_mgmt.c389 if ((type != SOCK_RAW && type != SOCK_DGRAM) || in net_mgmt_is_supported()
Dsockets_can.c734 if (type != SOCK_RAW || proto != CAN_RAW) { in can_is_supported()
/Zephyr-Core-3.4.0/include/zephyr/net/
Dnet_context.h543 if (type == SOCK_DGRAM || type == SOCK_STREAM || type == SOCK_RAW) { in net_context_set_type()
Dnet_ip.h87 SOCK_RAW /**< RAW socket type */ enumerator
/Zephyr-Core-3.4.0/subsys/net/l2/ieee802154/
Dieee802154.c331 if (socket_type == SOCK_RAW) { in ieee802154_send()
/Zephyr-Core-3.4.0/tests/net/ieee802154/l2/src/
Dieee802154_test.c788 fd = socket(AF_PACKET, SOCK_RAW, ETH_P_IEEE802154); in test_raw_packet_sending()
859 fd = set_up_recv_socket(SOCK_RAW); in test_raw_packet_reception()
/Zephyr-Core-3.4.0/samples/net/sockets/txtime/src/
Dmain.c269 sock = socket(AF_PACKET, SOCK_RAW, ETH_P_ALL); in create_socket()
/Zephyr-Core-3.4.0/subsys/net/ip/
Dnet_context.c188 case SOCK_RAW: in net_context_check()
201 if (type != SOCK_RAW && type != SOCK_DGRAM) { in net_context_check()
213 if (type != SOCK_RAW) { in net_context_check()
Dconnection.c531 (type == SOCK_RAW && net_pkt_is_l2_processed(pkt))) { in conn_raw_socket()
Dnet_if.c489 context && net_context_get_type(context) == SOCK_RAW && in net_if_send_data()
Dnet_shell.c1414 (net_context_get_type(context) == SOCK_RAW ? 'R' : ' ')), in context_cb()
/Zephyr-Core-3.4.0/drivers/wifi/simplelink/
Dsimplelink_sockets.c214 case SOCK_RAW: in simplelink_socket_type_from_posix()
/Zephyr-Core-3.4.0/doc/releases/
Drelease-notes-2.2.rst839 * :github:`22489` - Request to enable CONFIG_NET_PKT_RXTIME_STATS for SOCK_RAW
Drelease-notes-3.3.rst1019 * Fixed AF_PACKET/SOCK_RAW/IPPROTO_RAW sockets on top of Ethernet L2.