anchor.diff:      ?WARN("Unexpected cast ~p", [Msg]),
       {noreply, State}.
   
  -%%--------------------------------------------------------------------
   %% @private
  -%% @spec 
  -%% handle_info(Info, State) -> {noreply, State} |
  -%%                             {noreply, State, Timeout} |
  -%%                             {stop, Reason, State}
  -%% @doc Non gen-server message handler callbacks
  -%% @end
  -%%--------------------------------------------------------------------
   handle_info({Port, {exit_status, N}}, S = #state{port=Port}) ->
       {stop, {interface_shutdown, N}, S#state{port=undefined}};
   handle_info({Port, {data, PortPacket}}, S = #state{port=Port}) ->
  
positive.code:     ?WARN("Unexpected call ~p.", [Call]),
      {noreply, State}.
  
  %%--------------------------------------------------------------------
  %% @private
  %% @spec 
  %% handle_cast(Msg, State) -> {noreply, State} |
  %%                            {noreply, State, Timeout} |
  %%                            {stop, Reason, State}
  %% @doc Cast message handler callbacks
  %% @end
  %%--------------------------------------------------------------------
  handle_cast({send, #raw{data=Frame}}, S = #state{port=P})
    when is_port(P), is_binary(Frame) ->
      publish_tx(Frame, unknown, S),
  
negative.code:     end,
      {noreply, S}.
  
  %% @private
  terminate(Reason, S = #state{port=P}) when is_port(P) ->
      catch enet_tap:close(P),
      terminate(Reason, S#state{port=undefined});
  terminate(_Reason, _State) ->
      ok.
  
  %% @private
  code_change(_OldVsn, {state, Dev, Port, Pubsub, Osifconfig}, _Extra) ->
      {state, Dev, ?DEFAULT_MAC, Port, Pubsub, Osifconfig};
  code_change(_OldVsn, State, _Extra) ->
  