tag | line | file | source code |
rcv | 327 | drivers/net/plip.c | struct plip_local *rcv, |
rcv | 335 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv); |
rcv | 352 | drivers/net/plip.c | struct plip_local *rcv = &nl->rcv_data; |
rcv | 358 | drivers/net/plip.c | if ((r = (*f)(dev, nl, snd, rcv)) != OK |
rcv | 359 | drivers/net/plip.c | && (r = plip_bh_timeout_error(dev, nl, snd, rcv, r)) != OK) { |
rcv | 367 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv, |
rcv | 391 | drivers/net/plip.c | if (rcv->state == PLIP_PK_TRIGGER) { |
rcv | 404 | drivers/net/plip.c | dev->name, rcv->state, c0); |
rcv | 408 | drivers/net/plip.c | rcv->state = PLIP_PK_DONE; |
rcv | 409 | drivers/net/plip.c | if (rcv->skb) { |
rcv | 410 | drivers/net/plip.c | rcv->skb->free = 1; |
rcv | 411 | drivers/net/plip.c | kfree_skb(rcv->skb, FREE_READ); |
rcv | 412 | drivers/net/plip.c | rcv->skb = NULL; |
rcv | 431 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 490 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 496 | drivers/net/plip.c | switch (rcv->state) { |
rcv | 504 | drivers/net/plip.c | rcv->state = PLIP_PK_LENGTH_LSB; |
rcv | 505 | drivers/net/plip.c | rcv->nibble = PLIP_NB_BEGIN; |
rcv | 510 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.lsb)) { |
rcv | 512 | drivers/net/plip.c | rcv->state = PLIP_PK_DONE; |
rcv | 522 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.lsb)) |
rcv | 525 | drivers/net/plip.c | rcv->state = PLIP_PK_LENGTH_MSB; |
rcv | 529 | drivers/net/plip.c | &rcv->nibble, &rcv->length.b.msb)) |
rcv | 531 | drivers/net/plip.c | if (rcv->length.h > dev->mtu || rcv->length.h < 8) { |
rcv | 532 | drivers/net/plip.c | printk("%s: bogus packet size %d.\n", dev->name, rcv->length.h); |
rcv | 536 | drivers/net/plip.c | rcv->skb = alloc_skb(rcv->length.h, GFP_ATOMIC); |
rcv | 537 | drivers/net/plip.c | if (rcv->skb == NULL) { |
rcv | 541 | drivers/net/plip.c | rcv->skb->len = rcv->length.h; |
rcv | 542 | drivers/net/plip.c | rcv->skb->dev = dev; |
rcv | 543 | drivers/net/plip.c | rcv->state = PLIP_PK_DATA; |
rcv | 544 | drivers/net/plip.c | rcv->byte = 0; |
rcv | 545 | drivers/net/plip.c | rcv->checksum = 0; |
rcv | 548 | drivers/net/plip.c | lbuf = rcv->skb->data; |
rcv | 551 | drivers/net/plip.c | &rcv->nibble, &lbuf[rcv->byte])) |
rcv | 553 | drivers/net/plip.c | while (++rcv->byte < rcv->length.h); |
rcv | 555 | drivers/net/plip.c | rcv->checksum += lbuf[--rcv->byte]; |
rcv | 556 | drivers/net/plip.c | while (rcv->byte); |
rcv | 557 | drivers/net/plip.c | rcv->state = PLIP_PK_CHECKSUM; |
rcv | 561 | drivers/net/plip.c | &rcv->nibble, &rcv->data)) |
rcv | 563 | drivers/net/plip.c | if (rcv->data != rcv->checksum) { |
rcv | 569 | drivers/net/plip.c | rcv->state = PLIP_PK_DONE; |
rcv | 573 | drivers/net/plip.c | netif_rx(rcv->skb); |
rcv | 575 | drivers/net/plip.c | rcv->skb = NULL; |
rcv | 650 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 752 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 767 | drivers/net/plip.c | struct plip_local *snd, struct plip_local *rcv) |
rcv | 795 | drivers/net/plip.c | struct plip_local *rcv = &nl->rcv_data; |
rcv | 823 | drivers/net/plip.c | rcv->state = PLIP_PK_TRIGGER; |
rcv | 969 | drivers/net/plip.c | struct plip_local *rcv = &nl->rcv_data; |
rcv | 986 | drivers/net/plip.c | rcv->state = PLIP_PK_DONE; |
rcv | 987 | drivers/net/plip.c | if (rcv->skb) { |
rcv | 988 | drivers/net/plip.c | rcv->skb->free = 1; |
rcv | 989 | drivers/net/plip.c | kfree_skb(rcv->skb, FREE_READ); |
rcv | 990 | drivers/net/plip.c | rcv->skb = NULL; |
rcv | 556 | net/inet/sock.c | if (sk->prot->rcv) |
rcv | 557 | net/inet/sock.c | sk->prot->rcv(skb, skb->dev, sk->opt, |
rcv | 240 | net/inet/sock.h | int (*rcv)(struct sk_buff *buff, struct device *dev, |