Lines Matching defs:in

141 	struct Incoming *in = &lp->rfc1201.incoming[saddr];
170 if (in->skb) { /* already assembling one! */
172 in->sequence, soft->split_flag,
175 dev_kfree_skb_irq(in->skb);
178 in->skb = NULL;
180 in->sequence = soft->sequence;
257 soft->split_flag, in->sequence);
259 if (in->skb && in->sequence != soft->sequence) {
261 saddr, in->sequence, soft->sequence,
263 dev_kfree_skb_irq(in->skb);
264 in->skb = NULL;
267 in->lastpacket = in->numpackets = 0;
269 if (soft->split_flag & 1) { /* first packet in split */
272 if (in->skb) { /* already assembling one! */
274 in->sequence, soft->split_flag,
278 dev_kfree_skb_irq(in->skb);
280 in->sequence = soft->sequence;
281 in->numpackets = ((unsigned)soft->split_flag >> 1) + 2;
282 in->lastpacket = 1;
284 if (in->numpackets > 16) {
292 in->skb = skb = alloc_skb(508 * in->numpackets + ARC_HDR_SIZE,
314 if (!in->skb) {
325 in->lastpacket++;
327 if (packetnum != in->lastpacket) {
329 if (packetnum <= in->lastpacket - 1) {
338 in->sequence, soft->split_flag,
341 dev_kfree_skb_irq(in->skb);
342 in->skb = NULL;
345 in->lastpacket = in->numpackets = 0;
348 pkt = (struct archdr *)in->skb->data;
352 skb = in->skb;
360 if (in->lastpacket == in->numpackets) {
361 in->skb = NULL;
362 in->lastpacket = in->numpackets = 0;
418 * This is pretty pointless for most purposes, but it can help in
420 * in the actual packet sent.
430 /* FIXME: fill in the last byte of the dest ipaddr here
431 * to better comply with RFC1051 in "noarp" mode.
438 /* otherwise, drop in the dest address */
486 /* hard header is not included in packet length */