Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f74998e authored by Ralf Baechle's avatar Ralf Baechle Committed by David S. Miller
Browse files

[AX.25]: Rename ax25_encapsulate to ax25_hard_header



Rename ax25_encapsulate to ax25_hard_header which these days more
accurately describes what the function is supposed to do.

Signed-off-by: default avatarRalf Baechle DL5RB <ralf@linux-mips.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c4bc7ee2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -293,7 +293,7 @@ static int sp_header(struct sk_buff *skb, struct net_device *dev,
{
#ifdef CONFIG_INET
	if (type != htons(ETH_P_AX25))
		return ax25_encapsulate(skb, dev, type, daddr, saddr, len);
		return ax25_hard_header(skb, dev, type, daddr, saddr, len);
#endif
	return 0;
}
+1 −1
Original line number Diff line number Diff line
@@ -1171,7 +1171,7 @@ static void baycom_probe(struct net_device *dev)
	/* Fill in the fields of the device structure */
	bc->skb = NULL;
	
	dev->hard_header = ax25_encapsulate;
	dev->hard_header = ax25_hard_header;
	dev->rebuild_header = ax25_rebuild_header;
	dev->set_mac_address = baycom_set_mac_address;
	
+1 −1
Original line number Diff line number Diff line
@@ -488,7 +488,7 @@ static void bpq_setup(struct net_device *dev)
	dev->flags      = 0;

#if defined(CONFIG_AX25) || defined(CONFIG_AX25_MODULE)
	dev->hard_header     = ax25_encapsulate;
	dev->hard_header     = ax25_hard_header;
	dev->rebuild_header  = ax25_rebuild_header;
#endif

+1 −1
Original line number Diff line number Diff line
@@ -600,7 +600,7 @@ static int __init setup_adapter(int card_base, int type, int n)
		dev->do_ioctl = scc_ioctl;
		dev->hard_start_xmit = scc_send_packet;
		dev->get_stats = scc_get_stats;
		dev->hard_header = ax25_encapsulate;
		dev->hard_header = ax25_hard_header;
		dev->rebuild_header = ax25_rebuild_header;
		dev->set_mac_address = scc_set_mac_address;
	}
+1 −1
Original line number Diff line number Diff line
@@ -701,7 +701,7 @@ static void hdlcdrv_setup(struct net_device *dev)

	s->skb = NULL;
	
	dev->hard_header = ax25_encapsulate;
	dev->hard_header = ax25_hard_header;
	dev->rebuild_header = ax25_rebuild_header;
	dev->set_mac_address = hdlcdrv_set_mac_address;
	
Loading