tag | line | file | source code |
buff | 365 | kernel/blk_drv/scsi/aha1542.c | void *buff = SCpnt->request_buffer; |
buff | 484 | kernel/blk_drv/scsi/aha1542.c | any2scsi(ccb[mbo].dataptr, buff); |
buff | 242 | kernel/blk_drv/scsi/aha1740.c | void *buff = SCpnt->request_buffer; |
buff | 338 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].dataptr = (long) buff; |
buff | 1041 | kernel/blk_drv/scsi/fdomain.c | void *buff = SCpnt->request_buffer; |
buff | 1212 | kernel/blk_drv/scsi/fdomain.c | if ((unsigned char)(*((char *)buff + 2)) & 0x0f) { |
buff | 1214 | kernel/blk_drv/scsi/fdomain.c | (unsigned char)(*((char *)buff + 2)) & 0x0f, |
buff | 1215 | kernel/blk_drv/scsi/fdomain.c | (unsigned char)(*((char *)buff + 12)) ); |
buff | 143 | kernel/blk_drv/scsi/scsi_debug.c | unsigned char * buff; |
buff | 155 | kernel/blk_drv/scsi/scsi_debug.c | buff = (unsigned char *) SCpnt->request_buffer; |
buff | 168 | kernel/blk_drv/scsi/scsi_debug.c | printk("scsi_debug: Requesting sense buffer (%x %x %x %d):", SCpnt, buff, done, bufflen); |
buff | 173 | kernel/blk_drv/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
buff | 174 | kernel/blk_drv/scsi/scsi_debug.c | memcpy(buff, sense_buffer, bufflen); |
buff | 185 | kernel/blk_drv/scsi/scsi_debug.c | printk("Inquiry...(%x %d)\n", buff, bufflen); |
buff | 186 | kernel/blk_drv/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
buff | 187 | kernel/blk_drv/scsi/scsi_debug.c | buff[0] = TYPE_DISK; |
buff | 188 | kernel/blk_drv/scsi/scsi_debug.c | buff[1] = 0x80; /* Removable disk */ |
buff | 189 | kernel/blk_drv/scsi/scsi_debug.c | buff[2] = 1; |
buff | 190 | kernel/blk_drv/scsi/scsi_debug.c | memcpy(&buff[8],"Foo Inc",7); |
buff | 191 | kernel/blk_drv/scsi/scsi_debug.c | memcpy(&buff[16],"XYZZY",5); |
buff | 192 | kernel/blk_drv/scsi/scsi_debug.c | memcpy(&buff[32],"1",1); |
buff | 197 | kernel/blk_drv/scsi/scsi_debug.c | if (buff) |
buff | 198 | kernel/blk_drv/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
buff | 204 | kernel/blk_drv/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
buff | 205 | kernel/blk_drv/scsi/scsi_debug.c | buff[0] = (CAPACITY >> 24); |
buff | 206 | kernel/blk_drv/scsi/scsi_debug.c | buff[1] = (CAPACITY >> 16) & 0xff; |
buff | 207 | kernel/blk_drv/scsi/scsi_debug.c | buff[2] = (CAPACITY >> 8) & 0xff; |
buff | 208 | kernel/blk_drv/scsi/scsi_debug.c | buff[3] = CAPACITY & 0xff; |
buff | 209 | kernel/blk_drv/scsi/scsi_debug.c | buff[6] = 2; /* 512 byte sectors */ |
buff | 226 | kernel/blk_drv/scsi/scsi_debug.c | sgpnt = (struct scatterlist *) buff; |
buff | 227 | kernel/blk_drv/scsi/scsi_debug.c | buff = sgpnt[sgcount].address; |
buff | 234 | kernel/blk_drv/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
buff | 238 | kernel/blk_drv/scsi/scsi_debug.c | *((unsigned short *) (buff+510)) = 0xAA55; |
buff | 239 | kernel/blk_drv/scsi/scsi_debug.c | p = (struct partition* ) (buff + 0x1be); |
buff | 273 | kernel/blk_drv/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
buff | 274 | kernel/blk_drv/scsi/scsi_debug.c | memcpy(buff, &target, sizeof(target)); |
buff | 275 | kernel/blk_drv/scsi/scsi_debug.c | memcpy(buff+sizeof(target), cmd, 24); |
buff | 276 | kernel/blk_drv/scsi/scsi_debug.c | memcpy(buff+60, &block, sizeof(block)); |
buff | 277 | kernel/blk_drv/scsi/scsi_debug.c | memcpy(buff+64, SCpnt, sizeof(Scsi_Cmnd)); |
buff | 280 | kernel/blk_drv/scsi/scsi_debug.c | memcpy(buff+128, bh, sizeof(struct buffer_head)); |
buff | 286 | kernel/blk_drv/scsi/scsi_debug.c | buff = sgpnt[sgcount].address; |
buff | 308 | kernel/blk_drv/scsi/scsi_debug.c | sgpnt = (struct scatterlist *) buff; |
buff | 309 | kernel/blk_drv/scsi/scsi_debug.c | buff = sgpnt[sgcount].address; |
buff | 312 | kernel/blk_drv/scsi/scsi_debug.c | if (block != *((unsigned long *) (buff+60))) { |
buff | 313 | kernel/blk_drv/scsi/scsi_debug.c | printk("%x %x :",block, *((unsigned long *) (buff+60))); |
buff | 391 | kernel/blk_drv/scsi/sd.c | char * buff; |
buff | 454 | kernel/blk_drv/scsi/sd.c | buff = SCpnt->request.buffer; |
buff | 474 | kernel/blk_drv/scsi/sd.c | buff = SCpnt->request.buffer; |
buff | 503 | kernel/blk_drv/scsi/sd.c | buff = SCpnt->request.buffer; |
buff | 505 | kernel/blk_drv/scsi/sd.c | buff = (char *) sgpnt; |
buff | 536 | kernel/blk_drv/scsi/sd.c | buff = SCpnt->request.buffer; |
buff | 538 | kernel/blk_drv/scsi/sd.c | scsi_free(buff, SCpnt->sglist_len); |
buff | 553 | kernel/blk_drv/scsi/sd.c | if (((int) buff) + (this_count << 9) > ISA_DMA_THRESHOLD && |
buff | 555 | kernel/blk_drv/scsi/sd.c | buff = scsi_malloc(this_count << 9); |
buff | 556 | kernel/blk_drv/scsi/sd.c | if(buff == NULL) panic("Ran out of DMA buffers."); |
buff | 558 | kernel/blk_drv/scsi/sd.c | memcpy(buff, (char *)SCpnt->request.buffer, this_count << 9); |
buff | 617 | kernel/blk_drv/scsi/sd.c | scsi_do_cmd (SCpnt, (void *) cmd, buff, |
buff | 44 | kernel/blk_drv/scsi/seagate.c | void *buff, int bufflen, int reselect); |
buff | 453 | kernel/blk_drv/scsi/seagate.c | void *buff, int bufflen, int reselect) { |
buff | 610 | kernel/chr_drv/console.c | char buff[3]; |
buff | 614 | kernel/chr_drv/console.c | buff[i++] = (n%10)+'0'; |
buff | 618 | kernel/chr_drv/console.c | put_tty_queue(buff[i], &tty->read_q); |
buff | 62 | net/kern_sock.h | int (*send)(struct socket *sock, void *buff, int len, int nonblock, |
buff | 64 | net/kern_sock.h | int (*recv)(struct socket *sock, void *buff, int len, int nonblock, |
buff | 66 | net/kern_sock.h | int (*sendto)(struct socket *sock, void *buff, int len, int nonblock, |
buff | 68 | net/kern_sock.h | int (*recvfrom)(struct socket *sock, void *buff, int len, int nonblock, |
buff | 680 | net/socket.c | sys_send( int fd, void * buff, int len, unsigned flags) |
buff | 686 | net/socket.c | fd, buff, len, flags)); |
buff | 694 | net/socket.c | return (sock->ops->send (sock, buff, len, (file->f_flags & O_NONBLOCK), |
buff | 700 | net/socket.c | sys_sendto( int fd, void * buff, int len, unsigned flags, |
buff | 707 | net/socket.c | " addr=%X, alen = %d\n", fd, buff, len, flags, addr, addr_len)); |
buff | 715 | net/socket.c | return (sock->ops->sendto (sock, buff, len, |
buff | 723 | net/socket.c | sys_recv( int fd, void * buff, int len, unsigned flags) |
buff | 729 | net/socket.c | fd, buff, len, flags)); |
buff | 737 | net/socket.c | return (sock->ops->recv (sock, buff, len,(file->f_flags & O_NONBLOCK), |
buff | 743 | net/socket.c | sys_recvfrom( int fd, void * buff, int len, unsigned flags, |
buff | 750 | net/socket.c | " addr=%X, alen=%X\n", fd, buff, len, flags, addr, addr_len)); |
buff | 758 | net/socket.c | return (sock->ops->recvfrom (sock, buff, len, |
buff | 256 | net/tcp/dev.c | dev_rint(unsigned char *buff, long len, int flags, |
buff | 263 | net/tcp/dev.c | if (dev == NULL || buff == NULL || len <= 0) return (1); |
buff | 267 | net/tcp/dev.c | skb = (struct sk_buff *)buff; |
buff | 286 | net/tcp/dev.c | (unsigned long) buff); |
buff | 287 | net/tcp/dev.c | memcpy (to, buff, amount); |
buff | 289 | net/tcp/dev.c | buff += amount; |
buff | 291 | net/tcp/dev.c | if ((unsigned long)buff == dev->rmem_end) |
buff | 292 | net/tcp/dev.c | buff = (unsigned char *)dev->rmem_start; |
buff | 80 | net/tcp/dev.h | int (*hard_header) (unsigned char *buff, struct device *dev, |
buff | 119 | net/tcp/dev.h | int dev_rint (unsigned char *buff, long len, int flags, struct device *dev); |
buff | 88 | net/tcp/eth.c | eth_hard_header (unsigned char *buff, struct device *dev, |
buff | 93 | net/tcp/eth.c | eth = (struct enet_header *)buff; |
buff | 113 | net/tcp/eth.c | eth_rebuild_header (void *buff, struct device *dev) |
buff | 116 | net/tcp/eth.c | eth = buff; |
buff | 94 | net/tcp/eth.h | int eth_hard_header (unsigned char *buff, struct device *dev, |
buff | 185 | net/tcp/icmp.c | unsigned char *buff; |
buff | 196 | net/tcp/icmp.c | buff = skb1->h.raw; |
buff | 198 | net/tcp/icmp.c | icmph = (struct icmp_header *)buff; |
buff | 520 | net/tcp/ip.c | unsigned char *buff; |
buff | 528 | net/tcp/ip.c | buff = (unsigned char *)(skb + 1); |
buff | 551 | net/tcp/ip.c | tmp = (*dev)->hard_header(buff, *dev, ETHERTYPE_IP, raddr, saddr, len); |
buff | 566 | net/tcp/ip.c | buff += tmp; |
buff | 570 | net/tcp/ip.c | iph = (struct ip_header *)buff; |
buff | 587 | net/tcp/ip.c | unsigned char *buff; |
buff | 603 | net/tcp/ip.c | buff = (unsigned char *)(iph + 1); |
buff | 608 | net/tcp/ip.c | switch (*buff) |
buff | 615 | net/tcp/ip.c | buff++; |
buff | 620 | net/tcp/ip.c | buff++; |
buff | 621 | net/tcp/ip.c | if (*buff != 11) |
buff | 623 | net/tcp/ip.c | buff++; |
buff | 624 | net/tcp/ip.c | opt->security = net16(*(unsigned short *)buff); |
buff | 625 | net/tcp/ip.c | buff += 2; |
buff | 626 | net/tcp/ip.c | opt->compartment = net16(*(unsigned short *)buff); |
buff | 627 | net/tcp/ip.c | buff += 2; |
buff | 628 | net/tcp/ip.c | opt-> handling = net16(*(unsigned short *)buff); |
buff | 629 | net/tcp/ip.c | buff += 2; |
buff | 630 | net/tcp/ip.c | opt->tcc = ((*buff) << 16) + net16(*(unsigned short *)(buff+1)); |
buff | 631 | net/tcp/ip.c | buff += 3; |
buff | 636 | net/tcp/ip.c | buff ++; |
buff | 637 | net/tcp/ip.c | if ((*buff - 3)% 4 != 0) return (1); |
buff | 638 | net/tcp/ip.c | len += *buff; |
buff | 639 | net/tcp/ip.c | opt->loose_route.route_size = (*buff -3)/4; |
buff | 640 | net/tcp/ip.c | buff ++; |
buff | 641 | net/tcp/ip.c | if (*buff % 4 != 0) return (1); |
buff | 642 | net/tcp/ip.c | opt->loose_route.pointer = *buff/4 - 1; |
buff | 643 | net/tcp/ip.c | buff ++; |
buff | 644 | net/tcp/ip.c | buff ++; |
buff | 647 | net/tcp/ip.c | opt->loose_route.route[i]=*(unsigned long *)buff; |
buff | 648 | net/tcp/ip.c | buff += 4; |
buff | 654 | net/tcp/ip.c | buff ++; |
buff | 655 | net/tcp/ip.c | if ((*buff - 3)% 4 != 0) return (1); |
buff | 656 | net/tcp/ip.c | len += *buff; |
buff | 657 | net/tcp/ip.c | opt->strict_route.route_size = (*buff -3)/4; |
buff | 658 | net/tcp/ip.c | buff ++; |
buff | 659 | net/tcp/ip.c | if (*buff % 4 != 0) return (1); |
buff | 660 | net/tcp/ip.c | opt->strict_route.pointer = *buff/4 - 1; |
buff | 661 | net/tcp/ip.c | buff ++; |
buff | 662 | net/tcp/ip.c | buff ++; |
buff | 665 | net/tcp/ip.c | opt->strict_route.route[i]=*(unsigned long *)buff; |
buff | 666 | net/tcp/ip.c | buff += 4; |
buff | 671 | net/tcp/ip.c | buff ++; |
buff | 672 | net/tcp/ip.c | if ((*buff - 3)% 4 != 0) return (1); |
buff | 673 | net/tcp/ip.c | len += *buff; |
buff | 674 | net/tcp/ip.c | opt->record_route.route_size = (*buff -3)/4; |
buff | 675 | net/tcp/ip.c | buff ++; |
buff | 676 | net/tcp/ip.c | if (*buff % 4 != 0) return (1); |
buff | 677 | net/tcp/ip.c | opt->record_route.pointer = *buff/4 - 1; |
buff | 678 | net/tcp/ip.c | buff ++; |
buff | 679 | net/tcp/ip.c | buff ++; |
buff | 682 | net/tcp/ip.c | opt->record_route.route[i]=*(unsigned long *)buff; |
buff | 683 | net/tcp/ip.c | buff += 4; |
buff | 689 | net/tcp/ip.c | buff +=2; |
buff | 690 | net/tcp/ip.c | opt->stream = *(unsigned short *)buff; |
buff | 691 | net/tcp/ip.c | buff += 2; |
buff | 695 | net/tcp/ip.c | buff ++; |
buff | 696 | net/tcp/ip.c | len += *buff; |
buff | 697 | net/tcp/ip.c | if (*buff % 4 != 0) return (1); |
buff | 698 | net/tcp/ip.c | opt->tstamp.len = *buff / 4 - 1; |
buff | 699 | net/tcp/ip.c | buff ++; |
buff | 700 | net/tcp/ip.c | if ((*buff - 1) % 4 != 0) return (1); |
buff | 701 | net/tcp/ip.c | opt->tstamp.ptr = (*buff-1)/4; |
buff | 702 | net/tcp/ip.c | buff ++; |
buff | 703 | net/tcp/ip.c | opt->tstamp.x.full_char = *buff; |
buff | 704 | net/tcp/ip.c | buff ++; |
buff | 707 | net/tcp/ip.c | opt->tstamp.data[i] = *(unsigned long *)buff; |
buff | 708 | net/tcp/ip.c | buff += 4; |
buff | 752 | net/tcp/ip.c | ip_compute_csum(unsigned char * buff, int len) |
buff | 768 | net/tcp/ip.c | : "=b" (sum) , "=S" (buff) |
buff | 769 | net/tcp/ip.c | : "0" (sum), "c" (len >> 2) ,"1" (buff) |
buff | 777 | net/tcp/ip.c | : "=b" (sum), "=S" (buff) |
buff | 778 | net/tcp/ip.c | : "0" (sum), "1" (buff) |
buff | 787 | net/tcp/ip.c | : "=b" (sum), "=S" (buff) |
buff | 788 | net/tcp/ip.c | : "0" (sum), "1" (buff) |
buff | 142 | net/tcp/ip.h | void (*err_handler) (int err, unsigned char *buff, unsigned long daddr, |
buff | 181 | net/tcp/ip.h | int ip_rcv(struct sk_buff *buff, struct device *dev, struct packet_type *); |
buff | 185 | net/tcp/ip.h | unsigned short ip_compute_csum (unsigned char *buff, int len); |
buff | 188 | net/tcp/packet.c | packet_write (volatile struct sock *sk, unsigned char *buff, |
buff | 191 | net/tcp/packet.c | return (packet_sendto (sk, buff, len, noblock, flags, NULL, 0)); |
buff | 308 | net/tcp/packet.c | packet_read (volatile struct sock *sk, unsigned char *buff, |
buff | 311 | net/tcp/packet.c | return (packet_recvfrom (sk, buff, len, noblock, flags, NULL, NULL)); |
buff | 321 | net/tcp/raw.c | raw_write (volatile struct sock *sk, unsigned char *buff, int len, int noblock, |
buff | 324 | net/tcp/raw.c | return (raw_sendto (sk, buff, len, noblock, flags, NULL, 0)); |
buff | 447 | net/tcp/raw.c | raw_read (volatile struct sock *sk, unsigned char *buff, int len, int noblock, |
buff | 450 | net/tcp/raw.c | return (raw_recvfrom (sk, buff, len, noblock, flags, NULL, NULL)); |
buff | 147 | net/tcp/sock.c | static int ip_proto_send (struct socket *sock, void *buff, int len, |
buff | 149 | net/tcp/sock.c | static int ip_proto_recv (struct socket *sock, void *buff, int len, |
buff | 151 | net/tcp/sock.c | static int ip_proto_sendto (struct socket *sock, void *buff, int len, |
buff | 154 | net/tcp/sock.c | static int ip_proto_recvfrom (struct socket *sock, void *buff, int len, |
buff | 140 | net/tcp/sock.h | int (*rcv)(struct sk_buff *buff, struct device *dev, struct options *opt, |
buff | 570 | net/tcp/tcp.c | struct sk_buff *buff; |
buff | 578 | net/tcp/tcp.c | buff=sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC); |
buff | 579 | net/tcp/tcp.c | if (buff == NULL) |
buff | 592 | net/tcp/tcp.c | buff->mem_addr = buff; |
buff | 593 | net/tcp/tcp.c | buff->mem_len = MAX_ACK_SIZE; |
buff | 594 | net/tcp/tcp.c | buff->lock = 0; |
buff | 595 | net/tcp/tcp.c | buff->len=sizeof (struct tcp_header); |
buff | 596 | net/tcp/tcp.c | buff->sk = sk; |
buff | 597 | net/tcp/tcp.c | t1 = (struct tcp_header *)(buff + 1); |
buff | 599 | net/tcp/tcp.c | tmp = sk->prot->build_header (buff, sk->saddr, daddr, &dev, |
buff | 603 | net/tcp/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
buff | 606 | net/tcp/tcp.c | buff->len += tmp; |
buff | 641 | net/tcp/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
buff | 677 | net/tcp/tcp.c | unsigned char *buff; |
buff | 878 | net/tcp/tcp.c | buff =(unsigned char *)( skb+1); |
buff | 894 | net/tcp/tcp.c | buff+=tmp; |
buff | 895 | net/tcp/tcp.c | skb->h.th =(struct tcp_header *) buff; |
buff | 896 | net/tcp/tcp.c | tmp = tcp_build_header((struct tcp_header *)buff, sk, len-copy); |
buff | 909 | net/tcp/tcp.c | ((struct tcp_header *)buff)->urg = 1; |
buff | 910 | net/tcp/tcp.c | ((struct tcp_header *)buff)->urg_ptr = net16(copy); |
buff | 913 | net/tcp/tcp.c | memcpy_fromfs (buff+tmp, from, copy); |
buff | 927 | net/tcp/tcp.c | tcp_send_check ((struct tcp_header *)buff, sk->saddr, sk->daddr, |
buff | 986 | net/tcp/tcp.c | struct sk_buff *buff; |
buff | 997 | net/tcp/tcp.c | buff=sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC); |
buff | 998 | net/tcp/tcp.c | if (buff == NULL) |
buff | 1007 | net/tcp/tcp.c | buff->mem_addr = buff; |
buff | 1008 | net/tcp/tcp.c | buff->mem_len = MAX_ACK_SIZE; |
buff | 1009 | net/tcp/tcp.c | buff->lock = 0; |
buff | 1010 | net/tcp/tcp.c | buff->len=sizeof (struct tcp_header); |
buff | 1011 | net/tcp/tcp.c | buff->sk = sk; |
buff | 1014 | net/tcp/tcp.c | tmp = sk->prot->build_header (buff, sk->saddr, sk->daddr, &dev, |
buff | 1018 | net/tcp/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
buff | 1022 | net/tcp/tcp.c | buff->len += tmp; |
buff | 1023 | net/tcp/tcp.c | t1 = (struct tcp_header *)((char *)(buff+1) +tmp); |
buff | 1041 | net/tcp/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
buff | 1428 | net/tcp/tcp.c | struct sk_buff *buff; |
buff | 1453 | net/tcp/tcp.c | buff=prot->wmalloc(sk, MAX_RESET_SIZE,1 , GFP_KERNEL); |
buff | 1454 | net/tcp/tcp.c | if (buff == NULL) |
buff | 1461 | net/tcp/tcp.c | PRINTK(("tcp_shutdown_send buff = %X\n", buff)); |
buff | 1462 | net/tcp/tcp.c | buff->mem_addr = buff; |
buff | 1463 | net/tcp/tcp.c | buff->mem_len = MAX_RESET_SIZE; |
buff | 1464 | net/tcp/tcp.c | buff->lock = 0; |
buff | 1465 | net/tcp/tcp.c | buff->sk = sk; |
buff | 1466 | net/tcp/tcp.c | buff->len = sizeof (*t1); |
buff | 1468 | net/tcp/tcp.c | t1=(struct tcp_header *)(buff + 1); |
buff | 1470 | net/tcp/tcp.c | tmp = prot->build_header (buff,sk->saddr, sk->daddr, &dev, |
buff | 1475 | net/tcp/tcp.c | prot->wfree (sk,buff->mem_addr, buff->mem_len); |
buff | 1482 | net/tcp/tcp.c | buff ->len += tmp; |
buff | 1483 | net/tcp/tcp.c | buff->dev = dev; |
buff | 1490 | net/tcp/tcp.c | buff->h.seq = sk->send_seq; |
buff | 1505 | net/tcp/tcp.c | buff->next = NULL; |
buff | 1506 | net/tcp/tcp.c | sk->wback->next = buff; |
buff | 1507 | net/tcp/tcp.c | sk->wback = buff; |
buff | 1508 | net/tcp/tcp.c | buff->magic = TCP_WRITE_QUEUE_MAGIC; |
buff | 1512 | net/tcp/tcp.c | sk->prot->queue_xmit (sk, dev, buff,0); |
buff | 1557 | net/tcp/tcp.c | struct sk_buff *buff; |
buff | 1560 | net/tcp/tcp.c | buff=prot->wmalloc(NULL, MAX_RESET_SIZE,1, GFP_ATOMIC); |
buff | 1561 | net/tcp/tcp.c | if (buff == NULL) return; |
buff | 1563 | net/tcp/tcp.c | PRINTK(("tcp_reset buff = %X\n", buff)); |
buff | 1564 | net/tcp/tcp.c | buff->mem_addr = buff; |
buff | 1565 | net/tcp/tcp.c | buff->mem_len = MAX_RESET_SIZE; |
buff | 1566 | net/tcp/tcp.c | buff->lock = 0; |
buff | 1567 | net/tcp/tcp.c | buff->len = sizeof (*t1); |
buff | 1568 | net/tcp/tcp.c | buff->sk = NULL; |
buff | 1569 | net/tcp/tcp.c | buff->dev = dev; |
buff | 1571 | net/tcp/tcp.c | t1=(struct tcp_header *)(buff + 1); |
buff | 1573 | net/tcp/tcp.c | tmp = prot->build_header (buff, saddr, daddr, &dev, IPPROTO_TCP, opt, |
buff | 1577 | net/tcp/tcp.c | prot->wfree (NULL,buff->mem_addr, buff->mem_len); |
buff | 1581 | net/tcp/tcp.c | buff->len += tmp; |
buff | 1596 | net/tcp/tcp.c | prot->queue_xmit(NULL, dev, buff, 1); |
buff | 1611 | net/tcp/tcp.c | struct sk_buff *buff; |
buff | 1731 | net/tcp/tcp.c | buff=newsk->prot->wmalloc(newsk,MAX_SYN_SIZE,1, GFP_ATOMIC); |
buff | 1732 | net/tcp/tcp.c | if (buff == NULL) |
buff | 1741 | net/tcp/tcp.c | buff->lock = 0; |
buff | 1742 | net/tcp/tcp.c | buff->mem_addr = buff; |
buff | 1743 | net/tcp/tcp.c | buff->mem_len = MAX_SYN_SIZE; |
buff | 1744 | net/tcp/tcp.c | buff->len=sizeof (struct tcp_header)+4; |
buff | 1745 | net/tcp/tcp.c | buff->sk = newsk; |
buff | 1747 | net/tcp/tcp.c | t1=(struct tcp_header *)(buff + 1); |
buff | 1750 | net/tcp/tcp.c | tmp = sk->prot->build_header (buff, newsk->saddr, newsk->daddr, &dev, |
buff | 1757 | net/tcp/tcp.c | sk->prot->wfree(newsk, buff->mem_addr, buff->mem_len); |
buff | 1765 | net/tcp/tcp.c | buff->len += tmp; |
buff | 1769 | net/tcp/tcp.c | buff->h.seq = newsk->send_seq; |
buff | 1793 | net/tcp/tcp.c | newsk->prot->queue_xmit(newsk, dev, buff, 0); |
buff | 1825 | net/tcp/tcp.c | struct sk_buff *buff; |
buff | 1904 | net/tcp/tcp.c | buff=prot->wmalloc(sk, MAX_FIN_SIZE,1, GFP_ATOMIC); |
buff | 1905 | net/tcp/tcp.c | if (buff == NULL) |
buff | 1916 | net/tcp/tcp.c | buff->lock = 0; |
buff | 1917 | net/tcp/tcp.c | buff->mem_addr = buff; |
buff | 1918 | net/tcp/tcp.c | buff->mem_len = MAX_FIN_SIZE; |
buff | 1919 | net/tcp/tcp.c | buff->sk = sk; |
buff | 1920 | net/tcp/tcp.c | buff->len = sizeof (*t1); |
buff | 1921 | net/tcp/tcp.c | t1=(struct tcp_header *)(buff + 1); |
buff | 1923 | net/tcp/tcp.c | tmp = prot->build_header (buff,sk->saddr, sk->daddr, &dev, |
buff | 1928 | net/tcp/tcp.c | prot->wfree (sk,buff->mem_addr, buff->mem_len); |
buff | 1935 | net/tcp/tcp.c | buff ->len += tmp; |
buff | 1936 | net/tcp/tcp.c | buff->dev = dev; |
buff | 1940 | net/tcp/tcp.c | buff->h.seq = sk->send_seq; |
buff | 1954 | net/tcp/tcp.c | prot->queue_xmit(sk, dev, buff, 0); |
buff | 1961 | net/tcp/tcp.c | buff->next = NULL; |
buff | 1964 | net/tcp/tcp.c | sk->wfront=buff; |
buff | 1968 | net/tcp/tcp.c | sk->wback->next = buff; |
buff | 1970 | net/tcp/tcp.c | sk->wback = buff; |
buff | 1971 | net/tcp/tcp.c | buff->magic = TCP_WRITE_QUEUE_MAGIC; |
buff | 2577 | net/tcp/tcp.c | buff=sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC); |
buff | 2578 | net/tcp/tcp.c | if (buff == NULL) |
buff | 2584 | net/tcp/tcp.c | buff->mem_addr = buff; |
buff | 2585 | net/tcp/tcp.c | buff->mem_len = MAX_ACK_SIZE; |
buff | 2586 | net/tcp/tcp.c | buff->len=sizeof (struct tcp_header); |
buff | 2587 | net/tcp/tcp.c | buff->sk = sk; |
buff | 2589 | net/tcp/tcp.c | t1 = (struct tcp_header *)(buff + 1); |
buff | 2591 | net/tcp/tcp.c | tmp = sk->prot->build_header (buff, sk->saddr, sk->daddr, &dev, |
buff | 2595 | net/tcp/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
buff | 2599 | net/tcp/tcp.c | buff->len += tmp; |
buff | 2614 | net/tcp/tcp.c | buff->h.seq = sk->send_seq; |
buff | 2634 | net/tcp/tcp.c | buff->next = NULL; |
buff | 2635 | net/tcp/tcp.c | sk->wback->next = buff; |
buff | 2636 | net/tcp/tcp.c | sk->wback = buff; |
buff | 2637 | net/tcp/tcp.c | buff->magic = TCP_WRITE_QUEUE_MAGIC; |
buff | 2641 | net/tcp/tcp.c | sk->prot->queue_xmit (sk, dev, buff,0); |
buff | 2707 | net/tcp/tcp.c | struct sk_buff *buff; |
buff | 2728 | net/tcp/tcp.c | buff=sk->prot->wmalloc(sk,MAX_SYN_SIZE,0, GFP_KERNEL); |
buff | 2729 | net/tcp/tcp.c | if (buff == NULL) |
buff | 2734 | net/tcp/tcp.c | buff->lock = 0; |
buff | 2735 | net/tcp/tcp.c | buff->mem_addr = buff; |
buff | 2736 | net/tcp/tcp.c | buff->mem_len = MAX_SYN_SIZE; |
buff | 2737 | net/tcp/tcp.c | buff->len=24; |
buff | 2738 | net/tcp/tcp.c | buff->sk = sk; |
buff | 2739 | net/tcp/tcp.c | t1=(struct tcp_header *)(buff + 1); |
buff | 2743 | net/tcp/tcp.c | tmp = sk->prot->build_header (buff, sk->saddr, sk->daddr, &dev, |
buff | 2747 | net/tcp/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
buff | 2751 | net/tcp/tcp.c | buff->len += tmp; |
buff | 2756 | net/tcp/tcp.c | buff->h.seq = sk->send_seq; |
buff | 2780 | net/tcp/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
buff | 3305 | net/tcp/tcp.c | struct sk_buff *buff; |
buff | 3311 | net/tcp/tcp.c | buff=sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC); |
buff | 3313 | net/tcp/tcp.c | if (buff == NULL) return; |
buff | 3315 | net/tcp/tcp.c | buff->lock = 0; |
buff | 3316 | net/tcp/tcp.c | buff->mem_addr = buff; |
buff | 3317 | net/tcp/tcp.c | buff->mem_len = MAX_ACK_SIZE; |
buff | 3318 | net/tcp/tcp.c | buff->len=sizeof (struct tcp_header); |
buff | 3319 | net/tcp/tcp.c | buff->free = 1; |
buff | 3320 | net/tcp/tcp.c | buff->sk = sk; |
buff | 3322 | net/tcp/tcp.c | t1=(struct tcp_header *)(buff + 1); |
buff | 3325 | net/tcp/tcp.c | tmp = sk->prot->build_header (buff, sk->saddr, sk->daddr, &dev, |
buff | 3329 | net/tcp/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
buff | 3333 | net/tcp/tcp.c | buff->len += tmp; |
buff | 3355 | net/tcp/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
buff | 320 | net/tcp/udp.c | unsigned char *buff; |
buff | 413 | net/tcp/udp.c | buff = (unsigned char *)(skb+1); |
buff | 423 | net/tcp/udp.c | buff += tmp; |
buff | 435 | net/tcp/udp.c | uh = (struct udp_header *)buff; |
buff | 441 | net/tcp/udp.c | buff += sizeof (*uh); |
buff | 450 | net/tcp/udp.c | memcpy_fromfs( buff, from, amt); |
buff | 465 | net/tcp/udp.c | udp_write (volatile struct sock *sk, unsigned char *buff, int len, int noblock, |
buff | 468 | net/tcp/udp.c | return (udp_sendto (sk, buff, len, noblock, flags, NULL, 0)); |
buff | 609 | net/tcp/udp.c | udp_read (volatile struct sock *sk, unsigned char *buff, int len, int noblock, |
buff | 612 | net/tcp/udp.c | return (udp_recvfrom (sk, buff, len, noblock, flags, NULL, NULL)); |
buff | 64 | net/unix.c | static int unix_proto_send (struct socket *sock, void *buff, int len, |
buff | 66 | net/unix.c | static int unix_proto_recv (struct socket *sock, void *buff, int len, |
buff | 68 | net/unix.c | static int unix_proto_sendto (struct socket *sock, void *buff, int len, |
buff | 71 | net/unix.c | static int unix_proto_recvfrom (struct socket *sock, void *buff, int len, |
buff | 156 | net/unix.c | unix_proto_sendto(struct socket *sock, void *buff, int len, int nonblock, |
buff | 163 | net/unix.c | unix_proto_recvfrom(struct socket *sock, void *buff, int len, int nonblock, |
buff | 176 | net/unix.c | unix_proto_send(struct socket *sock, void *buff, int len, int nonblock, |
buff | 182 | net/unix.c | return (unix_proto_write (sock, buff, len, nonblock)); |
buff | 186 | net/unix.c | unix_proto_recv(struct socket *sock, void *buff, int len, int nonblock, |
buff | 192 | net/unix.c | return (unix_proto_read (sock, buff, len, nonblock)); |