mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
[NETFILTER]: ebtables: remove casts, use consts
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
000e8a5354
commit
abfdf1c489
18 changed files with 95 additions and 70 deletions
|
@ -558,8 +558,9 @@ static inline int arp_fwd_proxy(struct in_device *in_dev, struct rtable *rt)
|
|||
*/
|
||||
struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip,
|
||||
struct net_device *dev, __be32 src_ip,
|
||||
unsigned char *dest_hw, unsigned char *src_hw,
|
||||
unsigned char *target_hw)
|
||||
const unsigned char *dest_hw,
|
||||
const unsigned char *src_hw,
|
||||
const unsigned char *target_hw)
|
||||
{
|
||||
struct sk_buff *skb;
|
||||
struct arphdr *arp;
|
||||
|
@ -672,8 +673,8 @@ void arp_xmit(struct sk_buff *skb)
|
|||
*/
|
||||
void arp_send(int type, int ptype, __be32 dest_ip,
|
||||
struct net_device *dev, __be32 src_ip,
|
||||
unsigned char *dest_hw, unsigned char *src_hw,
|
||||
unsigned char *target_hw)
|
||||
const unsigned char *dest_hw, const unsigned char *src_hw,
|
||||
const unsigned char *target_hw)
|
||||
{
|
||||
struct sk_buff *skb;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue