diff options
Diffstat (limited to 'net/ipv4/arp.c')
| -rw-r--r-- | net/ipv4/arp.c | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c index 09ead1baa99e..96c1955b3e2f 100644 --- a/net/ipv4/arp.c +++ b/net/ipv4/arp.c | |||
| @@ -116,6 +116,7 @@ | |||
| 116 | #if defined(CONFIG_ATM_CLIP) || defined(CONFIG_ATM_CLIP_MODULE) | 116 | #if defined(CONFIG_ATM_CLIP) || defined(CONFIG_ATM_CLIP_MODULE) |
| 117 | #include <net/atmclip.h> | 117 | #include <net/atmclip.h> |
| 118 | struct neigh_table *clip_tbl_hook; | 118 | struct neigh_table *clip_tbl_hook; |
| 119 | EXPORT_SYMBOL(clip_tbl_hook); | ||
| 119 | #endif | 120 | #endif |
| 120 | 121 | ||
| 121 | #include <asm/system.h> | 122 | #include <asm/system.h> |
| @@ -169,6 +170,7 @@ const struct neigh_ops arp_broken_ops = { | |||
| 169 | .hh_output = dev_queue_xmit, | 170 | .hh_output = dev_queue_xmit, |
| 170 | .queue_xmit = dev_queue_xmit, | 171 | .queue_xmit = dev_queue_xmit, |
| 171 | }; | 172 | }; |
| 173 | EXPORT_SYMBOL(arp_broken_ops); | ||
| 172 | 174 | ||
| 173 | struct neigh_table arp_tbl = { | 175 | struct neigh_table arp_tbl = { |
| 174 | .family = AF_INET, | 176 | .family = AF_INET, |
| @@ -198,6 +200,7 @@ struct neigh_table arp_tbl = { | |||
| 198 | .gc_thresh2 = 512, | 200 | .gc_thresh2 = 512, |
| 199 | .gc_thresh3 = 1024, | 201 | .gc_thresh3 = 1024, |
| 200 | }; | 202 | }; |
| 203 | EXPORT_SYMBOL(arp_tbl); | ||
| 201 | 204 | ||
| 202 | int arp_mc_map(__be32 addr, u8 *haddr, struct net_device *dev, int dir) | 205 | int arp_mc_map(__be32 addr, u8 *haddr, struct net_device *dev, int dir) |
| 203 | { | 206 | { |
| @@ -499,6 +502,7 @@ int arp_find(unsigned char *haddr, struct sk_buff *skb) | |||
| 499 | kfree_skb(skb); | 502 | kfree_skb(skb); |
| 500 | return 1; | 503 | return 1; |
| 501 | } | 504 | } |
| 505 | EXPORT_SYMBOL(arp_find); | ||
| 502 | 506 | ||
| 503 | /* END OF OBSOLETE FUNCTIONS */ | 507 | /* END OF OBSOLETE FUNCTIONS */ |
| 504 | 508 | ||
| @@ -700,6 +704,7 @@ out: | |||
| 700 | kfree_skb(skb); | 704 | kfree_skb(skb); |
| 701 | return NULL; | 705 | return NULL; |
| 702 | } | 706 | } |
| 707 | EXPORT_SYMBOL(arp_create); | ||
| 703 | 708 | ||
| 704 | /* | 709 | /* |
| 705 | * Send an arp packet. | 710 | * Send an arp packet. |
| @@ -709,6 +714,7 @@ void arp_xmit(struct sk_buff *skb) | |||
| 709 | /* Send it off, maybe filter it using firewalling first. */ | 714 | /* Send it off, maybe filter it using firewalling first. */ |
| 710 | NF_HOOK(NFPROTO_ARP, NF_ARP_OUT, skb, NULL, skb->dev, dev_queue_xmit); | 715 | NF_HOOK(NFPROTO_ARP, NF_ARP_OUT, skb, NULL, skb->dev, dev_queue_xmit); |
| 711 | } | 716 | } |
| 717 | EXPORT_SYMBOL(arp_xmit); | ||
| 712 | 718 | ||
| 713 | /* | 719 | /* |
| 714 | * Create and send an arp packet. | 720 | * Create and send an arp packet. |
| @@ -735,6 +741,7 @@ void arp_send(int type, int ptype, __be32 dest_ip, | |||
| 735 | 741 | ||
| 736 | arp_xmit(skb); | 742 | arp_xmit(skb); |
| 737 | } | 743 | } |
| 744 | EXPORT_SYMBOL(arp_send); | ||
| 738 | 745 | ||
| 739 | /* | 746 | /* |
| 740 | * Process an arp request. | 747 | * Process an arp request. |
| @@ -1452,14 +1459,3 @@ static int __init arp_proc_init(void) | |||
| 1452 | } | 1459 | } |
| 1453 | 1460 | ||
| 1454 | #endif /* CONFIG_PROC_FS */ | 1461 | #endif /* CONFIG_PROC_FS */ |
| 1455 | |||
| 1456 | EXPORT_SYMBOL(arp_broken_ops); | ||
| 1457 | EXPORT_SYMBOL(arp_find); | ||
| 1458 | EXPORT_SYMBOL(arp_create); | ||
| 1459 | EXPORT_SYMBOL(arp_xmit); | ||
| 1460 | EXPORT_SYMBOL(arp_send); | ||
| 1461 | EXPORT_SYMBOL(arp_tbl); | ||
| 1462 | |||
| 1463 | #if defined(CONFIG_ATM_CLIP) || defined(CONFIG_ATM_CLIP_MODULE) | ||
| 1464 | EXPORT_SYMBOL(clip_tbl_hook); | ||
| 1465 | #endif | ||
