tag | line | file | source code |
rcv | 339 | drivers/net/plip.c | struct plip_local *rcv, |
rcv | 347 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv); |
rcv | 364 | drivers/net/plip.c | struct plip_local *rcv = &nl->rcv_data; |
rcv | 370 | drivers/net/plip.c | if ((r = (*f)(dev, nl, snd, rcv)) != OK |
rcv | 371 | drivers/net/plip.c | && (r = plip_bh_timeout_error(dev, nl, snd, rcv, r)) != OK) { |
rcv | 379 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv, |
rcv | 403 | drivers/net/plip.c | if (rcv->state == PLIP_PK_TRIGGER) { |
rcv | 416 | drivers/net/plip.c | dev->name, rcv->state, c0); |
rcv | 420 | drivers/net/plip.c | rcv->state = PLIP_PK_DONE; |
rcv | 421 | drivers/net/plip.c | if (rcv->skb) { |
rcv | 422 | drivers/net/plip.c | rcv->skb->free = 1; |
rcv | 423 | drivers/net/plip.c | kfree_skb(rcv->skb, FREE_READ); |
rcv | 424 | drivers/net/plip.c | rcv->skb = NULL; |
rcv | 443 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 502 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 508 | drivers/net/plip.c | switch (rcv->state) { |
rcv | 516 | drivers/net/plip.c | rcv->state = PLIP_PK_LENGTH_LSB; |
rcv | 517 | drivers/net/plip.c | rcv->nibble = PLIP_NB_BEGIN; |
rcv | 522 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.lsb)) { |
rcv | 524 | drivers/net/plip.c | rcv->state = PLIP_PK_DONE; |
rcv | 534 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.lsb)) |
rcv | 537 | drivers/net/plip.c | rcv->state = PLIP_PK_LENGTH_MSB; |
rcv | 541 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.msb)) |
rcv | 543 | drivers/net/plip.c | if (rcv->length.h > dev->mtu + dev->hard_header_len |
rcv | 544 | drivers/net/plip.c | || rcv->length.h < 8) { |
rcv | 545 | drivers/net/plip.c | printk("%s: bogus packet size %d.\n", dev->name, rcv->length.h); |
rcv | 549 | drivers/net/plip.c | rcv->skb = dev_alloc_skb(rcv->length.h); |
rcv | 550 | drivers/net/plip.c | if (rcv->skb == NULL) { |
rcv | 554 | drivers/net/plip.c | skb_put(rcv->skb,rcv->length.h); |
rcv | 555 | drivers/net/plip.c | rcv->skb->dev = dev; |
rcv | 556 | drivers/net/plip.c | rcv->state = PLIP_PK_DATA; |
rcv | 557 | drivers/net/plip.c | rcv->byte = 0; |
rcv | 558 | drivers/net/plip.c | rcv->checksum = 0; |
rcv | 561 | drivers/net/plip.c | lbuf = rcv->skb->data; |
rcv | 564 | drivers/net/plip.c | &rcv->nibble, &lbuf[rcv->byte])) |
rcv | 566 | drivers/net/plip.c | while (++rcv->byte < rcv->length.h); |
rcv | 568 | drivers/net/plip.c | rcv->checksum += lbuf[--rcv->byte]; |
rcv | 569 | drivers/net/plip.c | while (rcv->byte); |
rcv | 570 | drivers/net/plip.c | rcv->state = PLIP_PK_CHECKSUM; |
rcv | 574 | drivers/net/plip.c | &rcv->nibble, &rcv->data)) |
rcv | 576 | drivers/net/plip.c | if (rcv->data != rcv->checksum) { |
rcv | 582 | drivers/net/plip.c | rcv->state = PLIP_PK_DONE; |
rcv | 586 | drivers/net/plip.c | rcv->skb->protocol=eth_type_trans(rcv->skb, dev); |
rcv | 587 | drivers/net/plip.c | netif_rx(rcv->skb); |
rcv | 589 | drivers/net/plip.c | rcv->skb = NULL; |
rcv | 665 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 770 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 785 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 813 | drivers/net/plip.c | struct plip_local *rcv = &nl->rcv_data; |
rcv | 841 | drivers/net/plip.c | rcv->state = PLIP_PK_TRIGGER; |
rcv | 987 | drivers/net/plip.c | struct plip_local *rcv = &nl->rcv_data; |
rcv | 1004 | drivers/net/plip.c | rcv->state = PLIP_PK_DONE; |
rcv | 1005 | drivers/net/plip.c | if (rcv->skb) { |
rcv | 1006 | drivers/net/plip.c | rcv->skb->free = 1; |
rcv | 1007 | drivers/net/plip.c | kfree_skb(rcv->skb, FREE_READ); |
rcv | 1008 | drivers/net/plip.c | rcv->skb = NULL; |
rcv | 294 | include/net/sock.h | int (*rcv)(struct sk_buff *buff, struct device *dev, |
rcv | 555 | net/core/sock.c | if (sk->prot->rcv) |
rcv | 556 | net/core/sock.c | sk->prot->rcv(skb, skb->dev, (struct options*)skb->proto_priv, |