Lines Matching refs:offloaded

274 static void test_fragment(struct net_pkt *pkt, bool offloaded)  in test_fragment()  argument
321 if (offloaded) { in test_fragment()
635 bool offloaded, in test_udp_context_prepare() argument
656 if (offloaded) { in test_udp_context_prepare()
680 if (offloaded) { in test_udp_context_prepare()
703 if (offloaded) { in test_udp_context_prepare()
718 static void test_tx_chksum(sa_family_t family, bool offloaded) in test_tx_chksum() argument
720 struct k_sem *wait_data = offloaded ? &wait_data_off : &wait_data_nonoff; in test_tx_chksum()
727 net_ctx = test_udp_context_prepare(family, offloaded, &dst_addr); in test_tx_chksum()
766 static void test_tx_chksum_udp_frag(sa_family_t family, bool offloaded) in test_tx_chksum_udp_frag() argument
768 struct k_sem *wait_data = offloaded ? &wait_data_off : &wait_data_nonoff; in test_tx_chksum_udp_frag()
775 net_ctx = test_udp_context_prepare(family, offloaded, &dst_addr); in test_tx_chksum_udp_frag()
830 static void test_icmp_init(sa_family_t family, bool offloaded, in test_icmp_init() argument
839 if (offloaded) { in test_icmp_init()
852 if (offloaded) { in test_icmp_init()
861 if (offloaded) { in test_icmp_init()
868 static void test_tx_chksum_icmp_frag(sa_family_t family, bool offloaded) in test_tx_chksum_icmp_frag() argument
870 struct k_sem *wait_data = offloaded ? &wait_data_off : &wait_data_nonoff; in test_tx_chksum_icmp_frag()
877 test_icmp_init(family, offloaded, &dst_addr, &iface); in test_tx_chksum_icmp_frag()
993 static void test_rx_chksum(sa_family_t family, bool offloaded) in test_rx_chksum() argument
995 struct k_sem *wait_data = offloaded ? &wait_data_off : &wait_data_nonoff; in test_rx_chksum()
996 net_context_recv_cb_t cb = offloaded ? recv_cb_offload_enabled : in test_rx_chksum()
1004 net_ctx = test_udp_context_prepare(family, offloaded, &dst_addr); in test_rx_chksum()
1050 static void test_rx_chksum_udp_frag(sa_family_t family, bool offloaded) in test_rx_chksum_udp_frag() argument
1052 struct k_sem *wait_data = offloaded ? &wait_data_off : &wait_data_nonoff; in test_rx_chksum_udp_frag()
1053 net_context_recv_cb_t cb = offloaded ? recv_cb_offload_enabled : in test_rx_chksum_udp_frag()
1061 net_ctx = test_udp_context_prepare(family, offloaded, &dst_addr); in test_rx_chksum_udp_frag()
1108 static void test_rx_chksum_udp_frag_bad(sa_family_t family, bool offloaded) in test_rx_chksum_udp_frag_bad() argument
1110 struct k_sem *wait_data = offloaded ? &wait_data_off : &wait_data_nonoff; in test_rx_chksum_udp_frag_bad()
1111 net_context_recv_cb_t cb = offloaded ? recv_cb_offload_enabled : in test_rx_chksum_udp_frag_bad()
1119 net_ctx = test_udp_context_prepare(family, offloaded, &dst_addr); in test_rx_chksum_udp_frag_bad()
1204 static void test_rx_chksum_icmp_frag(sa_family_t family, bool offloaded) in test_rx_chksum_icmp_frag() argument
1206 struct k_sem *wait_data = offloaded ? &wait_data_off : &wait_data_nonoff; in test_rx_chksum_icmp_frag()
1213 test_icmp_init(family, offloaded, &dst_addr, &iface); in test_rx_chksum_icmp_frag()
1261 static void test_rx_chksum_icmp_frag_bad(sa_family_t family, bool offloaded) in test_rx_chksum_icmp_frag_bad() argument
1263 struct k_sem *wait_data = offloaded ? &wait_data_off : &wait_data_nonoff; in test_rx_chksum_icmp_frag_bad()
1270 test_icmp_init(family, offloaded, &dst_addr, &iface); in test_rx_chksum_icmp_frag_bad()