Lines Matching refs:orig_addr
102 const u8 *orig_addr, u32 orig_sn, in mesh_path_sel_frame_tx() argument
143 mhwmp_dbg(sdata, "sending PREP to %pM\n", orig_addr); in mesh_path_sel_frame_tx()
149 mhwmp_dbg(sdata, "sending RANN from %pM\n", orig_addr); in mesh_path_sel_frame_tx()
172 memcpy(pos, orig_addr, ETH_ALEN); in mesh_path_sel_frame_tx()
189 memcpy(pos, orig_addr, ETH_ALEN); in mesh_path_sel_frame_tx()
373 const u8 *orig_addr, *ta; in hwmp_route_info_get() local
392 orig_addr = PREQ_IE_ORIG_ADDR(hwmp_ie); in hwmp_route_info_get()
403 orig_addr = PREP_IE_TARGET_ADDR(hwmp_ie); in hwmp_route_info_get()
417 if (ether_addr_equal(orig_addr, sdata->vif.addr)) { in hwmp_route_info_get()
424 mpath = mesh_path_lookup(sdata, orig_addr); in hwmp_route_info_get()
459 mpath = mesh_path_add(sdata, orig_addr); in hwmp_route_info_get()
486 if (ether_addr_equal(orig_addr, ta)) in hwmp_route_info_get()
530 const u8 *target_addr, *orig_addr; in hwmp_preq_frame_process() local
540 orig_addr = PREQ_IE_ORIG_ADDR(preq_elem); in hwmp_preq_frame_process()
548 mhwmp_dbg(sdata, "received PREQ from %pM\n", orig_addr); in hwmp_preq_frame_process()
565 mpath = mesh_path_lookup(sdata, orig_addr); in hwmp_preq_frame_process()
603 mesh_path_sel_frame_tx(MPATH_PREP, 0, orig_addr, in hwmp_preq_frame_process()
623 mhwmp_dbg(sdata, "forwarding the PREQ from %pM\n", orig_addr); in hwmp_preq_frame_process()
635 mesh_path_sel_frame_tx(MPATH_PREQ, flags, orig_addr, in hwmp_preq_frame_process()
662 const u8 *target_addr, *orig_addr; in hwmp_prep_frame_process() local
670 orig_addr = PREP_IE_ORIG_ADDR(prep_elem); in hwmp_prep_frame_process()
671 if (ether_addr_equal(orig_addr, sdata->vif.addr)) in hwmp_prep_frame_process()
685 mpath = mesh_path_lookup(sdata, orig_addr); in hwmp_prep_frame_process()
704 mesh_path_sel_frame_tx(MPATH_PREP, flags, orig_addr, orig_sn, 0, in hwmp_prep_frame_process()
778 const u8 *orig_addr; in hwmp_rann_frame_process() local
785 orig_addr = rann->rann_addr; in hwmp_rann_frame_process()
793 if (ether_addr_equal(orig_addr, sdata->vif.addr)) in hwmp_rann_frame_process()
798 orig_addr, mgmt->sa, root_is_gate); in hwmp_rann_frame_process()
809 mpath = mesh_path_lookup(sdata, orig_addr); in hwmp_rann_frame_process()
811 mpath = mesh_path_add(sdata, orig_addr); in hwmp_rann_frame_process()
832 orig_addr); in hwmp_rann_frame_process()
855 mesh_path_sel_frame_tx(MPATH_RANN, flags, orig_addr, in hwmp_rann_frame_process()