Lines Matching refs:in

142 	struct Incoming *in = &lp->rfc1201.incoming[saddr];
170 if (in->skb) { /* already assembling one! */
172 in->sequence, soft->split_flag, soft->sequence);
174 dev_kfree_skb_irq(in->skb);
177 in->skb = NULL;
179 in->sequence = soft->sequence;
252 soft->split_flag, in->sequence);
254 if (in->skb && in->sequence != soft->sequence) {
256 saddr, in->sequence, soft->sequence,
258 dev_kfree_skb_irq(in->skb);
259 in->skb = NULL;
262 in->lastpacket = in->numpackets = 0;
264 if (soft->split_flag & 1) { /* first packet in split */
267 if (in->skb) { /* already assembling one! */
270 in->sequence, soft->split_flag,
274 dev_kfree_skb_irq(in->skb);
276 in->sequence = soft->sequence;
277 in->numpackets = ((unsigned) soft->split_flag >> 1) + 2;
278 in->lastpacket = 1;
280 if (in->numpackets > 16) {
288 in->skb = skb = alloc_skb(508 * in->numpackets + ARC_HDR_SIZE,
311 if (!in->skb) {
322 in->lastpacket++;
323 if (packetnum != in->lastpacket) { /* not the right flag! */
325 if (packetnum <= in->lastpacket - 1) {
335 in->sequence, soft->split_flag, soft->sequence);
337 dev_kfree_skb_irq(in->skb);
338 in->skb = NULL;
341 in->lastpacket = in->numpackets = 0;
344 pkt = (struct archdr *) in->skb->data;
348 skb = in->skb;
356 if (in->lastpacket == in->numpackets) {
357 in->skb = NULL;
358 in->lastpacket = in->numpackets = 0;
415 * This is pretty pointless for most purposes, but it can help in
416 * debugging. ARCnet does not allow us to change the source address in
428 * FIXME: fill in the last byte of the dest ipaddr here to better
429 * comply with RFC1051 in "noarp" mode. For now, always broadcasting
435 /* otherwise, drop in the dest address */
485 length -= ARC_HDR_SIZE; /* hard header is not included in packet length */