Lines Matching refs:data
76 struct hdlc_header *data;
82 data = (struct hdlc_header*)skb->data;
84 data->address = CISCO_MULTICAST;
86 data->address = CISCO_UNICAST;
87 data->control = 0;
88 data->protocol = htons(type);
99 struct cisco_packet *data;
109 data = (struct cisco_packet*)(skb->data + 4);
111 data->type = htonl(type);
112 data->par1 = par1;
113 data->par2 = par2;
114 data->rel = cpu_to_be16(0xFFFF);
116 data->time = htonl((jiffies - INITIAL_JIFFIES) * (1000 / HZ));
131 struct hdlc_header *data = (struct hdlc_header*)skb->data;
136 if (data->address != CISCO_MULTICAST &&
137 data->address != CISCO_UNICAST)
140 switch (data->protocol) {
145 return data->protocol;
157 struct hdlc_header *data = (struct hdlc_header*)skb->data;
166 if (data->address != CISCO_MULTICAST &&
167 data->address != CISCO_UNICAST)
170 switch (ntohs(data->protocol)) {
186 cisco_data = (struct cisco_packet*)(skb->data + sizeof
246 netdev_info(dev, "Unsupported protocol %x\n", ntohs(data->protocol));
341 ifr->ifr_settings.size = size; /* data size wanted */