On Fri, May 14, 2010 at 8:07 AM, ratheesh k <ratheesh.ksz@xxxxxxxxx> wrote: > On Fri, May 14, 2010 at 12:56 AM, Jan Engelhardt <jengelh@xxxxxxxxxx> wrote: >>>Packets from lo will hit NF_IP_LOCAL_OUT hook ? >> >> Clearly. > > Could you please explain a little about the traversal of a local > packet . say if i do : ping 127.0.0.1 .? what are the chains/hooks it > will hit ? > > Is there any API to check whether it is a ether packet or not ? > Thanks, > Ratheesh > > On Fri, May 14, 2010 at 12:56 AM, Jan Engelhardt <jengelh@xxxxxxxxxx> wrote: >> On Thursday 2010-05-13 19:24, ratheesh k wrote: >> >>>On Thu, May 13, 2010 at 10:46 PM, Jan Engelhardt <jengelh@xxxxxxxxxx> wrote: >>>> Your hook received packets from all interfaces, including lo and >>>> ethhdr-less tunnels. >>> >>>Packets from lo will hit NF_IP_LOCAL_OUT hook ? >> >> Clearly. >> >>>Could you please tell example for ether less packet ? >> >> As I said, all links that do not are of "ether" type (see `ip list`) >> > OK , lo packet will hit INPUT and OUTPUT . loop packet wont have ether header ?> Is there any API to check whether it is a ether packet or not ? Thanks, Ratheesh -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html