/Zephyr-Core-2.7.6/include/net/ |
D | net_pkt.h | 277 static inline struct net_linkaddr *net_pkt_lladdr_if(struct net_pkt *pkt) in net_pkt_lladdr_if() 282 static inline struct net_context *net_pkt_context(struct net_pkt *pkt) in net_pkt_context() 287 static inline void net_pkt_set_context(struct net_pkt *pkt, in net_pkt_set_context() 293 static inline struct net_if *net_pkt_iface(struct net_pkt *pkt) in net_pkt_iface() 298 static inline void net_pkt_set_iface(struct net_pkt *pkt, struct net_if *iface) in net_pkt_set_iface() 312 static inline struct net_if *net_pkt_orig_iface(struct net_pkt *pkt) in net_pkt_orig_iface() 321 static inline void net_pkt_set_orig_iface(struct net_pkt *pkt, in net_pkt_set_orig_iface() 329 static inline uint8_t net_pkt_family(struct net_pkt *pkt) in net_pkt_family() 334 static inline void net_pkt_set_family(struct net_pkt *pkt, uint8_t family) in net_pkt_set_family() 339 static inline bool net_pkt_is_gptp(struct net_pkt *pkt) in net_pkt_is_gptp() [all …]
|
/Zephyr-Core-2.7.6/subsys/net/ip/ |
D | net_core.c | 60 static inline enum net_verdict process_data(struct net_pkt *pkt, in process_data() 138 static void processing_data(struct net_pkt *pkt, bool is_loopback) in processing_data() 198 static inline int check_ip_addr(struct net_pkt *pkt) in check_ip_addr() 293 #define check_ip_addr(pkt) 0 argument 297 int net_send_data(struct net_pkt *pkt) in net_send_data() 342 static void net_rx(struct net_if *iface, struct net_pkt *pkt) in net_rx() 367 void net_process_rx_packet(struct net_pkt *pkt) in net_process_rx_packet() 376 static void net_queue_rx(struct net_if *iface, struct net_pkt *pkt) in net_queue_rx() 399 int net_recv_data(struct net_if *iface, struct net_pkt *pkt) in net_recv_data()
|
D | net_private.h | 75 static inline enum net_verdict net_ipv4_input(struct net_pkt *pkt, in net_ipv4_input() 84 static inline enum net_verdict net_ipv6_input(struct net_pkt *pkt, in net_ipv6_input() 135 #define net_gptp_recv(iface, pkt) NET_DROP argument 181 static inline uint16_t net_calc_chksum_icmpv6(struct net_pkt *pkt) in net_calc_chksum_icmpv6() 186 static inline uint16_t net_calc_chksum_icmpv4(struct net_pkt *pkt) in net_calc_chksum_icmpv4() 191 static inline uint16_t net_calc_chksum_udp(struct net_pkt *pkt) in net_calc_chksum_udp() 198 static inline uint16_t net_calc_verify_chksum_udp(struct net_pkt *pkt) in net_calc_verify_chksum_udp() 203 static inline uint16_t net_calc_chksum_tcp(struct net_pkt *pkt) in net_calc_chksum_tcp() 228 static inline void net_pkt_hexdump(struct net_pkt *pkt, const char *str) in net_pkt_hexdump() 245 static inline void net_pkt_print_buffer_info(struct net_pkt *pkt, const char *str) in net_pkt_print_buffer_info()
|
D | udp_internal.h | 68 static inline int net_udp_finalize(struct net_pkt *pkt) in net_udp_finalize() 89 struct net_udp_hdr *net_udp_input(struct net_pkt *pkt, in net_udp_input()
|
D | 6lo.h | 37 static inline int net_6lo_compress(struct net_pkt *pkt, bool iphc) in net_6lo_compress() 60 static inline bool net_6lo_uncompress(struct net_pkt *pkt) in net_6lo_uncompress()
|
D | net_pkt.c | 139 struct net_pkt *pkt; member 329 void net_pkt_print_frags(struct net_pkt *pkt) in net_pkt_print_frags() 411 struct net_buf *net_pkt_get_frag_debug(struct net_pkt *pkt, in net_pkt_get_frag_debug() 501 void net_pkt_unref_debug(struct net_pkt *pkt, const char *caller, int line) 602 struct net_pkt *net_pkt_ref_debug(struct net_pkt *pkt, const char *caller, 687 struct net_buf *net_pkt_frag_del_debug(struct net_pkt *pkt, 723 void net_pkt_frag_add_debug(struct net_pkt *pkt, struct net_buf *frag, 745 void net_pkt_frag_insert_debug(struct net_pkt *pkt, struct net_buf *frag, 759 bool net_pkt_compact(struct net_pkt *pkt) 950 static size_t pkt_buffer_length(struct net_pkt *pkt, [all …]
|
D | ipv6.c | 51 int net_ipv6_create(struct net_pkt *pkt, in net_ipv6_create() 85 int net_ipv6_finalize(struct net_pkt *pkt, uint8_t next_header_proto) in net_ipv6_finalize() 126 static inline bool ipv6_drop_on_unknown_option(struct net_pkt *pkt, in ipv6_drop_on_unknown_option() 169 static inline int ipv6_handle_ext_hdr_options(struct net_pkt *pkt, in ipv6_handle_ext_hdr_options() 272 static void ipv6_no_route_info(struct net_pkt *pkt, in ipv6_no_route_info() 282 static enum net_verdict ipv6_route_packet(struct net_pkt *pkt, in ipv6_route_packet() 363 static inline enum net_verdict ipv6_route_packet(struct net_pkt *pkt, in ipv6_route_packet() 377 static enum net_verdict ipv6_forward_mcast_packet(struct net_pkt *pkt, in ipv6_forward_mcast_packet() 421 enum net_verdict net_ipv6_input(struct net_pkt *pkt, bool is_loopback) in net_ipv6_input()
|
D | udp.c | 20 int net_udp_create(struct net_pkt *pkt, uint16_t src_port, uint16_t dst_port) in net_udp_create() 38 int net_udp_finalize(struct net_pkt *pkt) in net_udp_finalize() 61 struct net_udp_hdr *net_udp_get_hdr(struct net_pkt *pkt, in net_udp_get_hdr() 92 struct net_udp_hdr *net_udp_set_hdr(struct net_pkt *pkt, in net_udp_set_hdr() 147 struct net_udp_hdr *net_udp_input(struct net_pkt *pkt, in net_udp_input()
|
D | ipv4.c | 31 int net_ipv4_create_full(struct net_pkt *pkt, in net_ipv4_create_full() 72 int net_ipv4_create(struct net_pkt *pkt, in net_ipv4_create() 80 int net_ipv4_finalize(struct net_pkt *pkt, uint8_t next_header_proto) in net_ipv4_finalize() 123 int net_ipv4_parse_hdr_options(struct net_pkt *pkt, in net_ipv4_parse_hdr_options() 213 enum net_verdict net_ipv4_input(struct net_pkt *pkt, bool is_loopback) in net_ipv4_input()
|
D | dhcpv4.c | 66 static inline bool dhcpv4_add_cookie(struct net_pkt *pkt) in dhcpv4_add_cookie() 77 static bool dhcpv4_add_option_length_value(struct net_pkt *pkt, uint8_t option, in dhcpv4_add_option_length_value() 90 static bool dhcpv4_add_msg_type(struct net_pkt *pkt, uint8_t type) in dhcpv4_add_msg_type() 99 static bool dhcpv4_add_req_options(struct net_pkt *pkt) in dhcpv4_add_req_options() 109 static bool dhcpv4_add_server_id(struct net_pkt *pkt, in dhcpv4_add_server_id() 116 static bool dhcpv4_add_req_ipaddr(struct net_pkt *pkt, in dhcpv4_add_req_ipaddr() 124 static bool dhcpv4_add_hostname(struct net_pkt *pkt, in dhcpv4_add_hostname() 133 static inline bool dhcpv4_add_end(struct net_pkt *pkt) in dhcpv4_add_end() 143 static inline bool dhcpv4_add_file(struct net_pkt *pkt) in dhcpv4_add_file() 153 static inline bool dhcpv4_add_sname(struct net_pkt *pkt) in dhcpv4_add_sname() [all …]
|
D | icmpv6.c | 71 int net_icmpv6_finalize(struct net_pkt *pkt) in net_icmpv6_finalize() 87 int net_icmpv6_create(struct net_pkt *pkt, uint8_t icmp_type, uint8_t icmp_code) in net_icmpv6_create() 106 enum net_verdict icmpv6_handle_echo_request(struct net_pkt *pkt, in icmpv6_handle_echo_request() 194 struct net_pkt *pkt; in net_icmpv6_send_error() local 345 struct net_pkt *pkt; in net_icmpv6_send_echo_request() local 398 enum net_verdict net_icmpv6_input(struct net_pkt *pkt, in net_icmpv6_input()
|
D | igmp.c | 42 static int igmp_v2_create(struct net_pkt *pkt, const struct in_addr *addr, in igmp_v2_create() 68 static int igmp_v2_create_packet(struct net_pkt *pkt, const struct in_addr *dst, in igmp_v2_create_packet() 98 static int igmp_send(struct net_pkt *pkt) in igmp_send() 121 struct net_pkt *pkt = NULL; in send_igmp_report() local 182 enum net_verdict net_ipv4_igmp_input(struct net_pkt *pkt, in net_ipv4_igmp_input() 233 struct net_pkt *pkt; in igmp_send_generic() local
|
D | ipv6_mld.c | 39 static int mld_create(struct net_pkt *pkt, in mld_create() 76 static int mld_create_packet(struct net_pkt *pkt, uint16_t count) in mld_create_packet() 124 static int mld_send(struct net_pkt *pkt) in mld_send() 148 struct net_pkt *pkt; in mld_send_generic() local 244 struct net_pkt *pkt; in send_mld_report() local 299 static enum net_verdict handle_mld_query(struct net_pkt *pkt, in handle_mld_query()
|
D | 6lo.c | 365 static uint8_t *compress_sa(struct net_ipv6_hdr *ipv6, struct net_pkt *pkt, in compress_sa() 410 struct net_pkt *pkt, uint16_t *iphc, in compress_sa_ctx() 508 static uint8_t *compress_da(struct net_ipv6_hdr *ipv6, struct net_pkt *pkt, in compress_da() 553 struct net_pkt *pkt, uint16_t *iphc, in compress_da_ctx() 684 static struct net_6lo_context *get_src_addr_ctx(struct net_pkt *pkt, in get_src_addr_ctx() 698 static struct net_6lo_context *get_dst_addr_ctx(struct net_pkt *pkt, in get_dst_addr_ctx() 721 static inline int compress_IPHC_header(struct net_pkt *pkt) in compress_IPHC_header() 920 struct net_pkt *pkt) in uncompress_sa() 976 struct net_pkt *pkt) in uncompress_sa_ctx() 1109 struct net_pkt *pkt) in uncompress_da() [all …]
|
/Zephyr-Core-2.7.6/subsys/net/l2/ethernet/gptp/ |
D | gptp_messages.c | 27 #define NET_GPTP_INFO(msg, pkt) \ argument 57 struct gptp_hdr *gptp_get_hdr(struct net_pkt *pkt) in gptp_get_hdr() 81 static void gptp_sync_timestamp_callback(struct net_pkt *pkt) in gptp_sync_timestamp_callback() 109 static void gptp_pdelay_response_timestamp_callback(struct net_pkt *pkt) in gptp_pdelay_response_timestamp_callback() 156 struct net_pkt *pkt; in setup_gptp_frame_debug() local 188 struct net_pkt *pkt; in gptp_prepare_sync() local 243 struct net_pkt *pkt; in gptp_prepare_follow_up() local 295 struct net_pkt *pkt; in gptp_prepare_pdelay_req() local 356 struct net_pkt *pkt; in gptp_prepare_pdelay_resp() local 417 struct net_pkt *pkt; in gptp_prepare_pdelay_follow_up() local [all …]
|
/Zephyr-Core-2.7.6/tests/net/icmpv4/src/ |
D | main.c | 117 static enum net_verdict handle_reply_msg(struct net_pkt *pkt, in handle_reply_msg() 173 static int verify_echo_reply(struct net_pkt *pkt) in verify_echo_reply() 224 static int verify_echo_reply_with_opts(struct net_pkt *pkt) in verify_echo_reply_with_opts() 289 static int tester_send(const struct device *dev, struct net_pkt *pkt) in tester_send() 316 struct net_pkt *pkt; in prepare_echo_request() local 341 struct net_pkt *pkt; in prepare_echo_reply() local 366 struct net_pkt *pkt; in prepare_echo_request_with_options() local 393 struct net_pkt *pkt; in prepare_echo_request_with_bad_options() local 434 struct net_pkt *pkt; in test_icmpv4_send_echo_req() local 451 struct net_pkt *pkt; in test_icmpv4_send_echo_rep() local [all …]
|
/Zephyr-Core-2.7.6/subsys/net/l2/canbus/ |
D | 6locan.c | 78 static void canbus_tx_finish(struct net_pkt *pkt) in canbus_tx_finish() 91 static void canbus_rx_finish(struct net_pkt *pkt) in canbus_rx_finish() 98 static void canbus_tx_report_err(struct net_pkt *pkt) in canbus_tx_report_err() 103 static void canbus_rx_report_err(struct net_pkt *pkt) in canbus_rx_report_err() 109 static void rx_err_work_handler(struct net_pkt *pkt) in rx_err_work_handler() 114 static void submit_to_queue(struct k_fifo *queue, struct net_pkt *pkt) in submit_to_queue() 120 struct net_pkt *pkt) in canbus_rx_report_err_from_isr() 180 static uint16_t canbus_get_src_lladdr(struct net_pkt *pkt) in canbus_get_src_lladdr() 187 static uint16_t canbus_get_dest_lladdr(struct net_pkt *pkt) in canbus_get_dest_lladdr() 195 static inline bool canbus_dest_is_mcast(struct net_pkt *pkt) in canbus_dest_is_mcast() [all …]
|
D | canbus_raw.c | 17 struct net_pkt *pkt) in canbus_recv() 31 static inline int canbus_send(struct net_if *iface, struct net_pkt *pkt) in canbus_send()
|
/Zephyr-Core-2.7.6/subsys/net/l2/ppp/ |
D | ipcp.c | 23 struct net_pkt *pkt) in ipcp_handle() 33 static int ipcp_add_address(struct ppp_context *ctx, struct net_pkt *pkt, in ipcp_add_address() 40 static int ipcp_add_ip_address(struct ppp_context *ctx, struct net_pkt *pkt) in ipcp_add_ip_address() 45 static int ipcp_add_dns1(struct ppp_context *ctx, struct net_pkt *pkt) in ipcp_add_dns1() 50 static int ipcp_add_dns2(struct ppp_context *ctx, struct net_pkt *pkt) in ipcp_add_dns2() 55 static int ipcp_ack_check_address(struct net_pkt *pkt, size_t oplen, in ipcp_ack_check_address() 77 static int ipcp_ack_ip_address(struct ppp_context *ctx, struct net_pkt *pkt, in ipcp_ack_ip_address() 84 static int ipcp_ack_dns1(struct ppp_context *ctx, struct net_pkt *pkt, in ipcp_ack_dns1() 91 static int ipcp_ack_dns2(struct ppp_context *ctx, struct net_pkt *pkt, in ipcp_ack_dns2() 98 static int ipcp_nak_override_address(struct net_pkt *pkt, size_t oplen, in ipcp_nak_override_address() [all …]
|
D | fsm.c | 57 struct net_pkt *pkt = NULL; in fsm_send_configure_req() local 382 struct net_pkt *pkt = NULL; in ppp_send_pkt() local 553 struct net_pkt *pkt, in fsm_recv_configure_req() 673 struct net_pkt *pkt, in fsm_recv_configure_ack() 742 struct net_pkt *pkt, in fsm_recv_configure_nack_rej() 841 struct net_pkt *pkt, in fsm_recv_terminate_req() 888 struct net_pkt *pkt, in fsm_recv_terminate_ack() 936 struct net_pkt *pkt) in fsm_recv_code_rej() 1019 struct net_pkt *pkt) in ppp_fsm_input() 1106 struct net_pkt *pkt) in ppp_fsm_recv_protocol_rej() [all …]
|
D | options.c | 21 int ppp_parse_options(struct ppp_fsm *fsm, struct net_pkt *pkt, in ppp_parse_options() 23 int (*parse)(struct net_pkt *pkt, uint8_t code, in ppp_parse_options() 108 static int ppp_parse_option_conf_req_unsupported(struct net_pkt *pkt, in ppp_parse_option_conf_req_unsupported() 141 static int ppp_parse_option_conf_req_supported(struct net_pkt *pkt, in ppp_parse_option_conf_req_supported() 164 struct net_pkt *pkt, in ppp_config_info_req() 220 struct net_pkt *pkt; in ppp_my_options_add() local 284 static int ppp_my_option_parse(struct net_pkt *pkt, uint8_t code, in ppp_my_option_parse() 302 struct net_pkt *pkt, in ppp_my_options_parse() 316 struct net_pkt *pkt, uint8_t len, in ppp_my_option_parse_conf_ack() 330 struct net_pkt *pkt, in ppp_my_options_parse_conf_ack() [all …]
|
/Zephyr-Core-2.7.6/tests/net/net_pkt/src/ |
D | main.c | 44 static int fake_dev_send(const struct device *dev, struct net_pkt *pkt) in fake_dev_send() 86 static bool pkt_is_of_size(struct net_pkt *pkt, size_t size) in pkt_is_of_size() 91 static void pkt_print_cursor(struct net_pkt *pkt) in pkt_print_cursor() 110 struct net_pkt *pkt; in test_net_pkt_allocate_wo_buffer() local 134 struct net_pkt *pkt; in test_net_pkt_allocate_with_buffer() local 212 struct net_pkt *pkt; in test_net_pkt_basics_of_rw() local 395 struct net_pkt *pkt; in test_net_pkt_advanced_basics() local 487 struct net_pkt *pkt; in test_net_pkt_easier_rw_usage() local 758 struct net_pkt *pkt; in test_net_pkt_clone() local 797 struct net_pkt *pkt; in test_net_pkt_headroom() local [all …]
|
/Zephyr-Core-2.7.6/scripts/coredump/gdbstubs/ |
D | gdbstub.py | 110 def handle_register_single_read_packet(self, pkt): argument 114 def handle_register_single_write_packet(self, pkt): argument 120 def handle_memory_read_packet(self, pkt): argument 162 def handle_memory_write_packet(self, pkt): argument 168 def handle_general_query_packet(self, pkt): argument
|
/Zephyr-Core-2.7.6/subsys/net/l2/dummy/ |
D | dummy.c | 18 struct net_pkt *pkt) in dummy_recv() 30 static inline int dummy_send(struct net_if *iface, struct net_pkt *pkt) in dummy_send()
|
/Zephyr-Core-2.7.6/subsys/net/l2/ieee802154/ |
D | ieee802154_fragment.c | 46 struct net_pkt *pkt; /* Reassemble packet */ member 233 static void update_protocol_header_lengths(struct net_pkt *pkt, uint16_t size) in update_protocol_header_lengths() 308 static inline struct frag_cache *set_reass_cache(struct net_pkt *pkt, in set_reass_cache() 351 static inline void fragment_append(struct net_pkt *pkt, struct net_buf *frag) in fragment_append() 364 static inline size_t fragment_cached_pkt_len(struct net_pkt *pkt) in fragment_cached_pkt_len() 410 static void fragment_move_back(struct net_pkt *pkt, in fragment_move_back() 433 static inline void fragment_remove_headers(struct net_pkt *pkt) in fragment_remove_headers() 452 static inline void fragment_reconstruct_packet(struct net_pkt *pkt) in fragment_reconstruct_packet() 476 static inline bool fragment_packet_valid(struct net_pkt *pkt) in fragment_packet_valid() 489 static inline enum net_verdict fragment_add_to_cache(struct net_pkt *pkt) in fragment_add_to_cache() [all …]
|