Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16817
b: refs/heads/master
c: 97dc627
h: refs/heads/master
i:
  16815: f6cf0c2
v: v3
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Jan 7, 2006
1 parent d458929 commit 51ae346
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f53b61d8c385140fe7f09e0c9187ae813ee9f330
refs/heads/master: 97dc627fb3471664c72d0933790a90ba3f91e131
1 change: 0 additions & 1 deletion trunk/include/net/ip.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ extern int ip_local_deliver(struct sk_buff *skb);
extern int ip_mr_input(struct sk_buff *skb);
extern int ip_output(struct sk_buff *skb);
extern int ip_mc_output(struct sk_buff *skb);
extern int ip_fragment(struct sk_buff *skb, int (*out)(struct sk_buff*));
extern int ip_do_nat(struct sk_buff *skb);
extern void ip_send_check(struct iphdr *ip);
extern int ip_queue_xmit(struct sk_buff *skb, int ipfragok);
Expand Down
5 changes: 3 additions & 2 deletions trunk/net/ipv4/ip_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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);

0 comments on commit 51ae346

Please sign in to comment.