|
@@ -85,6 +85,8 @@
|
|
|
|
|
|
int sysctl_ip_default_ttl = IPDEFTTL;
|
|
|
|
|
|
+static int ip_fragment(struct sk_buff *skb, int (*output)(struct sk_buff*));
|
|
|
+
|
|
|
/* Generate a checksum for an outgoing IP datagram. */
|
|
|
__inline__ void ip_send_check(struct iphdr *iph)
|
|
|
{
|
|
@@ -414,7 +416,7 @@ static void ip_copy_metadata(struct sk_buff *to, struct sk_buff *from)
|
|
|
* single device frame, and queue such a frame for sending.
|
|
|
*/
|
|
|
|
|
|
-int ip_fragment(struct sk_buff *skb, int (*output)(struct sk_buff*))
|
|
|
+static int ip_fragment(struct sk_buff *skb, int (*output)(struct sk_buff*))
|
|
|
{
|
|
|
struct iphdr *iph;
|
|
|
int raw = 0;
|
|
@@ -1396,7 +1398,6 @@ void __init ip_init(void)
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
-EXPORT_SYMBOL(ip_fragment);
|
|
|
EXPORT_SYMBOL(ip_generic_getfrag);
|
|
|
EXPORT_SYMBOL(ip_queue_xmit);
|
|
|
EXPORT_SYMBOL(ip_send_check);
|