patch-2.4.22 linux-2.4.22/drivers/net/arcnet/rfc1201.c
Next file: linux-2.4.22/drivers/net/atari_pamsnet.c
Previous file: linux-2.4.22/drivers/net/arcnet/arcnet.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
2003-08-25 04:44:42.000000000 -0700
- Orig file:
linux-2.4.21/drivers/net/arcnet/rfc1201.c
- Orig date:
2003-06-13 07:51:34.000000000 -0700
diff -urN linux-2.4.21/drivers/net/arcnet/rfc1201.c linux-2.4.22/drivers/net/arcnet/rfc1201.c
@@ -56,6 +56,7 @@
void __init arcnet_rfc1201_init(void)
{
arc_proto_map[ARC_P_IP]
+ = arc_proto_map[ARC_P_IPV6]
= arc_proto_map[ARC_P_ARP]
= arc_proto_map[ARC_P_RARP]
= arc_proto_map[ARC_P_IPX]
@@ -114,6 +115,8 @@
switch (soft->proto) {
case ARC_P_IP:
return htons(ETH_P_IP);
+ case ARC_P_IPV6:
+ return htons(ETH_P_IPV6);
case ARC_P_ARP:
return htons(ETH_P_ARP);
case ARC_P_RARP:
@@ -388,6 +391,9 @@
case ETH_P_IP:
soft->proto = ARC_P_IP;
break;
+ case ETH_P_IPV6:
+ soft->proto = ARC_P_IPV6;
+ break;
case ETH_P_ARP:
soft->proto = ARC_P_ARP;
break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)