/Zephyr-Core-3.7.0/subsys/net/l2/canbus/ |
D | canbus_raw.c | 22 net_pkt_lladdr_dst(pkt)->addr = NULL; in canbus_recv() 23 net_pkt_lladdr_dst(pkt)->len = 0U; in canbus_recv() 24 net_pkt_lladdr_dst(pkt)->type = NET_LINK_CANBUS_RAW; in canbus_recv()
|
/Zephyr-Core-3.7.0/subsys/net/ip/ |
D | icmpv6.c | 148 net_pkt_lladdr_dst(reply)->addr = NULL; in icmpv6_handle_echo_request() 267 net_pkt_lladdr_dst(pkt)->addr = pkt->buffer->data; in net_icmpv6_send_error() 269 ret = net_pkt_write(pkt, net_pkt_lladdr_dst(orig)->addr, in net_icmpv6_send_error() 270 net_pkt_lladdr_dst(orig)->len); in net_icmpv6_send_error() 276 net_buf_pull_mem(pkt->buffer, net_pkt_lladdr_dst(orig)->len); in net_icmpv6_send_error() 282 net_pkt_lladdr_src(pkt)->len = net_pkt_lladdr_dst(orig)->len; in net_icmpv6_send_error() 283 net_pkt_lladdr_dst(pkt)->len = net_pkt_lladdr_src(orig)->len; in net_icmpv6_send_error()
|
D | 6lo.c | 513 NET_ASSERT(net_pkt_lladdr_dst(pkt)->addr); in compress_da() 517 net_pkt_lladdr_dst(pkt))) { in compress_da() 563 net_pkt_lladdr_dst(pkt))) { in compress_da_ctx() 1183 net_ipv6_addr_create_iid(&dst_ip, net_pkt_lladdr_dst(pkt)); in uncompress_da() 1241 net_ipv6_addr_create_iid(&dst_ip, net_pkt_lladdr_dst(pkt)); in uncompress_da_ctx()
|
D | icmpv4.c | 582 net_pkt_lladdr_dst(pkt)->addr = net_pkt_lladdr_src(orig)->addr; in net_icmpv4_send_error() 583 net_pkt_lladdr_dst(pkt)->len = net_pkt_lladdr_src(orig)->len; in net_icmpv4_send_error()
|
D | route.c | 1087 net_pkt_lladdr_dst(pkt)->addr = lladdr->addr; in net_route_packet() 1088 net_pkt_lladdr_dst(pkt)->type = lladdr->type; in net_route_packet() 1089 net_pkt_lladdr_dst(pkt)->len = lladdr->len; in net_route_packet()
|
D | net_core.c | 210 memcpy(net_pkt_lladdr_dst(pkt), net_pkt_lladdr_if(pkt), in copy_ll_addr()
|
D | net_pkt.c | 1888 memcpy(net_pkt_lladdr_dst(clone_pkt), net_pkt_lladdr_dst(pkt), 1899 clone_pkt_lladdr(pkt, clone_pkt, net_pkt_lladdr_dst(clone_pkt));
|
D | ipv6_nbr.c | 853 if ((net_pkt_lladdr_dst(pkt)->addr && in net_ipv6_prepare_for_send() 929 net_pkt_lladdr_dst(pkt)->addr = lladdr->addr; in net_ipv6_prepare_for_send() 930 net_pkt_lladdr_dst(pkt)->len = lladdr->len; in net_ipv6_prepare_for_send()
|
D | net_if.c | 239 net_pkt_lladdr_dst(pkt)->addr, in net_if_tx() 240 net_pkt_lladdr_dst(pkt)->len) == 0) { in net_if_tx() 243 ll_dst.type = net_pkt_lladdr_dst(pkt)->type; in net_if_tx() 445 struct net_linkaddr *dst = net_pkt_lladdr_dst(pkt); in net_if_send_data()
|
D | tcp.c | 366 net_pkt_lladdr_dst(pkt)->type == NET_LINK_IEEE802154))
|
/Zephyr-Core-3.7.0/subsys/net/l2/ethernet/ |
D | ethernet.c | 262 net_pkt_lladdr_dst(pkt)->addr = hdr->dst.addr; in ethernet_recv() 263 net_pkt_lladdr_dst(pkt)->len = sizeof(struct net_eth_addr); in ethernet_recv() 264 net_pkt_lladdr_dst(pkt)->type = NET_LINK_ETHERNET; in ethernet_recv() 351 lladdr = net_pkt_lladdr_dst(pkt); in ethernet_recv() 362 net_pkt_lladdr_dst(pkt), in ethernet_recv() 367 net_pkt_lladdr_dst(pkt)); in ethernet_recv() 540 memcpy(&hdr_vlan->dst, net_pkt_lladdr_dst(pkt)->addr, in ethernet_fill_header() 562 memcpy(&hdr->dst, net_pkt_lladdr_dst(pkt)->addr, in ethernet_fill_header() 675 net_pkt_lladdr_dst(pkt)->addr = dst_addr->sll_addr; in ethernet_send() 676 net_pkt_lladdr_dst(pkt)->len = in ethernet_send() [all …]
|
D | arp.c | 312 net_pkt_lladdr_dst(pkt)->addr = (uint8_t *)net_eth_broadcast_addr(); in arp_prepare() 313 net_pkt_lladdr_dst(pkt)->len = sizeof(struct net_eth_addr); in arp_prepare() 453 net_pkt_lladdr_dst(pkt)->addr = (uint8_t *)&entry->eth; in net_arp_prepare() 454 net_pkt_lladdr_dst(pkt)->len = sizeof(struct net_eth_addr); in net_arp_prepare() 457 net_sprint_ll_addr(net_pkt_lladdr_dst(pkt)->addr, in net_arp_prepare() 518 net_pkt_lladdr_dst(pkt)->addr = (uint8_t *)net_eth_broadcast_addr(); in arp_gratuitous_send() 519 net_pkt_lladdr_dst(pkt)->len = sizeof(struct net_eth_addr); in arp_gratuitous_send() 682 net_pkt_lladdr_dst(pkt)->len = sizeof(struct net_eth_addr); in net_arp_update() 683 net_pkt_lladdr_dst(pkt)->addr = in net_arp_update() 748 net_pkt_lladdr_dst(pkt)->addr = (uint8_t *)&hdr->dst_hwaddr.addr; in arp_prepare_reply() [all …]
|
D | bridge.c | 177 if (is_link_local_addr((struct net_eth_addr *)net_pkt_lladdr_dst(pkt))) { in net_eth_bridge_input()
|
/Zephyr-Core-3.7.0/subsys/net/l2/ieee802154/ |
D | ieee802154.c | 445 swap_and_set_pkt_ll_addr(net_pkt_lladdr_dst(pkt), true, fs->fc.dst_addr_mode, in ieee802154_recv() 508 net_pkt_lladdr_dst(pkt)->addr = dst_addr->sll_addr; in ieee802154_send() 509 net_pkt_lladdr_dst(pkt)->len = dst_addr->sll_halen; in ieee802154_send() 518 ieee802154_compute_header_and_authtag_len(iface, net_pkt_lladdr_dst(pkt), in ieee802154_send() 565 if (!(send_raw || ieee802154_create_data_frame(ctx, net_pkt_lladdr_dst(pkt), in ieee802154_send()
|
/Zephyr-Core-3.7.0/subsys/net/lib/capture/ |
D | cooked.c | 452 net_pkt_lladdr_dst(pkt)->addr = NULL; in net_capture_data() 453 net_pkt_lladdr_dst(pkt)->len = 0U; in net_capture_data() 454 net_pkt_lladdr_dst(pkt)->type = NET_LINK_DUMMY; in net_capture_data()
|
/Zephyr-Core-3.7.0/tests/net/ieee802154/6lo_fragment/src/ |
D | main.c | 293 net_pkt_lladdr_dst(pkt)->addr = (uint8_t *)&dummy_short_addr; in create_pkt() 294 net_pkt_lladdr_dst(pkt)->len = sizeof(dummy_short_addr); in create_pkt() 295 net_pkt_lladdr_dst(pkt)->type = NET_LINK_IEEE802154; in create_pkt()
|
/Zephyr-Core-3.7.0/tests/net/net_pkt/src/ |
D | main.c | 812 net_pkt_lladdr_dst(pkt)->addr = net_pkt_cursor_get_pos(pkt); in ZTEST() 813 net_pkt_lladdr_dst(pkt)->len = NET_LINK_ADDR_MAX_LENGTH; in ZTEST() 814 net_pkt_lladdr_dst(pkt)->type = NET_LINK_ETHERNET; in ZTEST() 815 zassert_mem_equal(net_pkt_lladdr_dst(pkt)->addr, &buf[6], NET_LINK_ADDR_MAX_LENGTH); in ZTEST() 881 zassert_mem_equal(net_pkt_lladdr_dst(cloned_pkt)->addr, &buf[6], NET_LINK_ADDR_MAX_LENGTH); in ZTEST() 882 zassert_true(net_pkt_lladdr_dst(cloned_pkt)->addr == net_pkt_cursor_get_pos(cloned_pkt), in ZTEST()
|
/Zephyr-Core-3.7.0/subsys/net/l2/ethernet/lldp/ |
D | lldp.c | 146 net_pkt_lladdr_dst(pkt)->addr = (uint8_t *)lldp_multicast_eth_addr.addr; in lldp_send() 147 net_pkt_lladdr_dst(pkt)->len = sizeof(struct net_eth_addr); in lldp_send()
|
/Zephyr-Core-3.7.0/subsys/net/lib/sockets/ |
D | sockets_packet.c | 195 net_pkt_lladdr_dst(pkt)); in zpacket_set_source_addr()
|
/Zephyr-Core-3.7.0/subsys/net/l2/ethernet/gptp/ |
D | gptp_messages.c | 177 net_pkt_lladdr_dst(pkt)->addr = (uint8_t *)&gptp_multicast_eth_addr; in setup_gptp_frame_debug() 178 net_pkt_lladdr_dst(pkt)->len = sizeof(struct net_eth_addr); in setup_gptp_frame_debug()
|
/Zephyr-Core-3.7.0/include/zephyr/net/ |
D | net_pkt.h | 1253 static inline struct net_linkaddr *net_pkt_lladdr_dst(struct net_pkt *pkt) in net_pkt_lladdr_dst() function 1262 net_pkt_lladdr_src(pkt)->addr = net_pkt_lladdr_dst(pkt)->addr; in net_pkt_lladdr_swap() 1263 net_pkt_lladdr_dst(pkt)->addr = addr; in net_pkt_lladdr_swap()
|
/Zephyr-Core-3.7.0/tests/net/ieee802154/l2/src/ |
D | ieee802154_test.c | 832 net_iface, net_pkt_lladdr_dst(pkt), net_pkt_lladdr_src(pkt), in test_dgram_packet_reception() 851 frame_result = ieee802154_create_data_frame(ctx, net_pkt_lladdr_dst(pkt), in test_dgram_packet_reception()
|
/Zephyr-Core-3.7.0/tests/net/6lo/src/ |
D | main.c | 480 net_pkt_lladdr_dst(pkt)->addr = dst_mac; in create_pkt() 481 net_pkt_lladdr_dst(pkt)->len = 8U; in create_pkt()
|