/Zephyr-latest/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-latest/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 | route.c | 1088 net_pkt_lladdr_dst(pkt)->addr = lladdr->addr; in net_route_packet() 1089 net_pkt_lladdr_dst(pkt)->type = lladdr->type; in net_route_packet() 1090 net_pkt_lladdr_dst(pkt)->len = lladdr->len; in net_route_packet()
|
D | icmpv4.c | 583 net_pkt_lladdr_dst(pkt)->addr = net_pkt_lladdr_src(orig)->addr; in net_icmpv4_send_error() 584 net_pkt_lladdr_dst(pkt)->len = net_pkt_lladdr_src(orig)->len; in net_icmpv4_send_error()
|
D | net_core.c | 198 memcpy(net_pkt_lladdr_dst(pkt), net_pkt_lladdr_if(pkt), in copy_ll_addr()
|
D | net_pkt.c | 2084 memcpy(net_pkt_lladdr_dst(clone_pkt), net_pkt_lladdr_dst(pkt), 2095 clone_pkt_lladdr(pkt, clone_pkt, net_pkt_lladdr_dst(clone_pkt));
|
D | ipv6_nbr.c | 863 if ((net_pkt_lladdr_dst(pkt)->addr && in net_ipv6_prepare_for_send() 961 net_pkt_lladdr_dst(pkt)->addr = lladdr->addr; in net_ipv6_prepare_for_send() 962 net_pkt_lladdr_dst(pkt)->len = lladdr->len; in net_ipv6_prepare_for_send()
|
D | net_if.c | 243 net_pkt_lladdr_dst(pkt)->addr, in net_if_tx() 244 net_pkt_lladdr_dst(pkt)->len) == 0) { in net_if_tx() 247 ll_dst.type = net_pkt_lladdr_dst(pkt)->type; in net_if_tx() 456 struct net_linkaddr *dst = net_pkt_lladdr_dst(pkt); in net_if_send_data()
|
D | tcp.c | 367 net_pkt_lladdr_dst(pkt)->type == NET_LINK_IEEE802154))
|
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | arp.c | 313 net_pkt_lladdr_dst(pkt)->addr = (uint8_t *)net_eth_broadcast_addr(); in arp_prepare() 314 net_pkt_lladdr_dst(pkt)->len = sizeof(struct net_eth_addr); in arp_prepare() 456 net_pkt_lladdr_dst(pkt)->addr = (uint8_t *)&entry->eth; in net_arp_prepare() 457 net_pkt_lladdr_dst(pkt)->len = sizeof(struct net_eth_addr); in net_arp_prepare() 460 net_sprint_ll_addr(net_pkt_lladdr_dst(pkt)->addr, in net_arp_prepare() 521 net_pkt_lladdr_dst(pkt)->addr = (uint8_t *)net_eth_broadcast_addr(); in arp_gratuitous_send() 522 net_pkt_lladdr_dst(pkt)->len = sizeof(struct net_eth_addr); in arp_gratuitous_send() 685 net_pkt_lladdr_dst(pkt)->len = sizeof(struct net_eth_addr); in net_arp_update() 686 net_pkt_lladdr_dst(pkt)->addr = in net_arp_update() 751 net_pkt_lladdr_dst(pkt)->addr = (uint8_t *)&hdr->dst_hwaddr.addr; in arp_prepare_reply() [all …]
|
D | ethernet.c | 358 lladdr = net_pkt_lladdr_dst(pkt); in ethernet_recv() 369 net_pkt_lladdr_dst(pkt), in ethernet_recv() 374 net_pkt_lladdr_dst(pkt)); in ethernet_recv() 599 memcpy(&hdr_vlan->dst, net_pkt_lladdr_dst(pkt)->addr, in ethernet_fill_header() 625 memcpy(&hdr->dst, net_pkt_lladdr_dst(pkt)->addr, in ethernet_fill_header() 745 net_pkt_lladdr_dst(pkt)->addr = dst_addr->sll_addr; in ethernet_send() 746 net_pkt_lladdr_dst(pkt)->len = in ethernet_send() 773 if (!net_pkt_lladdr_dst(pkt)->addr) { in ethernet_send() 774 net_pkt_lladdr_dst(pkt)->addr = (uint8_t *)broadcast_eth_addr.addr; in ethernet_send() 775 net_pkt_lladdr_dst(pkt)->len = sizeof(struct net_eth_addr); in ethernet_send()
|
D | bridge.c | 346 if (is_link_local_addr((struct net_eth_addr *)net_pkt_lladdr_dst(pkt))) { in bridge_iface_process()
|
/Zephyr-latest/subsys/net/l2/ieee802154/ |
D | ieee802154.c | 444 swap_and_set_pkt_ll_addr(net_pkt_lladdr_dst(pkt), true, fs->fc.dst_addr_mode, in ieee802154_recv() 507 net_pkt_lladdr_dst(pkt)->addr = dst_addr->sll_addr; in ieee802154_send() 508 net_pkt_lladdr_dst(pkt)->len = dst_addr->sll_halen; in ieee802154_send() 517 ieee802154_compute_header_and_authtag_len(iface, net_pkt_lladdr_dst(pkt), in ieee802154_send() 564 if (!(send_raw || ieee802154_create_data_frame(ctx, net_pkt_lladdr_dst(pkt), in ieee802154_send()
|
/Zephyr-latest/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-latest/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-latest/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-latest/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-latest/subsys/net/lib/sockets/ |
D | sockets_packet.c | 195 net_pkt_lladdr_dst(pkt)); in zpacket_set_source_addr()
|
/Zephyr-latest/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-latest/include/zephyr/net/ |
D | net_pkt.h | 1285 static inline struct net_linkaddr *net_pkt_lladdr_dst(struct net_pkt *pkt) in net_pkt_lladdr_dst() function 1294 net_pkt_lladdr_src(pkt)->addr = net_pkt_lladdr_dst(pkt)->addr; in net_pkt_lladdr_swap() 1295 net_pkt_lladdr_dst(pkt)->addr = addr; in net_pkt_lladdr_swap()
|
/Zephyr-latest/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-latest/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()
|