Lines Matching refs:orig_addr
105 const u8 *orig_addr, u32 orig_sn, in mesh_path_sel_frame_tx() argument
146 mhwmp_dbg(sdata, "sending PREP to %pM\n", orig_addr); in mesh_path_sel_frame_tx()
152 mhwmp_dbg(sdata, "sending RANN from %pM\n", orig_addr); in mesh_path_sel_frame_tx()
175 memcpy(pos, orig_addr, ETH_ALEN); in mesh_path_sel_frame_tx()
192 memcpy(pos, orig_addr, ETH_ALEN); in mesh_path_sel_frame_tx()
380 const u8 *orig_addr, *ta; in hwmp_route_info_get() local
399 orig_addr = PREQ_IE_ORIG_ADDR(hwmp_ie); in hwmp_route_info_get()
410 orig_addr = PREP_IE_TARGET_ADDR(hwmp_ie); in hwmp_route_info_get()
424 if (ether_addr_equal(orig_addr, sdata->vif.addr)) { in hwmp_route_info_get()
431 mpath = mesh_path_lookup(sdata, orig_addr); in hwmp_route_info_get()
446 mpath = mesh_path_add(sdata, orig_addr); in hwmp_route_info_get()
473 if (ether_addr_equal(orig_addr, ta)) in hwmp_route_info_get()
517 const u8 *target_addr, *orig_addr; in hwmp_preq_frame_process() local
527 orig_addr = PREQ_IE_ORIG_ADDR(preq_elem); in hwmp_preq_frame_process()
536 mhwmp_dbg(sdata, "received PREQ from %pM\n", orig_addr); in hwmp_preq_frame_process()
553 mpath = mesh_path_lookup(sdata, orig_addr); in hwmp_preq_frame_process()
593 mesh_path_sel_frame_tx(MPATH_PREP, 0, orig_addr, in hwmp_preq_frame_process()
612 mhwmp_dbg(sdata, "forwarding the PREQ from %pM\n", orig_addr); in hwmp_preq_frame_process()
625 mesh_path_sel_frame_tx(MPATH_PREQ, flags, orig_addr, in hwmp_preq_frame_process()
652 const u8 *target_addr, *orig_addr; in hwmp_prep_frame_process() local
660 orig_addr = PREP_IE_ORIG_ADDR(prep_elem); in hwmp_prep_frame_process()
661 if (ether_addr_equal(orig_addr, sdata->vif.addr)) in hwmp_prep_frame_process()
675 mpath = mesh_path_lookup(sdata, orig_addr); in hwmp_prep_frame_process()
694 mesh_path_sel_frame_tx(MPATH_PREP, flags, orig_addr, orig_sn, 0, in hwmp_prep_frame_process()
765 const u8 *orig_addr; in hwmp_rann_frame_process() local
772 orig_addr = rann->rann_addr; in hwmp_rann_frame_process()
780 if (ether_addr_equal(orig_addr, sdata->vif.addr)) in hwmp_rann_frame_process()
785 orig_addr, mgmt->sa, root_is_gate); in hwmp_rann_frame_process()
796 mpath = mesh_path_lookup(sdata, orig_addr); in hwmp_rann_frame_process()
798 mpath = mesh_path_add(sdata, orig_addr); in hwmp_rann_frame_process()
819 orig_addr); in hwmp_rann_frame_process()
842 mesh_path_sel_frame_tx(MPATH_RANN, flags, orig_addr, in hwmp_rann_frame_process()