/Zephyr-latest/subsys/net/ip/ |
D | 6lo.c | 365 static uint8_t *compress_sa(struct net_ipv6_hdr *ipv6, struct net_pkt *pkt, in compress_sa() 411 struct net_pkt *pkt, uint16_t *iphc, in compress_sa_ctx() 510 static uint8_t *compress_da(struct net_ipv6_hdr *ipv6, struct net_pkt *pkt, in compress_da() 557 struct net_pkt *pkt, uint16_t *iphc, in compress_da_ctx() 689 static struct net_6lo_context *get_src_addr_ctx(struct net_pkt *pkt, in get_src_addr_ctx() 704 static struct net_6lo_context *get_dst_addr_ctx(struct net_pkt *pkt, in get_dst_addr_ctx() 728 static inline int compress_IPHC_header(struct net_pkt *pkt) in compress_IPHC_header() 929 struct net_pkt *pkt) in uncompress_sa() 990 struct net_pkt *pkt) in uncompress_sa_ctx() 1135 struct net_pkt *pkt) in uncompress_da() [all …]
|
D | ipv6_mld.c | 45 struct net_pkt *pkt; member 50 static int mld_create(struct net_pkt *pkt, in mld_create() 77 static int mld_create_packet(struct net_pkt *pkt, uint16_t count) in mld_create_packet() 125 static int mld_send(struct net_pkt *pkt) in mld_send() 181 struct net_pkt *pkt; in net_ipv6_mld_send_single() local 289 struct net_pkt *pkt; in send_mld_report() local 400 struct net_pkt *pkt, in handle_mld_query()
|
D | icmpv4.c | 33 int net_icmpv4_create(struct net_pkt *pkt, uint8_t icmp_type, uint8_t icmp_code) in net_icmpv4_create() 51 int net_icmpv4_finalize(struct net_pkt *pkt, bool force_chksum) in net_icmpv4_finalize() 370 static int icmpv4_handle_header_options(struct net_pkt *pkt, in icmpv4_handle_header_options() 403 static int icmpv4_handle_header_options(struct net_pkt *pkt, in icmpv4_handle_header_options() 416 struct net_pkt *pkt, in icmpv4_handle_echo_request() 518 struct net_pkt *pkt; in net_icmpv4_send_error() local 606 enum net_verdict net_icmpv4_input(struct net_pkt *pkt, in net_icmpv4_input() 665 struct net_pkt *pkt, in icmpv4_handle_dst_unreach()
|
D | promiscuous.c | 51 struct net_pkt *pkt; in flush_queue() local 85 enum net_verdict net_promisc_mode_input(struct net_pkt *pkt) in net_promisc_mode_input()
|
D | net_tc.c | 44 static void submit_to_queue(struct k_fifo *queue, struct net_pkt *pkt) in submit_to_queue() 50 bool net_tc_submit_to_tx_queue(uint8_t tc, struct net_pkt *pkt) in net_tc_submit_to_tx_queue() 63 void net_tc_submit_to_rx_queue(uint8_t tc, struct net_pkt *pkt) in net_tc_submit_to_rx_queue() 249 struct net_pkt *pkt; in tc_rx_handler() local 269 struct net_pkt *pkt; in tc_tx_handler() local
|
D | ipv6.c | 59 int net_ipv6_create(struct net_pkt *pkt, in net_ipv6_create() 117 int net_ipv6_finalize(struct net_pkt *pkt, uint8_t next_header_proto) in net_ipv6_finalize() 158 static inline bool ipv6_drop_on_unknown_option(struct net_pkt *pkt, in ipv6_drop_on_unknown_option() 201 static inline int ipv6_handle_ext_hdr_options(struct net_pkt *pkt, in ipv6_handle_ext_hdr_options() 306 static void ipv6_no_route_info(struct net_pkt *pkt, in ipv6_no_route_info() 316 static enum net_verdict ipv6_route_packet(struct net_pkt *pkt, in ipv6_route_packet() 401 static inline enum net_verdict ipv6_route_packet(struct net_pkt *pkt, in ipv6_route_packet() 415 static enum net_verdict ipv6_forward_mcast_packet(struct net_pkt *pkt, in ipv6_forward_mcast_packet() 474 enum net_verdict net_ipv6_input(struct net_pkt *pkt, bool is_loopback) in net_ipv6_input()
|
D | canbus_socket.c | 21 enum net_verdict net_canbus_socket_input(struct net_pkt *pkt) in net_canbus_socket_input()
|
D | ipv6_nbr.c | 486 #define dbg_addr(action, pkt_str, src, dst, pkt) \ argument 496 #define dbg_addr_recv(pkt_str, src, dst, pkt) \ argument 499 #define dbg_addr_sent(pkt_str, src, dst, pkt) \ argument 502 #define dbg_addr_with_tgt(action, pkt_str, src, dst, target, pkt) \ argument 514 #define dbg_addr_recv_tgt(pkt_str, src, dst, tgt, pkt) \ argument 517 #define dbg_addr_sent_tgt(pkt_str, src, dst, tgt, pkt) \ argument 792 enum net_verdict net_ipv6_prepare_for_send(struct net_pkt *pkt) in net_ipv6_prepare_for_send() 1066 static inline bool set_llao(struct net_pkt *pkt, in set_llao() 1085 static bool read_llao(struct net_pkt *pkt, in read_llao() 1118 struct net_pkt *pkt; in net_ipv6_send_na() local [all …]
|
D | canbus_socket.h | 30 static inline enum net_verdict net_canbus_socket_input(struct net_pkt *pkt) in net_canbus_socket_input()
|
/Zephyr-latest/subsys/net/l2/ieee802154/ |
D | ieee802154_6lo.c | 25 enum net_verdict ieee802154_6lo_decode_pkt(struct net_if *iface, struct net_pkt *pkt) in ieee802154_6lo_decode_pkt() 38 int ieee802154_6lo_encode_pkt(struct net_if *iface, struct net_pkt *pkt, in ieee802154_6lo_encode_pkt()
|
D | ieee802154.c | 56 static inline void pkt_hexdump(const char *title, struct net_pkt *pkt, bool in) in pkt_hexdump() 73 struct net_pkt *pkt; in ieee802154_acknowledge() local 99 inline bool ieee802154_prepare_for_ack(struct net_if *iface, struct net_pkt *pkt, in ieee802154_prepare_for_ack() 123 enum net_verdict ieee802154_handle_ack(struct net_if *iface, struct net_pkt *pkt) in ieee802154_handle_ack() 177 int ieee802154_radio_send(struct net_if *iface, struct net_pkt *pkt, struct net_buf *frag) in ieee802154_radio_send() 359 static enum net_verdict ieee802154_recv(struct net_if *iface, struct net_pkt *pkt) in ieee802154_recv() 472 static int ieee802154_send(struct net_if *iface, struct net_pkt *pkt) in ieee802154_send()
|
/Zephyr-latest/subsys/net/l2/ppp/ |
D | lcp.c | 25 struct net_pkt *pkt) in lcp_handle_ext() 55 struct net_pkt *pkt) in lcp_handle() 71 static int lcp_auth_proto_parse(struct ppp_fsm *fsm, struct net_pkt *pkt, in lcp_auth_proto_parse() 112 struct net_pkt *pkt, in lcp_config_info_req() 217 static int lcp_add_mru(struct ppp_context *ctx, struct net_pkt *pkt) in lcp_add_mru() 223 static int lcp_ack_mru(struct ppp_context *ctx, struct net_pkt *pkt, in lcp_ack_mru() 246 static int lcp_nak_mru(struct ppp_context *ctx, struct net_pkt *pkt, in lcp_nak_mru() 282 static int lcp_config_info_nack(struct ppp_fsm *fsm, struct net_pkt *pkt, in lcp_config_info_nack()
|
D | ppp_l2.c | 42 struct net_pkt *pkt, size_t length) in ppp_update_rx_stats() 51 struct net_pkt *pkt, size_t length) in ppp_update_tx_stats() 72 struct net_pkt *pkt) in process_ppp_msg() 131 struct net_pkt *pkt) in ppp_recv() 166 static int ppp_send(struct net_if *iface, struct net_pkt *pkt) in ppp_send() 414 void ppp_queue_pkt(struct net_pkt *pkt) in ppp_queue_pkt() 425 struct net_pkt *pkt; in tx_handler() local
|
D | pap.c | 16 struct net_pkt *pkt) in pap_handle() 25 struct net_pkt *pkt; in pap_config_info_add() local 39 struct net_pkt *pkt, in pap_config_info_ack()
|
/Zephyr-latest/tests/subsys/modem/modem_ppp/src/ |
D | main.c | 82 static enum net_verdict test_net_l2_recv(struct net_if *iface, struct net_pkt *pkt) in test_net_l2_recv() 137 static int test_net_send(struct net_pkt *pkt) in test_net_send() 157 static size_t test_modem_ppp_fill_net_pkt(struct net_pkt *pkt, size_t size) in test_modem_ppp_fill_net_pkt() 303 struct net_pkt *pkt; in ZTEST() local 331 struct net_pkt *pkt; in ZTEST() local 358 struct net_pkt *pkt; in ZTEST() local 387 struct net_pkt *pkt; in ZTEST() local 414 struct net_pkt *pkt; in ZTEST() local 469 struct net_pkt *pkt; in ZTEST() local 500 struct net_pkt *pkt; in ZTEST() local
|
/Zephyr-latest/subsys/net/l2/ethernet/gptp/ |
D | gptp_messages.h | 26 #define GPTP_HDR(pkt) gptp_get_hdr(pkt) argument 27 #define GPTP_ANNOUNCE(pkt) ((struct gptp_announce *)gptp_data(pkt)) argument 28 #define GPTP_SIGNALING(pkt) ((struct gptp_signaling *)gptp_data(pkt)) argument 29 #define GPTP_SYNC(pkt) ((struct gptp_sync *)gptp_data(pkt)) argument 30 #define GPTP_FOLLOW_UP(pkt) ((struct gptp_follow_up *)gptp_data(pkt)) argument 31 #define GPTP_DELAY_REQ(pkt) \ argument 33 #define GPTP_PDELAY_REQ(pkt) \ argument 35 #define GPTP_PDELAY_RESP(pkt) \ argument 37 #define GPTP_PDELAY_RESP_FOLLOWUP(pkt) \ argument 45 #define GPTP_PACKET_LEN(pkt) net_pkt_get_len(pkt) argument [all …]
|
/Zephyr-latest/include/zephyr/crypto/ |
D | crypto.h | 253 struct cipher_pkt *pkt) in cipher_block_op() 274 struct cipher_pkt *pkt, uint8_t *iv) in cipher_cbc_op() 301 struct cipher_pkt *pkt, uint8_t *iv) in cipher_ctr_op() 323 struct cipher_aead_pkt *pkt, uint8_t *nonce) in cipher_ccm_op() 345 struct cipher_aead_pkt *pkt, uint8_t *nonce) in cipher_gcm_op() 466 static inline int hash_compute(struct hash_ctx *ctx, struct hash_pkt *pkt) in hash_compute() 485 static inline int hash_update(struct hash_ctx *ctx, struct hash_pkt *pkt) in hash_update()
|
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | ethernet.c | 82 #define print_ll_addrs(pkt, type, len, src, dst) \ argument 99 #define print_vlan_ll_addrs(pkt, type, tci, len, src, dst, tagstrip) \ argument 122 struct net_pkt *pkt) in ethernet_update_length() 176 enum net_verdict ethernet_check_ipv4_bcast_addr(struct net_pkt *pkt, in ethernet_check_ipv4_bcast_addr() 236 struct net_pkt *pkt) in ethernet_recv() 430 static inline bool ethernet_ipv4_dst_is_broadcast_or_mcast(struct net_pkt *pkt) in ethernet_ipv4_dst_is_broadcast_or_mcast() 441 static bool ethernet_fill_in_dst_on_ipv4_mcast(struct net_pkt *pkt, in ethernet_fill_in_dst_on_ipv4_mcast() 457 struct net_pkt *pkt) in ethernet_ll_prepare_on_ipv4() 501 static bool ethernet_fill_in_dst_on_ipv6_mcast(struct net_pkt *pkt, in ethernet_fill_in_dst_on_ipv6_mcast() 549 struct net_pkt *pkt, in ethernet_fill_header() [all …]
|
/Zephyr-latest/drivers/crypto/ |
D | crypto_si32.c | 323 static int crypto_si32_dma_setup_tx(struct cipher_pkt *pkt, unsigned int in_buf_offset) in crypto_si32_dma_setup_tx() 397 static int crypto_si32_dma_setup_rx(struct cipher_pkt *pkt, unsigned int in_buf_offset, in crypto_si32_dma_setup_rx() 488 static int crypto_si32_dma_setup_xor(struct cipher_pkt *pkt) in crypto_si32_dma_setup_xor() 563 static int crypto_si32_aes_ecb_op(struct cipher_ctx *ctx, struct cipher_pkt *pkt, in crypto_si32_aes_ecb_op() 697 static int crypto_si32_aes_cbc_op(struct cipher_ctx *ctx, struct cipher_pkt *pkt, in crypto_si32_aes_cbc_op() 873 static int crypto_si32_aes_ctr_op(struct cipher_ctx *ctx, struct cipher_pkt *pkt, uint8_t iv[12]) in crypto_si32_aes_ctr_op() 1005 static int crypto_si32_aes_ecb_encrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt) in crypto_si32_aes_ecb_encrypt() 1016 static int crypto_si32_aes_ecb_decrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt) in crypto_si32_aes_ecb_decrypt() 1027 static int crypto_si32_aes_cbc_encrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt, uint8_t *iv) in crypto_si32_aes_cbc_encrypt() 1038 static int crypto_si32_aes_cbc_decrypt(struct cipher_ctx *ctx, struct cipher_pkt *pkt, uint8_t *iv) in crypto_si32_aes_cbc_decrypt()
|
/Zephyr-latest/subsys/net/lib/dhcpv4/ |
D | dhcpv4.c | 82 static inline bool dhcpv4_add_cookie(struct net_pkt *pkt) in dhcpv4_add_cookie() 134 static bool dhcpv4_add_option_length_value(struct net_pkt *pkt, uint8_t option, in dhcpv4_add_option_length_value() 147 static bool dhcpv4_add_msg_type(struct net_pkt *pkt, uint8_t type) in dhcpv4_add_msg_type() 156 static bool dhcpv4_add_req_options(struct net_pkt *pkt) in dhcpv4_add_req_options() 171 static bool dhcpv4_add_server_id(struct net_pkt *pkt, in dhcpv4_add_server_id() 178 static bool dhcpv4_add_req_ipaddr(struct net_pkt *pkt, in dhcpv4_add_req_ipaddr() 186 static bool dhcpv4_add_hostname(struct net_pkt *pkt, in dhcpv4_add_hostname() 195 static bool dhcpv4_add_vendor_class_id(struct net_pkt *pkt, in dhcpv4_add_vendor_class_id() 204 static inline bool dhcpv4_add_end(struct net_pkt *pkt) in dhcpv4_add_end() 214 static inline bool dhcpv4_add_file(struct net_pkt *pkt) in dhcpv4_add_file() [all …]
|
/Zephyr-latest/subsys/net/l2/dummy/ |
D | dummy.c | 18 struct net_pkt *pkt) in dummy_recv() 33 static inline int dummy_send(struct net_if *iface, struct net_pkt *pkt) in dummy_send()
|
/Zephyr-latest/samples/net/promiscuous_mode/src/ |
D | main.c | 19 static void net_pkt_hexdump(struct net_pkt *pkt, const char *str) in net_pkt_hexdump() 43 static int get_ports(struct net_pkt *pkt, uint16_t *src, uint16_t *dst) in get_ports() 58 static void print_info(struct net_pkt *pkt) in print_info() 234 struct net_pkt *pkt; in main() local
|
/Zephyr-latest/tests/net/tx_timestamp/src/ |
D | main.c | 101 static int eth_tx(const struct device *dev, struct net_pkt *pkt) in eth_tx() 164 static void timestamp_callback(struct net_pkt *pkt) in timestamp_callback() 188 struct net_pkt *pkt; in test_timestamp_setup() local 207 static void timestamp_callback_2(struct net_pkt *pkt) in timestamp_callback_2() 234 struct net_pkt *pkt; in test_timestamp_setup_2nd_iface() local 255 struct net_pkt *pkt; in test_timestamp_setup_all() local 283 struct net_pkt *pkt; in test_timestamp_cleanup() local
|
/Zephyr-latest/tests/net/icmpv6/src/ |
D | main.c | 107 static int tester_send(const struct device *dev, struct net_pkt *pkt) in tester_send() 126 struct net_pkt *pkt, in handle_test_msg() 155 struct net_pkt *pkt; in create_pkt() local 182 struct net_pkt *pkt; in ZTEST() local
|
/Zephyr-latest/subsys/mgmt/osdp/src/ |
D | osdp_phy.c | 70 struct osdp_packet_header *pkt; in osdp_phy_packet_get_data_offset() local 86 struct osdp_packet_header *pkt; in osdp_phy_packet_get_smb() local 111 struct osdp_packet_header *pkt; in osdp_phy_packet_init() local 162 struct osdp_packet_header *pkt; in osdp_phy_packet_finalize() local 263 struct osdp_packet_header *pkt; in osdp_phy_check_packet() local 395 struct osdp_packet_header *pkt; in osdp_phy_decode_packet() local
|