Home
last modified time | relevance | path

Searched full:txtime (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/samples/net/sockets/txtime/
Dsample.yaml4 # We can only run this in platforms that support PTP clock and TXTIME
12 name: txtime-socket
14 sample.net.sockets.txtime:
DKconfig1 # Private config options for txtime sample app
6 mainmenu "Networking TXTIME sample application"
53 int "What is the TXTIME (in microseconds)"
62 the actual TXTIME given to Ethernet driver, is set in nanoseconds,
DREADME.rst19 Also the TXTIME value can be specified in the config file by setting the
/Zephyr-latest/samples/net/sockets/txtime/src/
Dmain.c164 net_time_t txtime, delay, interval; in tx() local
185 cmsg->cmsg_len = CMSG_LEN(sizeof(txtime)); in tx()
192 txtime = net_ptp_time_to_ns(&time); in tx()
195 sizeof(txtime_str) - print_offset, "%"PRIx64, (uint64_t)txtime); in tx()
199 *(net_time_t *)CMSG_DATA(cmsg) = txtime + delay; in tx()
210 txtime += interval; in tx()
212 sizeof(txtime_str) - print_offset, "%"PRIx64, (uint64_t)txtime); in tx()
588 LOG_ERR("Interface %p does not support %s", iface, "TXTIME"); in main()
/Zephyr-latest/tests/net/ethernet_mgmt/src/
Dmain.c73 /* TXTIME parameters */
1350 /* Make sure we cannot enable txtime if the interface is up */ in ZTEST()
1357 zassert_equal(ret, -EACCES, "could disable TXTIME for queue 0 (%d)", in ZTEST()
1366 /* Disable TXTIME for queue */ in ZTEST()
1373 zassert_equal(ret, 0, "could not disable TXTIME for queue %d (%d)", in ZTEST()
1382 zassert_equal(ret, 0, "could not read txtime status (%d)", ret); in ZTEST()
1385 "txtime should be disabled"); in ZTEST()
1387 /* Re-enable TXTIME for queue */ in ZTEST()
1392 zassert_equal(ret, 0, "could not enable txtime (%d)", ret); in ZTEST()
1400 zassert_equal(ret, 0, "could not read txtime status (%d)", ret); in ZTEST()
[all …]
/Zephyr-latest/doc/connectivity/networking/
Deth_bridge_native_sim_setup.rst109 TXTIME
139 TXTIME
/Zephyr-latest/drivers/ethernet/
Deth_e1000.c87 /* The driver does not really support TXTIME atm but mark in e1000_caps()
88 * it to support it so that we can test the txtime sample. in e1000_caps()
/Zephyr-latest/include/zephyr/net/
Dieee802154_radio_openthread.h59 * The earliest transmission time is specified as in the other TXTIME modes:
Dethernet.h202 /** TXTIME supported */
471 /** Ethernet TXTIME specific parameters */
473 /** Type of TXTIME parameter */
475 /** Queue number for configuring TXTIME */
477 /** Enable or disable TXTIME per queue */
Dnet_context.h310 bool txtime; member
/Zephyr-latest/tests/net/socket/udp/src/
Dmain.c764 zassert_equal(optval, true, "getsockopt txtime"); in ZTEST()
771 zassert_equal(optval, false, "getsockopt txtime"); in ZTEST()
927 * the TXTIME option, create a separate network device and catch the packets
981 net_time_t txtime; in eth_fake_send() local
990 txtime = net_pkt_timestamp_ns(pkt); in eth_fake_send()
991 if (txtime != TEST_TXTIME) { in eth_fake_send()
1060 net_time_t txtime; in ZTEST_USER() local
1088 txtime = TEST_TXTIME; in ZTEST_USER()
1091 cmsg->cmsg_len = CMSG_LEN(sizeof(txtime)); in ZTEST_USER()
1094 *(net_time_t *)CMSG_DATA(cmsg) = txtime; in ZTEST_USER()
[all …]
/Zephyr-latest/subsys/net/lib/shell/
Diface.c53 EC(ETHERNET_TXTIME, "TXTIME"),
59 EC(ETHERNET_TXTIME, "TXTIME supported"),
/Zephyr-latest/subsys/net/ip/
DKconfig685 bool "Add TXTIME support to net_context"
Dnet_context.c1645 return get_bool_option(context->options.txtime, in get_context_txtime()
3096 return set_bool_option(&context->options.txtime, value, len); in set_context_txtime()
/Zephyr-latest/doc/releases/
Drelease-notes-2.6.rst1204 …59` - [Coverity CID: 232698] Uninitialized scalar variable in samples/net/sockets/txtime/src/main.c