patch-2.1.73 linux/include/net/llc.h

Next file: linux/include/net/tcp.h
Previous file: linux/include/net/ip_portfw.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.72/linux/include/net/llc.h linux/include/net/llc.h
@@ -13,6 +13,7 @@
 { 
 	char eye[4];			/* To recognize llc area in dump */
 	int retry_count;		/* LLC link state variables */
+	unsigned char name[9];		/* name of this llc instance */
 	unsigned char s_flag;
 	unsigned char p_flag;
 	unsigned char f_flag;
@@ -68,9 +69,7 @@
 	char * client_data;		/* Pointer to clients context */
 	unsigned char local_sap;
 	unsigned char remote_sap ;
-	char remote_mac[MAX_ADDR_LEN];  /* MAC address of remote session partner */
-	int  remote_mac_len;		/* Actual length of mac address */
-	int  mac_offset;		/* Source mac offset in skb */ 
+	char remote_mac[MAX_ADDR_LEN];  /* MAC address of remote session partner */ 
 	struct device *dev;		/* Device we are attached to */
 		     
 	unsigned char llc_mode;		/* See doc 7.1 on p70 */
@@ -132,3 +131,5 @@
 
 int		register_cl2llc_client(llcptr llc, const char *device, void (*ops)(llcptr), u8 *rmac, u8 ssap, u8 dsap);
 void		unregister_cl2llc_client(llcptr lp);
+int 		llc_mac_data_indicate(llcptr lp, struct sk_buff *skb );
+

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov