> I have an application that sends raw ethernet frames to a network
> interface using the af_packet module. This works well except when
> sending a packet intended for the host that the application is running
> on. Apparently the outbound frame is never considered for input to
> the TCP/IP stack.
> Is this considered a bug or a feature?
Neither or them. It is simply the only expected behaviour.
Ethernet is simplex media, it does not hear itself and it is
impossible to talk to self using it. Well, if you do not believe,
try to use single phone to call to yourself.
Apparently you want to send to loopback. Continuing analogy:
to talk to self, you need not any phone at all and even better
not to strain tongue frightening people with selftalking. :-)