initial import
[ICEs.git] / bfin-2630 / ip_output.i.1
1 struct sk_buff {
2 union {
3 } mac;
4 struct dst_entry *dst;
5 unsigned int len, data_len, mac_len, csum;
6 };
7 struct in6_addr {
8 union {
9 } u;
10 };
11 static inline __attribute__ ((always_inline))
12 int ip_finish_output2(struct sk_buff *skb)
13 {
14 }
15 static inline __attribute__ ((always_inline))
16 int ip_finish_output(struct sk_buff *skb)
17 {
18 if (skb->len > dst_mtu(skb->dst) && !skb_is_gso(skb))
19 return ip_fragment(skb, ip_finish_output2);
20 else
21 return ip_finish_output2(skb);
22 }
23 int ip_mc_output(struct sk_buff *skb)
24 {
25 return (ip_finish_output) (skb);
26 }
27 int ip_output(struct sk_buff *skb)
28 {
29 return (ip_finish_output) (skb);
30 }