mpls_iptunnel.c (08617f47eaf8c70b4c236dee2014c6141aa282bf) | mpls_iptunnel.c (127eb7cd3c210afead788991a30950a9e36759ea) |
---|---|
1/* 2 * mpls tunnels An implementation mpls tunnels using the light weight tunnel 3 * infrastructure 4 * 5 * Authors: Roopa Prabhu, <roopa@cumulusnetworks.com> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 109 unchanged lines hidden (view full) --- 118 return 0; 119 120drop: 121 kfree_skb(skb); 122 return -EINVAL; 123} 124 125static int mpls_build_state(struct net_device *dev, struct nlattr *nla, | 1/* 2 * mpls tunnels An implementation mpls tunnels using the light weight tunnel 3 * infrastructure 4 * 5 * Authors: Roopa Prabhu, <roopa@cumulusnetworks.com> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 109 unchanged lines hidden (view full) --- 118 return 0; 119 120drop: 121 kfree_skb(skb); 122 return -EINVAL; 123} 124 125static int mpls_build_state(struct net_device *dev, struct nlattr *nla, |
126 unsigned int family, const void *cfg, |
|
126 struct lwtunnel_state **ts) 127{ 128 struct mpls_iptunnel_encap *tun_encap_info; 129 struct nlattr *tb[MPLS_IPTUNNEL_MAX + 1]; 130 struct lwtunnel_state *newts; 131 int tun_encap_info_len; 132 int ret; 133 --- 97 unchanged lines hidden --- | 127 struct lwtunnel_state **ts) 128{ 129 struct mpls_iptunnel_encap *tun_encap_info; 130 struct nlattr *tb[MPLS_IPTUNNEL_MAX + 1]; 131 struct lwtunnel_state *newts; 132 int tun_encap_info_len; 133 int ret; 134 --- 97 unchanged lines hidden --- |