tag | line | file | source code |
rcv | 333 | drivers/net/plip.c | struct plip_local *rcv, |
rcv | 341 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv); |
rcv | 358 | drivers/net/plip.c | struct plip_local *rcv = &nl->rcv_data; |
rcv | 364 | drivers/net/plip.c | if ((r = (*f)(dev, nl, snd, rcv)) != OK |
rcv | 365 | drivers/net/plip.c | && (r = plip_bh_timeout_error(dev, nl, snd, rcv, r)) != OK) { |
rcv | 373 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv, |
rcv | 397 | drivers/net/plip.c | if (rcv->state == PLIP_PK_TRIGGER) { |
rcv | 410 | drivers/net/plip.c | dev->name, rcv->state, c0); |
rcv | 414 | drivers/net/plip.c | rcv->state = PLIP_PK_DONE; |
rcv | 415 | drivers/net/plip.c | if (rcv->skb) { |
rcv | 416 | drivers/net/plip.c | rcv->skb->free = 1; |
rcv | 417 | drivers/net/plip.c | kfree_skb(rcv->skb, FREE_READ); |
rcv | 418 | drivers/net/plip.c | rcv->skb = NULL; |
rcv | 437 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 496 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 502 | drivers/net/plip.c | switch (rcv->state) { |
rcv | 510 | drivers/net/plip.c | rcv->state = PLIP_PK_LENGTH_LSB; |
rcv | 511 | drivers/net/plip.c | rcv->nibble = PLIP_NB_BEGIN; |
rcv | 516 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.lsb)) { |
rcv | 518 | drivers/net/plip.c | rcv->state = PLIP_PK_DONE; |
rcv | 528 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.lsb)) |
rcv | 531 | drivers/net/plip.c | rcv->state = PLIP_PK_LENGTH_MSB; |
rcv | 535 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.msb)) |
rcv | 537 | drivers/net/plip.c | if (rcv->length.h > dev->mtu + dev->hard_header_len |
rcv | 538 | drivers/net/plip.c | || rcv->length.h < 8) { |
rcv | 539 | drivers/net/plip.c | printk("%s: bogus packet size %d.\n", dev->name, rcv->length.h); |
rcv | 543 | drivers/net/plip.c | rcv->skb = dev_alloc_skb(rcv->length.h); |
rcv | 544 | drivers/net/plip.c | if (rcv->skb == NULL) { |
rcv | 548 | drivers/net/plip.c | skb_put(rcv->skb,rcv->length.h); |
rcv | 549 | drivers/net/plip.c | rcv->skb->dev = dev; |
rcv | 550 | drivers/net/plip.c | rcv->state = PLIP_PK_DATA; |
rcv | 551 | drivers/net/plip.c | rcv->byte = 0; |
rcv | 552 | drivers/net/plip.c | rcv->checksum = 0; |
rcv | 555 | drivers/net/plip.c | lbuf = rcv->skb->data; |
rcv | 558 | drivers/net/plip.c | &rcv->nibble, &lbuf[rcv->byte])) |
rcv | 560 | drivers/net/plip.c | while (++rcv->byte < rcv->length.h); |
rcv | 562 | drivers/net/plip.c | rcv->checksum += lbuf[--rcv->byte]; |
rcv | 563 | drivers/net/plip.c | while (rcv->byte); |
rcv | 564 | drivers/net/plip.c | rcv->state = PLIP_PK_CHECKSUM; |
rcv | 568 | drivers/net/plip.c | &rcv->nibble, &rcv->data)) |
rcv | 570 | drivers/net/plip.c | if (rcv->data != rcv->checksum) { |
rcv | 576 | drivers/net/plip.c | rcv->state = PLIP_PK_DONE; |
rcv | 580 | drivers/net/plip.c | rcv->skb->protocol=eth_type_trans(rcv->skb, dev); |
rcv | 581 | drivers/net/plip.c | netif_rx(rcv->skb); |
rcv | 583 | drivers/net/plip.c | rcv->skb = NULL; |
rcv | 659 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 764 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 779 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 807 | drivers/net/plip.c | struct plip_local *rcv = &nl->rcv_data; |
rcv | 835 | drivers/net/plip.c | rcv->state = PLIP_PK_TRIGGER; |
rcv | 981 | drivers/net/plip.c | struct plip_local *rcv = &nl->rcv_data; |
rcv | 998 | drivers/net/plip.c | rcv->state = PLIP_PK_DONE; |
rcv | 999 | drivers/net/plip.c | if (rcv->skb) { |
rcv | 1000 | drivers/net/plip.c | rcv->skb->free = 1; |
rcv | 1001 | drivers/net/plip.c | kfree_skb(rcv->skb, FREE_READ); |
rcv | 1002 | drivers/net/plip.c | rcv->skb = NULL; |
rcv | 287 | 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, |