patch-2.2.13 linux/include/net/ip.h
Next file: linux/include/net/irda/dongle.h
Previous file: linux/include/linux/videodev.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Tue Oct 19 17:14:02 1999
- Orig file:
v2.2.12/linux/include/net/ip.h
- Orig date:
Tue May 11 10:36:44 1999
diff -u --recursive --new-file v2.2.12/linux/include/net/ip.h linux/include/net/ip.h
@@ -203,6 +203,22 @@
buf[3]=addr&0x7F;
}
+/*
+ * Map a multicast IP onto multicast MAC for type Token Ring.
+ * This conforms to RFC1469 Option 2 Multicasting i.e.
+ * using a functional address to transmit / receive
+ * multicast packets.
+ */
+
+extern __inline__ void ip_tr_mc_map(u32 addr, char *buf)
+{
+ buf[0]=0xC0;
+ buf[1]=0x00;
+ buf[2]=0x00;
+ buf[3]=0x04;
+ buf[4]=0x00;
+ buf[5]=0x00;
+}
extern int ip_call_ra_chain(struct sk_buff *skb);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)