Changeset 10842


Ignore:
Timestamp:
11/10/08 18:16:02 (5 years ago)
Author:
BrainSlayer
Message:

ethernet over ip tunnel

Location:
src/linux/ar531x/linux-2.6.23
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • src/linux/ar531x/linux-2.6.23/include/linux/in.h

    r8169 r10842  
    4242  IPPROTO_AH = 51,             /* Authentication Header protocol       */ 
    4343  IPPROTO_BEETPH = 94,         /* IP option pseudo header for BEET */ 
     44  IPPROTO_ETHERIP = 97,         /* Ethernet-in-IP tunneling (rfc 3378)  */ 
    4445  IPPROTO_PIM    = 103,         /* Protocol Independent Multicast       */ 
    4546 
  • src/linux/ar531x/linux-2.6.23/net/core/dev.c

    r8169 r10842  
    17821782 
    17831783        __get_cpu_var(netdev_rx_stat).total++; 
     1784 
     1785#ifdef CONFIG_BRIDGE 
     1786        /* Optimisation for framebursting (allow interleaving of pkts by 
     1787         * immediately processing the rx pkt instead of Qing the pkt and deferring 
     1788         * the processing). Only optimise for bridging and guard against non 
     1789         * TASKLET based netif_rx calls. 
     1790         */ 
     1791        if (!in_irq() && (skb->dev->br_port != NULL) && br_handle_frame_hook != NULL) { 
     1792                local_irq_restore(flags); 
     1793                return netif_receive_skb(skb); 
     1794        } 
     1795#endif           
     1796 
    17841797        if (queue->input_pkt_queue.qlen <= netdev_max_backlog) { 
    17851798                if (queue->input_pkt_queue.qlen) { 
  • src/linux/ar531x/linux-2.6.23/net/ipv4/Kconfig

    r8169 r10842  
    226226          to do that, say Y here and to "IP multicast routing" below. 
    227227 
     228config NET_ETHERIP 
     229        tristate "IP: ethernet-in-IP tunneling" 
     230        depends on INET 
     231        help 
     232          Tunneling means encapsulating data of one protocol type within 
     233          another protocol and sending it over a channel that understands the 
     234          encapsulating protocol. This particular tunneling driver implements 
     235          the etherip Ethernet-in-IP protocol as described in RFC 3378. 
     236 
    228237config IP_MROUTE 
    229238        bool "IP: multicast routing" 
  • src/linux/ar531x/linux-2.6.23/net/ipv4/Makefile

    r8169 r10842  
    2020obj-$(CONFIG_NET_IPIP) += ipip.o 
    2121obj-$(CONFIG_NET_IPGRE) += ip_gre.o 
     22obj-$(CONFIG_NET_ETHERIP) += etherip.o 
    2223obj-$(CONFIG_SYN_COOKIES) += syncookies.o 
    2324obj-$(CONFIG_INET_AH) += ah4.o 
Note: See TracChangeset for help on using the changeset viewer.