anchor.diff:  win_getifaddrs_aa2([#{index := Idx} = AdAddrs|AdsAddrs], IpIfInfos, Acc) ->
       case prim_net:get_if_entry(#{index => Idx}) of
           {ok, #{name := Name} = IfEntry} when (Name =/= "") ->
  -            IfAddrs = win_getifaddrs_aa3(Name, AdAddrs, IfEntry),
  -            win_getifaddrs_aa2(AdsAddrs, IpIfInfos, [IfAddrs|Acc]);
  +            {IfAddrs, PktIfAddr} = win_getifaddrs_aa3(Name, AdAddrs, IfEntry),
  +            win_getifaddrs_aa2(AdsAddrs, IpIfInfos, [IfAddrs,PktIfAddr|Acc]);
           {ok, #{name        := Name,
                  description := Desc} = IfEntry} when (Name =:= "") ->
               case if_info_search(Idx, IpIfInfos) of
                   {value, #{name := Name2}} ->
  -                    IfAddrs = win_getifaddrs_aa3(Name2, AdAddrs, IfEntry),
  -                    win_getifaddrs_aa2(AdsAddrs, IpIfInfos, [IfAddrs|Acc]);
  +                    {IfAddrs, PktIfAddr} =
  +                        win_getifaddrs_aa3(Name2, AdAddrs, IfEntry),
  +                    win_getifaddrs_aa2(AdsAddrs, IpIfInfos,
  +                                       [IfAddrs, PktIfAddr|Acc]);
                       false ->
                           %% Use description
  -                    IfAddrs = win_getifaddrs_aa3(Desc, AdAddrs, IfEntry),
  -                    win_getifaddrs_aa2(AdsAddrs, IpIfInfos, [IfAddrs|Acc])
  +                    {IfAddrs, PktIfAddr} =
  +                        win_getifaddrs_aa3(Desc, AdAddrs, IfEntry),
  +                    win_getifaddrs_aa2(AdsAddrs, IpIfInfos,
  +                                       [IfAddrs, PktIfAddr|Acc])
                   end;
           {error, _} ->
               win_getifaddrs_aa2(AdsAddrs, IpIfInfos, Acc)
       end.
  -    
  +
   win_getifaddrs_aa3(Name,
                      #{flags         := #{no_multicast := NoMC},
                        unicast_addrs := UCastAddrs,
                        prefixes      := Prefixes} = _AdAddrs,
                      #{type                 := Type,
                        admin_status         := AStatus,
  -                     internal_oper_status := _OStatus} = _IfEntry) ->
  -    d("win_getifaddrs_aa3 -> entry with"
  -      "~n   If Entry: ~p", [_IfEntry]),
  +                     internal_oper_status := _OStatus,
  +                     phys_addr            := PhysAddr,
  +                     index                := Idx} = _IfEntry) ->
       Flags1 =
           if (NoMC =:= false) ->
                   [multicast];
  
positive.code: %% d(F) ->
  %%     d(F, []).
  
  d(F, A) ->
      io:format("~w:" ++ F ++ "~n", [?MODULE|A]).
  
negative.code:                  _ ->
                       [up]
               end,
      Flags  = lists:sort(Flags1 ++ Flags2 ++ Flags3),
      HaType = type2hatype(Type),
      PktSockAddr = #{addr     => process_phys_addr(HaType, PhysAddr),
                      family   => packet,
                      hatype   => HaType,
                      ifindex  => Idx,
                      pkttype  => host,
                      protocol => 0},
      PktIfAddr =
          case HaType of
              loopback ->
                  #{name  => Name,
                    addr  => PktSockAddr,
                    flags => Flags};
              _ ->
                  #{name      => Name,
                    addr      => PktSockAddr,
                    broadaddr => ?BADDR_FOR_PHYS_ADDR,
                    flags     => Flags}
          end,
      IfAddrs = [win_getifaddrs_aa4(Name,
                                    Flags,
                                    Prefixes,
                                    UCastAddr) || UCastAddr <- UCastAddrs],
      {IfAddrs, PktIfAddr}.
  
  type2hatype(ethernet_csmacd) ->
      ether;
  type2hatype(software_loopback) ->
      loopback;
  type2hatype(Other) ->
      Other.
  
  process_phys_addr(loopback, <<>>) ->
      <<0:8,0:8,0:8,0:8,0:8,0:8>>;
  process_phys_addr(_, Bin) when is_binary(Bin) ->
      Bin.
  
                                 
  
  win_getifaddrs_aa4(Name, Flags, Prefixes,
                     #{addr := #{family := Fam} = Addr} = UCAddr) ->
  