/Zephyr-latest/tests/net/net_pkt/src/ |
D | main.c | 141 pkt = net_pkt_alloc_with_buffer(eth_if, 512, in ZTEST() 157 pkt = net_pkt_alloc_with_buffer(eth_if, 1800, in ZTEST() 173 pkt = net_pkt_alloc_with_buffer(eth_if, 512, AF_INET, in ZTEST() 189 pkt = net_pkt_alloc_with_buffer(eth_if, 1800, AF_INET, in ZTEST() 207 pkt = net_pkt_alloc_with_buffer(eth_if, 0, in ZTEST() 222 pkt = net_pkt_alloc_with_buffer(eth_if, 0, in ZTEST() 246 pkt = net_pkt_alloc_with_buffer(eth_if, 512, in ZTEST() 428 pkt = net_pkt_alloc_with_buffer(eth_if, 512, in ZTEST() 520 pkt = net_pkt_alloc_with_buffer(eth_if, 512, in ZTEST() 685 dummy_pkt = net_pkt_alloc_with_buffer(eth_if, in ZTEST() [all …]
|
/Zephyr-latest/tests/net/icmpv4/src/ |
D | main.c | 320 pkt = net_pkt_alloc_with_buffer(iface, sizeof(icmpv4_echo_req), in prepare_echo_request() 345 pkt = net_pkt_alloc_with_buffer(iface, sizeof(icmpv4_echo_rep), in prepare_echo_reply() 370 pkt = net_pkt_alloc_with_buffer(iface, sizeof(icmpv4_echo_req_opt), in prepare_echo_request_with_options() 397 pkt = net_pkt_alloc_with_buffer(iface, sizeof(icmpv4_echo_req_opt_bad), in prepare_echo_request_with_bad_options()
|
/Zephyr-latest/tests/net/ipv6_fragment/src/ |
D | main.c | 1696 pkt = net_pkt_alloc_with_buffer(iface1, sizeof(ipv6_udp), AF_INET6, in ZTEST() 1730 pkt = net_pkt_alloc_with_buffer(iface1, sizeof(ipv6_hbho) + in ZTEST() 1767 pkt = net_pkt_alloc_with_buffer(iface1, sizeof(ipv6_hbho_1), in ZTEST() 1810 pkt = net_pkt_alloc_with_buffer(iface1, sizeof(ipv6_hbho_2), in ZTEST() 1853 pkt = net_pkt_alloc_with_buffer(iface1, sizeof(ipv6_hbho_3), in ZTEST() 1894 pkt = net_pkt_alloc_with_buffer(iface1, sizeof(ipv6_hbho_frag), in ZTEST() 1931 pkt = net_pkt_alloc_with_buffer(iface1, sizeof(ipv6_hbho_frag_1), in ZTEST() 1979 pkt = net_pkt_alloc_with_buffer(iface1, in ZTEST() 2045 pkt = net_pkt_alloc_with_buffer(iface1, sizeof(ipv6_large_hbho), in ZTEST() 2090 pkt = net_pkt_alloc_with_buffer(iface1, sizeof(ipv6_frag_wo_hbho), in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/modem/modem_ppp/src/ |
D | main.c | 362 pkt = net_pkt_alloc_with_buffer(&test_iface, 256, AF_UNSPEC, 0, K_NO_WAIT); in ZTEST() 418 pkt = net_pkt_alloc_with_buffer(&test_iface, 256, AF_UNSPEC, 0, K_NO_WAIT); in ZTEST() 447 pkts[i] = net_pkt_alloc_with_buffer(&test_iface, 256, AF_UNSPEC, 0, K_NO_WAIT); in ZTEST() 473 pkt = net_pkt_alloc_with_buffer(&test_iface, TEST_MODEM_PPP_IP_FRAME_SEND_LARGE_N, in ZTEST()
|
/Zephyr-latest/tests/net/arp/src/ |
D | main.c | 179 pkt = net_pkt_alloc_with_buffer(iface, sizeof(struct net_eth_hdr) + in prepare_arp_reply() 230 pkt = net_pkt_alloc_with_buffer(iface, sizeof(struct net_eth_hdr) + in prepare_arp_request() 364 pkt = net_pkt_alloc_with_buffer(iface, sizeof(struct net_ipv4_hdr) + in ZTEST() 522 pkt = net_pkt_alloc_with_buffer(iface, sizeof(struct net_eth_hdr) + in ZTEST() 558 pkt = net_pkt_alloc_with_buffer(iface, sizeof(struct net_eth_hdr) + in ZTEST() 610 pkt = net_pkt_alloc_with_buffer(iface, in ZTEST()
|
/Zephyr-latest/subsys/net/ip/ |
D | igmp.c | 308 pkt = net_pkt_alloc_with_buffer(iface, in send_igmp_report() 377 pkt = net_pkt_alloc_with_buffer( in send_igmp_v3_report() 514 pkt = net_pkt_alloc_with_buffer(iface, 554 pkt = net_pkt_alloc_with_buffer(iface,
|
D | icmpv6.c | 124 reply = net_pkt_alloc_with_buffer(net_pkt_iface(pkt), payload_len, in icmpv6_handle_echo_request() 236 pkt = net_pkt_alloc_with_buffer(net_pkt_iface(orig), in net_icmpv6_send_error()
|
D | ipv6_mld.c | 184 pkt = net_pkt_alloc_with_buffer(iface, IPV6_OPT_HDR_ROUTER_ALERT_LEN + in net_ipv6_mld_send_single() 311 pkt = net_pkt_alloc_with_buffer(iface, IPV6_OPT_HDR_ROUTER_ALERT_LEN + in send_mld_report()
|
D | tcp_private.h | 66 _pkt = net_pkt_alloc_with_buffer( \ 106 _pkt = net_pkt_alloc_with_buffer( \
|
D | icmp.c | 140 pkt = net_pkt_alloc_with_buffer(iface, in send_icmpv4_echo_request() 264 pkt = net_pkt_alloc_with_buffer(iface, in send_icmpv6_echo_request()
|
D | icmpv4.c | 446 reply = net_pkt_alloc_with_buffer(net_pkt_iface(pkt), in icmpv4_handle_echo_request() 563 pkt = net_pkt_alloc_with_buffer(net_pkt_iface(orig), in net_icmpv4_send_error()
|
D | ipv4_acd.c | 82 pkt = net_pkt_alloc_with_buffer(iface, sizeof(struct net_arp_hdr), in ipv4_acd_prepare_arp()
|
/Zephyr-latest/subsys/net/l2/ppp/ |
D | pap.c | 27 pkt = net_pkt_alloc_with_buffer(ppp_fsm_iface(fsm), sizeof(payload), in pap_config_info_add()
|
D | options.c | 224 pkt = net_pkt_alloc_with_buffer(ppp_fsm_iface(fsm), packet_len, in ppp_my_options_add()
|
/Zephyr-latest/tests/net/ppp/driver/src/ |
D | main.c | 323 pkt = net_pkt_alloc_with_buffer(net_iface, len, AF_UNSPEC, 0, K_NO_WAIT); in ppp_verify_fcs() 394 pkt = net_pkt_alloc_with_buffer(net_iface, len, AF_UNSPEC, 0, K_NO_WAIT); in ppp_calc_fcs()
|
/Zephyr-latest/tests/net/ieee802154/custom_l2/src/ |
D | main.c | 81 tx_pkt = net_pkt_alloc_with_buffer(iface, sizeof(TEST_PAYLOAD), in ZTEST()
|
/Zephyr-latest/tests/net/dhcpv4/client/src/ |
D | main.c | 279 pkt = net_pkt_alloc_with_buffer(iface, sizeof(offer), AF_INET, in prepare_dhcp_offer() 320 pkt = net_pkt_alloc_with_buffer(iface, sizeof(offer), AF_INET, in prepare_dhcp_ack()
|
/Zephyr-latest/tests/net/ipv4_fragment/src/ |
D | main.c | 610 pkt = net_pkt_alloc_with_buffer(iface1, sizeof(ipv4_udp) + IPV4_TEST_PACKET_SIZE, AF_INET, in ZTEST() 678 pkt = net_pkt_alloc_with_buffer(iface1, (sizeof(ipv4_tcp) + IPV4_TEST_PACKET_SIZE), in ZTEST() 747 pkt = net_pkt_alloc_with_buffer(iface1, sizeof(ipv4_udp_frag), AF_INET, in ZTEST() 822 pkt = net_pkt_alloc_with_buffer(iface1, in ZTEST()
|
/Zephyr-latest/tests/net/udp/src/ |
D | main.c | 242 pkt = net_pkt_alloc_with_buffer(iface, 0, AF_INET6, in send_ipv6_udp_msg() 291 pkt = net_pkt_alloc_with_buffer(iface, in send_ipv6_udp_long_msg() 359 pkt = net_pkt_alloc_with_buffer(iface, 0, AF_INET, in send_ipv4_udp_msg()
|
/Zephyr-latest/tests/net/ipv6/src/ |
D | main.c | 259 pkt = net_pkt_alloc_with_buffer(iface, TEST_MSG_SIZE, AF_INET6, in inject_na_message() 711 pkt = net_pkt_alloc_with_buffer(iface, sizeof(icmpv6_ns_invalid), in ZTEST() 734 pkt = net_pkt_alloc_with_buffer(iface, sizeof(icmpv6_ns_no_sllao), in ZTEST() 1038 pkt = net_pkt_alloc_with_buffer(iface, sizeof(ipv6_hbho), in ZTEST() 1089 pkt = net_pkt_alloc_with_buffer(iface, sizeof(ipv6_hbho_1), in ZTEST() 1149 pkt = net_pkt_alloc_with_buffer(iface, sizeof(ipv6_hbho_2), in ZTEST() 1312 pkt = net_pkt_alloc_with_buffer(iface, sizeof(ipv6_hbho_3), in ZTEST() 1612 pkt = net_pkt_alloc_with_buffer(iface, strlen(payload), in setup_ipv6_udp()
|
/Zephyr-latest/tests/net/icmpv6/src/ |
D | main.c | 157 pkt = net_pkt_alloc_with_buffer(NULL, ICMPV6_MSG_SIZE, in create_pkt()
|
/Zephyr-latest/subsys/net/l2/virtual/ipip/ |
D | ipip.c | 157 tmp = net_pkt_alloc_with_buffer(iface, in interface_send() 197 tmp = net_pkt_alloc_with_buffer(iface, in interface_send()
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | net_pkt.rst | 68 pkt = net_pkt_alloc_with_buffer(iface, size, family, proto, timeout); 94 once via :c:func:`net_pkt_alloc_with_buffer`. It is actually the most 112 pkt = net_pkt_alloc_with_buffer(iface, 800, AF_INET4, IPPROTO_UDP, K_FOREVER); 119 pkt = net_pkt_alloc_with_buffer(iface, 1600, AF_INET4, IPPROTO_UDP, K_FOREVER);
|
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | arp.c | 266 pkt = net_pkt_alloc_with_buffer(iface, in arp_prepare() 493 pkt = net_pkt_alloc_with_buffer(iface, sizeof(struct net_arp_hdr), in arp_gratuitous_send() 719 pkt = net_pkt_alloc_with_buffer(iface, sizeof(struct net_arp_hdr), in arp_prepare_reply()
|
/Zephyr-latest/tests/net/icmp/src/ |
D | main.c | 194 reply = net_pkt_alloc_with_buffer(iface, sizeof(struct net_ipv4_hdr) + in get_ipv4_reply() 268 reply = net_pkt_alloc_with_buffer(iface, sizeof(struct net_ipv6_hdr) + in get_ipv6_reply()
|