route.c (e0d21d9cca25f424f3129649be48a63c128ed42d) | route.c (0b7f22aab4e960c75e82ad696ef852f9b0015e7d) |
---|---|
1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * ROUTE - implementation of the IP router. 7 * 8 * Version: $Id: route.c,v 1.103 2002/01/12 07:44:09 davem Exp $ --- 1671 unchanged lines hidden (view full) --- 1680 if (IN_DEV_LOG_MARTIANS(in_dev) && net_ratelimit()) { 1681 /* 1682 * RFC1812 recommendation, if source is martian, 1683 * the only hint is MAC header. 1684 */ 1685 printk(KERN_WARNING "martian source %u.%u.%u.%u from " 1686 "%u.%u.%u.%u, on dev %s\n", 1687 NIPQUAD(daddr), NIPQUAD(saddr), dev->name); | 1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * ROUTE - implementation of the IP router. 7 * 8 * Version: $Id: route.c,v 1.103 2002/01/12 07:44:09 davem Exp $ --- 1671 unchanged lines hidden (view full) --- 1680 if (IN_DEV_LOG_MARTIANS(in_dev) && net_ratelimit()) { 1681 /* 1682 * RFC1812 recommendation, if source is martian, 1683 * the only hint is MAC header. 1684 */ 1685 printk(KERN_WARNING "martian source %u.%u.%u.%u from " 1686 "%u.%u.%u.%u, on dev %s\n", 1687 NIPQUAD(daddr), NIPQUAD(saddr), dev->name); |
1688 if (dev->hard_header_len) { | 1688 if (dev->hard_header_len && skb->mac.raw) { |
1689 int i; 1690 unsigned char *p = skb->mac.raw; 1691 printk(KERN_WARNING "ll header: "); 1692 for (i = 0; i < dev->hard_header_len; i++, p++) { 1693 printk("%02x", *p); 1694 if (i < (dev->hard_header_len - 1)) 1695 printk(":"); 1696 } --- 1510 unchanged lines hidden --- | 1689 int i; 1690 unsigned char *p = skb->mac.raw; 1691 printk(KERN_WARNING "ll header: "); 1692 for (i = 0; i < dev->hard_header_len; i++, p++) { 1693 printk("%02x", *p); 1694 if (i < (dev->hard_header_len - 1)) 1695 printk(":"); 1696 } --- 1510 unchanged lines hidden --- |