if (op_mode == WANPIPE){  
if (op_mode == WANPIPE) { 
static int setup_fr_header(struct sk_buff **skb_orig, struct net_device* dev,			   char op_mode){	struct sk_buff *skb = *skb_orig;	fr_channel_t *chan=dev->priv;	if (op_mode == WANPIPE){		chan->fr_header[0]=Q922_UI;				switch (htons(skb->protocol)){					case ETH_P_IP:			chan->fr_header[1]=NLPID_IP;			break;		default:			return -EINVAL;		}					return 2;	}	/* If we are in bridging mode, we must apply	 * an Ethernet header */	if (op_mode == BRIDGE || op_mode == BRIDGE_NODE){		/* Encapsulate the packet as a bridged Ethernet frame. */#ifdef DEBUG		printk(KERN_INFO "%s: encapsulating skb for frame relay\n", 			dev->name);#endif				chan->fr_header[0] = 0x03;		chan->fr_header[1] = 0x00;		chan->fr_header[2] = 0x80;		chan->fr_header[3] = 0x00;		chan->fr_header[4] = 0x80;		chan->fr_header[5] = 0xC2;		chan->fr_header[6] = 0x00;		chan->fr_header[7] = 0x07;		/* Yuck. */		skb->protocol = ETH_P_802_3;		return 8;	}			return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/8728b834b226ffcf2c94a58530090e292af2a7bf/sdla_fr.c/buggy/drivers/net/wan/sdla_fr.c