/Zephyr-latest/tests/net/npf/src/ |
D | main.c | 55 struct net_pkt *pkt; in build_test_pkt() local 81 struct net_pkt *pkt; in build_test_ip_pkt() local 183 struct net_pkt *pkt; in test_npf_example_common() local 266 struct net_pkt *pkt = build_test_pkt(NET_ETH_PTYPE_IP, 100, NULL); in test_npf_eth_mac_address() local 315 struct net_pkt *pkt = build_test_pkt(NET_ETH_PTYPE_IP, 100, NULL); in test_npf_eth_mac_addr_mask() local
|
/Zephyr-latest/tests/net/ipv6_fragment/src/ |
D | main.c | 958 static void test_pkt_loopback(struct net_pkt *pkt) in test_pkt_loopback() 1007 static int verify_fragment(struct net_pkt *pkt) in verify_fragment() 1484 struct net_pkt *pkt, in udp_data_received() 1552 static int sender_iface(const struct device *dev, struct net_pkt *pkt) in sender_iface() 1693 struct net_pkt *pkt; in ZTEST() local 1727 struct net_pkt *pkt; in ZTEST() local 1762 struct net_pkt *pkt; in ZTEST() local 1805 struct net_pkt *pkt; in ZTEST() local 1848 struct net_pkt *pkt; in ZTEST() local 1891 struct net_pkt *pkt; in ZTEST() local [all …]
|
/Zephyr-latest/samples/net/wpan_serial/src/ |
D | main.c | 174 struct net_pkt *pkt; in send_data() local 239 static void process_data(struct net_pkt *pkt) in process_data() 283 static void process_config(struct net_pkt *pkt) in process_config() 311 struct net_pkt *pkt; in rx_thread() local 402 struct net_pkt *pkt; in tx_thread() local 521 int net_recv_data(struct net_if *iface, struct net_pkt *pkt) in net_recv_data() 530 enum net_verdict ieee802154_handle_ack(struct net_if *iface, struct net_pkt *pkt) in ieee802154_handle_ack()
|
/Zephyr-latest/subsys/net/ip/ |
D | ipv4_fragment.c | 144 struct net_pkt *pkt; in reassemble_packet() local 260 struct net_pkt *pkt = reass->pkt[i]; in fragments_are_ready() local 321 enum net_verdict net_ipv4_handle_fragment_hdr(struct net_pkt *pkt, struct net_ipv4_hdr *hdr) in net_ipv4_handle_fragment_hdr() 424 static int send_ipv4_fragment(struct net_pkt *pkt, uint16_t rand_id, uint16_t fit_len, in send_ipv4_fragment() 518 int net_ipv4_send_fragmented_pkt(struct net_if *iface, struct net_pkt *pkt, in net_ipv4_send_fragmented_pkt() 611 enum net_verdict net_ipv4_prepare_for_send_fragment(struct net_pkt *pkt) in net_ipv4_prepare_for_send_fragment()
|
D | packet_socket.h | 31 static inline enum net_verdict net_packet_socket_input(struct net_pkt *pkt, in net_packet_socket_input()
|
D | ipv6_fragment.c | 49 int net_ipv6_find_last_ext_hdr(struct net_pkt *pkt, uint16_t *next_hdr_off, in net_ipv6_find_last_ext_hdr() 239 struct net_pkt *pkt; in reassemble_packet() local 395 struct net_pkt *pkt = reass->pkt[i]; in fragments_are_ready() local 460 enum net_verdict net_ipv6_handle_fragment_hdr(struct net_pkt *pkt, in net_ipv6_handle_fragment_hdr() 589 static int send_ipv6_fragment(struct net_pkt *pkt, in send_ipv6_fragment() 688 int net_ipv6_send_fragmented_pkt(struct net_if *iface, struct net_pkt *pkt, in net_ipv6_send_fragmented_pkt()
|
D | packet_socket.c | 23 enum net_verdict net_packet_socket_input(struct net_pkt *pkt, uint8_t proto) in net_packet_socket_input()
|
D | tcp.c | 100 static int tcp_pkt_linearize(struct net_pkt *pkt, size_t pos, size_t len) in tcp_pkt_linearize() 150 static struct tcphdr *th_get(struct net_pkt *pkt) in th_get() 181 static int tcp_endpoint_set(union tcp_endpoint *ep, struct net_pkt *pkt, in tcp_endpoint_set() 324 static size_t tcp_data_len(struct net_pkt *pkt) in tcp_data_len() 334 static const char *tcp_th(struct net_pkt *pkt) in tcp_th() 364 #define is_6lo_technology(pkt) \ argument 369 static void tcp_send(struct net_pkt *pkt) in tcp_send() 745 struct net_pkt *pkt; in tcp_send_queue_flush() local 758 struct net_pkt *pkt; in tcp_conn_release() local 897 struct net_pkt *pkt; in tcp_send_process_no_lock() local [all …]
|
D | ipv4_acd.c | 77 struct net_pkt *pkt; in ipv4_acd_prepare_arp() local 98 struct net_pkt *pkt; in ipv4_acd_send_probe() local 114 struct net_pkt *pkt; in ipv4_acd_send_announcement() local 258 enum net_verdict net_ipv4_acd_input(struct net_if *iface, struct net_pkt *pkt) in net_ipv4_acd_input()
|
D | tp.c | 218 void tp_pkt_alloc(struct net_pkt *pkt, in tp_pkt_alloc() 233 struct net_pkt *tp_pkt_clone(struct net_pkt *pkt, const char *file, int line) in tp_pkt_clone() 248 void tp_pkt_unref(struct net_pkt *pkt, const char *file, int line) in tp_pkt_unref() 271 struct tp_pkt *pkt; in tp_pkt_stat() local 354 static void udp_finalize_pkt(struct net_pkt *pkt) in udp_finalize_pkt() 371 static int ip_header_add(struct net_pkt *pkt) in ip_header_add() 396 static void tp_pkt_send(struct net_pkt *pkt) in tp_pkt_send() 432 struct net_pkt *pkt = tp_output_pkt_alloc(af, iface, data_len, in _tp_output() local 601 bool tp_tap_input(struct net_pkt *pkt) in tp_tap_input()
|
/Zephyr-latest/subsys/net/l2/ppp/ |
D | ipv6cp.c | 22 struct net_pkt *pkt) in ipv6cp_handle() 30 static int ipv6cp_add_iid(struct ppp_context *ctx, struct net_pkt *pkt) in ipv6cp_add_iid() 51 static int ipv6cp_ack_iid(struct ppp_context *ctx, struct net_pkt *pkt, in ipv6cp_ack_iid() 92 struct net_pkt *pkt, in ipv6cp_interface_identifier_parse() 125 struct net_pkt *pkt, in ipv6cp_config_info_req() 157 struct net_pkt *pkt, in ipv6cp_config_info_ack()
|
/Zephyr-latest/include/zephyr/net/ |
D | udp.h | 83 static inline struct net_udp_hdr *net_udp_set_hdr(struct net_pkt *pkt, in net_udp_set_hdr()
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | pkt.c | 104 static void net_pkt_buffer_info(const struct shell *sh, struct net_pkt *pkt) in net_pkt_buffer_info() 129 struct net_pkt *pkt) in net_pkt_buffer_hexdump() 149 struct net_pkt *pkt; in cmd_net_pkt() local
|
/Zephyr-latest/subsys/net/l2/ethernet/gptp/ |
D | gptp_md.c | 15 static void gptp_md_sync_prepare(struct net_pkt *pkt, in gptp_md_sync_prepare() 31 static void gptp_md_follow_up_prepare(struct net_pkt *pkt, in gptp_md_follow_up_prepare() 243 struct net_pkt *pkt; in gptp_md_compute_pdelay_rate_ratio() local 311 struct net_pkt *pkt; in gptp_md_compute_prop_time() local 380 struct net_pkt *pkt; in gptp_md_pdelay_compute() local 591 struct net_pkt *pkt; in gptp_md_pdelay_req_state_machine() local 851 struct net_pkt *pkt; in gptp_md_sync_send_state_machine() local
|
/Zephyr-latest/tests/net/arp/src/ |
D | main.c | 86 static int tester_send(const struct device *dev, struct net_pkt *pkt) in tester_send() 175 struct net_pkt *pkt; in prepare_arp_reply() local 226 struct net_pkt *pkt; in prepare_arp_request() local 271 static void setup_eth_header(struct net_if *iface, struct net_pkt *pkt, in setup_eth_header() 330 struct net_pkt *pkt; in ZTEST() local
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_virtual.c | 47 struct uvb_packet *pkt; member 55 struct uvb_packet *const pkt, in vrt_request_reply() 93 struct uvb_packet *const pkt) in vrt_handle_setup() 160 struct uvb_packet *const pkt) in vrt_handle_out() 227 struct uvb_packet *const pkt) in vrt_handle_in() 278 struct uvb_packet *const pkt) in vrt_handle_request() 341 struct uvb_packet *const pkt) in vrt_submit_uvb_event() 361 struct uvb_packet *const pkt = (void *)data; in udc_vrt_uvb_cb() local
|
/Zephyr-latest/tests/net/ipv4_fragment/src/ |
D | main.c | 201 static void check_ipv4_fragment_header(struct net_pkt *pkt, const uint8_t *orig_hdr, uint16_t id, in check_ipv4_fragment_header() 240 static int sender_iface(const struct device *dev, struct net_pkt *pkt) in sender_iface() 357 static enum net_verdict udp_data_received(struct net_conn *conn, struct net_pkt *pkt, in udp_data_received() 434 static enum net_verdict tcp_data_received(struct net_conn *conn, struct net_pkt *pkt, in tcp_data_received() 600 struct net_pkt *pkt; in ZTEST() local 666 struct net_pkt *pkt; in ZTEST() local 737 struct net_pkt *pkt; in ZTEST() local 808 struct net_pkt *pkt; in ZTEST() local
|
/Zephyr-latest/drivers/crypto/ |
D | crypto_mtls_shim.c | 72 int mtls_ecb_encrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt) in mtls_ecb_encrypt() 97 int mtls_ecb_decrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt) in mtls_ecb_decrypt() 122 int mtls_cbc_encrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt, uint8_t *iv) in mtls_cbc_encrypt() 153 int mtls_cbc_decrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt, uint8_t *iv) in mtls_cbc_decrypt() 465 static int mtls_sha256_compute(struct hash_ctx *ctx, struct hash_pkt *pkt, in mtls_sha256_compute() 501 static int mtls_sha512_compute(struct hash_ctx *ctx, struct hash_pkt *pkt, in mtls_sha512_compute()
|
D | crypto_mcux_dcp.c | 81 static int crypto_dcp_aes_cbc_encrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt, uint8_t *iv) in crypto_dcp_aes_cbc_encrypt() 116 static int crypto_dcp_aes_cbc_decrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt, uint8_t *iv) in crypto_dcp_aes_cbc_decrypt() 147 static int crypto_dcp_aes_ecb_encrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt) in crypto_dcp_aes_ecb_encrypt() 167 static int crypto_dcp_aes_ecb_decrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt) in crypto_dcp_aes_ecb_decrypt() 246 static int crypto_dcp_sha256(struct hash_ctx *ctx, struct hash_pkt *pkt, bool finish) in crypto_dcp_sha256()
|
D | crypto_stm32.c | 167 struct cipher_pkt *pkt) in crypto_stm32_ecb_encrypt() 188 struct cipher_pkt *pkt) in crypto_stm32_ecb_decrypt() 209 struct cipher_pkt *pkt, uint8_t *iv) in crypto_stm32_cbc_encrypt() 236 struct cipher_pkt *pkt, uint8_t *iv) in crypto_stm32_cbc_decrypt() 261 struct cipher_pkt *pkt, uint8_t *iv) in crypto_stm32_ctr_encrypt() 284 struct cipher_pkt *pkt, uint8_t *iv) in crypto_stm32_ctr_decrypt()
|
/Zephyr-latest/subsys/net/l2/ieee802154/ |
D | ieee802154_security.c | 104 struct cipher_aead_pkt *apkt, struct cipher_pkt *pkt) in prepare_cipher_aead_pkt() 136 struct cipher_pkt pkt; in ieee802154_decrypt_auth() local 169 struct cipher_pkt pkt; in ieee802154_encrypt_auth() local
|
/Zephyr-latest/subsys/usb/device/class/netusb/ |
D | netusb.c | 27 static int netusb_send(const struct device *dev, struct net_pkt *pkt) in netusb_send() 53 void netusb_recv(struct net_pkt *pkt) in netusb_recv()
|
/Zephyr-latest/tests/net/ppp/driver/src/ |
D | main.c | 173 static enum net_verdict ppp_l2_recv(struct net_if *iface, struct net_pkt *pkt) in ppp_l2_recv() 268 static bool check_fcs(struct net_pkt *pkt, uint16_t *fcs) in check_fcs() 317 struct net_pkt *pkt; in ppp_verify_fcs() local 360 static bool calc_fcs(struct net_pkt *pkt, uint16_t *fcs) in calc_fcs() 388 struct net_pkt *pkt; in ppp_calc_fcs() local
|
/Zephyr-latest/tests/net/6lo/src/ |
D | main.c | 268 static int tester_send(const struct device *dev, struct net_pkt *pkt) in tester_send() 283 static bool compare_ipv6_hdr(struct net_pkt *pkt, struct net_6lo_data *data) in compare_ipv6_hdr() 306 static bool compare_udp_hdr(struct net_pkt *pkt, struct net_6lo_data *data) in compare_udp_hdr() 329 static bool compare_icmp_hdr(struct net_pkt *pkt, struct net_6lo_data *data) in compare_icmp_hdr() 352 static bool compare_data_small(struct net_pkt *pkt, const char *data) in compare_data_small() 374 static bool compare_data_large(struct net_pkt *pkt, const char *data) in compare_data_large() 396 static bool compare_pkt(struct net_pkt *pkt, struct net_6lo_data *data) in compare_pkt() 463 struct net_pkt *pkt; in create_pkt() local 1076 struct net_pkt *pkt; in test_6lo() local
|
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | arp.c | 49 struct net_pkt *pkt; in arp_entry_cleanup() local 258 struct net_pkt *pkt; in arp_prepare() local 347 struct net_pkt *net_arp_prepare(struct net_pkt *pkt, in net_arp_prepare() 491 struct net_pkt *pkt; in arp_gratuitous_send() local 628 struct net_pkt *pkt; in net_arp_update() local 717 struct net_pkt *pkt; in arp_prepare_reply() local 771 enum net_verdict net_arp_input(struct net_pkt *pkt, in net_arp_input()
|