anchor.diff:      ?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),
  
positive.code: %%====================================================================
  %% API
  %%====================================================================
  %%--------------------------------------------------------------------
  %% @spec start_link(Device, OSIfconfig) -> {ok,Pid} | ignore | {error,Error}
  %% @doc Starts the server
  %% @end
  %%--------------------------------------------------------------------
  start_link(Device, IfConfig) when is_list(Device), is_list(IfConfig) ->
      gen_server:start_link(?MODULE, [#state{dev=Device,
                                             mac=?DEFAULT_MAC}, IfConfig], []).
  
negative.code:     ?WARN("Unexpected cast ~p", [Msg]),
      {noreply, State}.
  
  %% @private
  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}) ->
  