tag | line | file | source code |
rcv | 334 | drivers/net/plip.c | struct plip_local *rcv, |
rcv | 342 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv); |
rcv | 359 | drivers/net/plip.c | struct plip_local *rcv = &nl->rcv_data; |
rcv | 365 | drivers/net/plip.c | if ((r = (*f)(dev, nl, snd, rcv)) != OK |
rcv | 366 | drivers/net/plip.c | && (r = plip_bh_timeout_error(dev, nl, snd, rcv, r)) != OK) { |
rcv | 374 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv, |
rcv | 398 | drivers/net/plip.c | if (rcv->state == PLIP_PK_TRIGGER) { |
rcv | 411 | drivers/net/plip.c | dev->name, rcv->state, c0); |
rcv | 415 | drivers/net/plip.c | rcv->state = PLIP_PK_DONE; |
rcv | 416 | drivers/net/plip.c | if (rcv->skb) { |
rcv | 417 | drivers/net/plip.c | rcv->skb->free = 1; |
rcv | 418 | drivers/net/plip.c | kfree_skb(rcv->skb, FREE_READ); |
rcv | 419 | drivers/net/plip.c | rcv->skb = NULL; |
rcv | 438 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 497 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 503 | drivers/net/plip.c | switch (rcv->state) { |
rcv | 511 | drivers/net/plip.c | rcv->state = PLIP_PK_LENGTH_LSB; |
rcv | 512 | drivers/net/plip.c | rcv->nibble = PLIP_NB_BEGIN; |
rcv | 517 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.lsb)) { |
rcv | 519 | drivers/net/plip.c | rcv->state = PLIP_PK_DONE; |
rcv | 529 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.lsb)) |
rcv | 532 | drivers/net/plip.c | rcv->state = PLIP_PK_LENGTH_MSB; |
rcv | 536 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.msb)) |
rcv | 538 | drivers/net/plip.c | if (rcv->length.h > dev->mtu + dev->hard_header_len |
rcv | 539 | drivers/net/plip.c | || rcv->length.h < 8) { |
rcv | 540 | drivers/net/plip.c | printk("%s: bogus packet size %d.\n", dev->name, rcv->length.h); |
rcv | 544 | drivers/net/plip.c | rcv->skb = dev_alloc_skb(rcv->length.h); |
rcv | 545 | drivers/net/plip.c | if (rcv->skb == NULL) { |
rcv | 549 | drivers/net/plip.c | skb_put(rcv->skb,rcv->length.h); |
rcv | 550 | drivers/net/plip.c | rcv->skb->dev = dev; |
rcv | 551 | drivers/net/plip.c | rcv->state = PLIP_PK_DATA; |
rcv | 552 | drivers/net/plip.c | rcv->byte = 0; |
rcv | 553 | drivers/net/plip.c | rcv->checksum = 0; |
rcv | 556 | drivers/net/plip.c | lbuf = rcv->skb->data; |
rcv | 559 | drivers/net/plip.c | &rcv->nibble, &lbuf[rcv->byte])) |
rcv | 561 | drivers/net/plip.c | while (++rcv->byte < rcv->length.h); |
rcv | 563 | drivers/net/plip.c | rcv->checksum += lbuf[--rcv->byte]; |
rcv | 564 | drivers/net/plip.c | while (rcv->byte); |
rcv | 565 | drivers/net/plip.c | rcv->state = PLIP_PK_CHECKSUM; |
rcv | 569 | drivers/net/plip.c | &rcv->nibble, &rcv->data)) |
rcv | 571 | drivers/net/plip.c | if (rcv->data != rcv->checksum) { |
rcv | 577 | drivers/net/plip.c | rcv->state = PLIP_PK_DONE; |
rcv | 581 | drivers/net/plip.c | rcv->skb->protocol=eth_type_trans(rcv->skb, dev); |
rcv | 582 | drivers/net/plip.c | netif_rx(rcv->skb); |
rcv | 584 | drivers/net/plip.c | rcv->skb = NULL; |
rcv | 661 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 766 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 781 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 809 | drivers/net/plip.c | struct plip_local *rcv = &nl->rcv_data; |
rcv | 837 | drivers/net/plip.c | rcv->state = PLIP_PK_TRIGGER; |
rcv | 983 | drivers/net/plip.c | struct plip_local *rcv = &nl->rcv_data; |
rcv | 1000 | drivers/net/plip.c | rcv->state = PLIP_PK_DONE; |
rcv | 1001 | drivers/net/plip.c | if (rcv->skb) { |
rcv | 1002 | drivers/net/plip.c | rcv->skb->free = 1; |
rcv | 1003 | drivers/net/plip.c | kfree_skb(rcv->skb, FREE_READ); |
rcv | 1004 | drivers/net/plip.c | rcv->skb = NULL; |
rcv | 292 | drivers/net/wic.c | struct wic_local *rcv, |
rcv | 300 | drivers/net/wic.c | struct wic_local *snd, struct wic_local *rcv); |
rcv | 365 | drivers/net/wic.c | struct wic_local *rcv = &nl->rcv_data; |
rcv | 371 | drivers/net/wic.c | if ((r = (*f)(dev, nl, snd, rcv)) != OK |
rcv | 372 | drivers/net/wic.c | && (r = wic_bh_timeout_error(dev, nl, snd, rcv, r)) != OK) { |
rcv | 380 | drivers/net/wic.c | struct wic_local *snd, struct wic_local *rcv, |
rcv | 406 | drivers/net/wic.c | if (rcv->state == WIC_PK_TRIGGER) { |
rcv | 419 | drivers/net/wic.c | dev->name, rcv->state, c0); |
rcv | 423 | drivers/net/wic.c | rcv->state = WIC_PK_DONE; |
rcv | 424 | drivers/net/wic.c | if (rcv->skb) { |
rcv | 425 | drivers/net/wic.c | rcv->skb->free = 1; |
rcv | 426 | drivers/net/wic.c | kfree_skb(rcv->skb, FREE_READ); |
rcv | 427 | drivers/net/wic.c | rcv->skb = NULL; |
rcv | 450 | drivers/net/wic.c | struct wic_local *snd, struct wic_local *rcv) |
rcv | 478 | drivers/net/wic.c | struct wic_local *snd, struct wic_local *rcv) |
rcv | 488 | drivers/net/wic.c | switch (rcv->state) { |
rcv | 500 | drivers/net/wic.c | rcv->state = WIC_PK_LENGTH_LSB; |
rcv | 501 | drivers/net/wic.c | rcv->nibble = WIC_NB_BEGIN; |
rcv | 508 | drivers/net/wic.c | &rcv->nibble, &rcv->length.b.lsb)) { |
rcv | 510 | drivers/net/wic.c | rcv->state = WIC_PK_DONE; |
rcv | 522 | drivers/net/wic.c | &rcv->nibble, &rcv->length.b.lsb)) { |
rcv | 527 | drivers/net/wic.c | rcv->state = WIC_PK_LENGTH_MSB; |
rcv | 533 | drivers/net/wic.c | &rcv->nibble, &rcv->length.b.msb)) { |
rcv | 537 | drivers/net/wic.c | if (rcv->length.h > dev->mtu || rcv->length.h < 8) { |
rcv | 538 | drivers/net/wic.c | printk("%s: bad packet size %d.\n", dev->name, rcv->length.h); |
rcv | 543 | drivers/net/wic.c | rcv->skb = dev_alloc_skb(rcv->length.h); |
rcv | 544 | drivers/net/wic.c | if (rcv->skb == NULL) { |
rcv | 549 | drivers/net/wic.c | skb_put(rcv->skb,rcv->length.h); |
rcv | 550 | drivers/net/wic.c | rcv->skb->dev = dev; |
rcv | 552 | drivers/net/wic.c | rcv->state = WIC_PK_DATA; |
rcv | 553 | drivers/net/wic.c | rcv->byte = 0; |
rcv | 554 | drivers/net/wic.c | rcv->checksum = 0; |
rcv | 560 | drivers/net/wic.c | &rcv->nibble, &junk)) { |
rcv | 565 | drivers/net/wic.c | &rcv->nibble, &junk)) { |
rcv | 573 | drivers/net/wic.c | rcv->length.h); |
rcv | 574 | drivers/net/wic.c | lbuf = rcv->skb->data; |
rcv | 577 | drivers/net/wic.c | &rcv->nibble, &lbuf[rcv->byte])) { |
rcv | 581 | drivers/net/wic.c | } while (++rcv->byte < (rcv->length.h - 4)); |
rcv | 584 | drivers/net/wic.c | if (rcv->length.h & 0x01) |
rcv | 586 | drivers/net/wic.c | &rcv->nibble, &lbuf[rcv->byte]); |
rcv | 589 | drivers/net/wic.c | rcv->checksum += lbuf[--rcv->byte]; |
rcv | 590 | drivers/net/wic.c | } while (rcv->byte); |
rcv | 592 | drivers/net/wic.c | rcv->state = WIC_PK_CHECKSUM; |
rcv | 598 | drivers/net/wic.c | &rcv->nibble, &junk)) { |
rcv | 603 | drivers/net/wic.c | rcv->state = WIC_PK_DONE; |
rcv | 609 | drivers/net/wic.c | netif_rx(rcv->skb); |
rcv | 611 | drivers/net/wic.c | rcv->skb = NULL; |
rcv | 660 | drivers/net/wic.c | struct wic_local *snd, struct wic_local *rcv) |
rcv | 823 | drivers/net/wic.c | struct wic_local *snd, struct wic_local *rcv) |
rcv | 841 | drivers/net/wic.c | struct wic_local *snd, struct wic_local *rcv) |
rcv | 870 | drivers/net/wic.c | struct wic_local *rcv = &nl->rcv_data; |
rcv | 898 | drivers/net/wic.c | rcv->state = WIC_PK_TRIGGER; |
rcv | 1038 | drivers/net/wic.c | struct wic_local *rcv = &nl->rcv_data; |
rcv | 1056 | drivers/net/wic.c | rcv->state = WIC_PK_DONE; |
rcv | 1057 | drivers/net/wic.c | if (rcv->skb) { |
rcv | 1058 | drivers/net/wic.c | rcv->skb->free = 1; |
rcv | 1059 | drivers/net/wic.c | kfree_skb(rcv->skb, FREE_READ); |
rcv | 1060 | drivers/net/wic.c | rcv->skb = NULL; |
rcv | 352 | include/net/sock.h | int (*rcv)(struct sk_buff *buff, struct device *dev, |
rcv | 534 | net/core/sock.c | if (!sk->prot || !sk->prot->rcv) |
rcv | 542 | net/core/sock.c | sk->prot->rcv(skb, skb->dev, (struct options*)skb->proto_priv, |