tag | line | file | source code |
buff | 410 | drivers/block/sbpcd.c | char buff[256]; |
buff | 417 | drivers/block/sbpcd.c | vsprintf(buff, fmt, args); |
buff | 419 | drivers/block/sbpcd.c | printk(buff); |
buff | 713 | drivers/char/console.c | char buff[3]; |
buff | 717 | drivers/char/console.c | buff[i++] = (n%10)+'0'; |
buff | 721 | drivers/char/console.c | put_tty_queue(buff[i], &tty->read_q); |
buff | 139 | drivers/net/plip.c | static int plip_header (unsigned char *buff, struct device *dev, |
buff | 290 | drivers/net/plip.c | plip_header (unsigned char *buff, struct device *dev, |
buff | 298 | drivers/net/plip.c | return eth_header(buff, dev, type, daddr, saddr, len, skb); |
buff | 582 | drivers/net/slip.c | sl_header(unsigned char *buff, struct device *dev, unsigned short type, |
buff | 588 | drivers/net/slip.c | return ax25_encapsulate(buff,dev,type,daddr,saddr,len,skb); |
buff | 597 | drivers/net/slip.c | sl_rebuild_header(void *buff, struct device *dev, unsigned long raddr, |
buff | 604 | drivers/net/slip.c | return ax25_rebuild_header(buff,dev,raddr, skb); |
buff | 730 | drivers/net/slip.c | unsigned char buff[128]; |
buff | 743 | drivers/net/slip.c | count = tty_read_raw_data(tty, buff, 128); |
buff | 751 | drivers/net/slip.c | p = buff; |
buff | 753 | drivers/net/slip.c | slip_unesc6(sl,buff,count,error); |
buff | 755 | drivers/net/slip.c | slip_unesc(sl,buff,count,error); |
buff | 418 | drivers/scsi/aha1542.c | void *buff = SCpnt->request_buffer; |
buff | 535 | drivers/scsi/aha1542.c | if(((unsigned int) buff & 0xff000000)) goto baddma; |
buff | 546 | drivers/scsi/aha1542.c | any2scsi(ccb[mbo].dataptr, buff); |
buff | 243 | drivers/scsi/aha1740.c | void *buff = SCpnt->request_buffer; |
buff | 339 | drivers/scsi/aha1740.c | ecb[ecbno].dataptr = (long) buff; |
buff | 160 | drivers/scsi/scsi_debug.c | unsigned char * buff; |
buff | 172 | drivers/scsi/scsi_debug.c | buff = (unsigned char *) SCpnt->request_buffer; |
buff | 185 | drivers/scsi/scsi_debug.c | printk("scsi_debug: Requesting sense buffer (%x %x %x %d):", SCpnt, buff, done, bufflen); |
buff | 190 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
buff | 191 | drivers/scsi/scsi_debug.c | memcpy(buff, sense_buffer, bufflen); |
buff | 202 | drivers/scsi/scsi_debug.c | printk("Inquiry...(%x %d)\n", buff, bufflen); |
buff | 203 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
buff | 204 | drivers/scsi/scsi_debug.c | buff[0] = TYPE_DISK; |
buff | 205 | drivers/scsi/scsi_debug.c | buff[1] = 0x80; /* Removable disk */ |
buff | 206 | drivers/scsi/scsi_debug.c | buff[2] = 1; |
buff | 207 | drivers/scsi/scsi_debug.c | buff[4] = 33 - 5; |
buff | 208 | drivers/scsi/scsi_debug.c | memcpy(&buff[8],"Foo Inc",7); |
buff | 209 | drivers/scsi/scsi_debug.c | memcpy(&buff[16],"XYZZY",5); |
buff | 210 | drivers/scsi/scsi_debug.c | memcpy(&buff[32],"1",1); |
buff | 215 | drivers/scsi/scsi_debug.c | if (buff) |
buff | 216 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
buff | 222 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
buff | 223 | drivers/scsi/scsi_debug.c | buff[0] = (CAPACITY >> 24); |
buff | 224 | drivers/scsi/scsi_debug.c | buff[1] = (CAPACITY >> 16) & 0xff; |
buff | 225 | drivers/scsi/scsi_debug.c | buff[2] = (CAPACITY >> 8) & 0xff; |
buff | 226 | drivers/scsi/scsi_debug.c | buff[3] = CAPACITY & 0xff; |
buff | 227 | drivers/scsi/scsi_debug.c | buff[6] = 2; /* 512 byte sectors */ |
buff | 258 | drivers/scsi/scsi_debug.c | sgpnt = (struct scatterlist *) buff; |
buff | 259 | drivers/scsi/scsi_debug.c | buff = sgpnt[sgcount].address; |
buff | 268 | drivers/scsi/scsi_debug.c | memset(buff, 0, bufflen); |
buff | 273 | drivers/scsi/scsi_debug.c | *((unsigned short *) (buff+510)) = 0xAA55; |
buff | 274 | drivers/scsi/scsi_debug.c | p = (struct partition* ) (buff + 0x1be); |
buff | 313 | drivers/scsi/scsi_debug.c | memcpy(buff, &target, sizeof(target)); |
buff | 314 | drivers/scsi/scsi_debug.c | memcpy(buff+sizeof(target), cmd, 24); |
buff | 315 | drivers/scsi/scsi_debug.c | memcpy(buff+60, &block, sizeof(block)); |
buff | 316 | drivers/scsi/scsi_debug.c | memcpy(buff+64, SCpnt, sizeof(Scsi_Cmnd)); |
buff | 321 | drivers/scsi/scsi_debug.c | memcpy(buff+128, bh, sizeof(struct buffer_head)); |
buff | 328 | drivers/scsi/scsi_debug.c | buff = sgpnt[sgcount].address; |
buff | 355 | drivers/scsi/scsi_debug.c | sgpnt = (struct scatterlist *) buff; |
buff | 356 | drivers/scsi/scsi_debug.c | buff = sgpnt[sgcount].address; |
buff | 359 | drivers/scsi/scsi_debug.c | if (block != *((unsigned long *) (buff+60))) { |
buff | 360 | drivers/scsi/scsi_debug.c | printk("%x %x :",block, *((unsigned long *) (buff+60))); |
buff | 389 | drivers/scsi/sd.c | char * buff, *bounce_buffer; |
buff | 480 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buff | 500 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buff | 545 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buff | 547 | drivers/scsi/sd.c | buff = (char *) sgpnt; |
buff | 584 | drivers/scsi/sd.c | buff = SCpnt->request.buffer; |
buff | 658 | drivers/scsi/sd.c | if (((int) buff) + (this_count << 9) - 1 > ISA_DMA_THRESHOLD && |
buff | 661 | drivers/scsi/sd.c | buff = bounce_buffer; |
buff | 663 | drivers/scsi/sd.c | buff = (char *) scsi_malloc(this_count << 9); |
buff | 664 | drivers/scsi/sd.c | if(buff == NULL) { /* Try backing off a bit if we are low on mem*/ |
buff | 666 | drivers/scsi/sd.c | buff = (char *) scsi_malloc(this_count << 9); |
buff | 667 | drivers/scsi/sd.c | if(!buff) panic("Ran out of DMA buffers."); |
buff | 670 | drivers/scsi/sd.c | memcpy(buff, (char *)SCpnt->request.buffer, this_count << 9); |
buff | 727 | drivers/scsi/sd.c | scsi_do_cmd (SCpnt, (void *) cmd, buff, |
buff | 87 | drivers/scsi/seagate.c | void *buff, int bufflen, int reselect); |
buff | 582 | drivers/scsi/seagate.c | void *buff, int bufflen, int reselect) { |
buff | 45 | drivers/scsi/sg.c | char *buff; /* the buffer */ |
buff | 103 | drivers/scsi/sg.c | scsi_free(scsi_generics[dev].buff,scsi_generics[dev].buff_len); |
buff | 140 | drivers/scsi/sg.c | static void sg_free(char *buff,int size) |
buff | 143 | drivers/scsi/sg.c | if (buff==big_buff) |
buff | 150 | drivers/scsi/sg.c | scsi_free(buff,size); |
buff | 176 | drivers/scsi/sg.c | memcpy_tofs(buf,device->buff,count-sizeof(struct sg_header)); |
buff | 180 | drivers/scsi/sg.c | sg_free(device->buff,device->buff_len); |
buff | 242 | drivers/scsi/sg.c | if ((bsize<0) || !(device->buff=sg_malloc(device->buff_len=bsize))) |
buff | 255 | drivers/scsi/sg.c | sg_free(device->buff,device->buff_len); |
buff | 267 | drivers/scsi/sg.c | memcpy_fromfs(device->buff,buf,device->header.pack_len-size-sizeof(struct sg_header)); |
buff | 273 | drivers/scsi/sg.c | (void *) device->buff,amt,sg_command_done,device->timeout,SG_DEFAULT_RETRIES); |
buff | 101 | drivers/sound/audio.c | translate_bytes (const unsigned char *table, unsigned char *buff, unsigned long n) |
buff | 106 | drivers/sound/audio.c | buff[i] = table[buff[i]]; |
buff | 111 | drivers/sound/audio.c | translate_bytes (const void *table, void *buff, unsigned long n) |
buff | 118 | drivers/sound/audio.c | :"b" ((long) table), "c" (n), "D" ((long) buff), "S" ((long) buff) |
buff | 31 | include/linux/etherdevice.h | extern int eth_header(unsigned char *buff, struct device *dev, |
buff | 35 | include/linux/etherdevice.h | extern int eth_rebuild_header(void *buff, struct device *dev, |
buff | 108 | include/linux/net.h | int (*send) (struct socket *sock, void *buff, int len, int nonblock, |
buff | 110 | include/linux/net.h | int (*recv) (struct socket *sock, void *buff, int len, int nonblock, |
buff | 112 | include/linux/net.h | int (*sendto) (struct socket *sock, void *buff, int len, int nonblock, |
buff | 114 | include/linux/net.h | int (*recvfrom) (struct socket *sock, void *buff, int len, int nonblock, |
buff | 122 | include/linux/netdevice.h | int (*hard_header) (unsigned char *buff, |
buff | 178 | include/linux/netdevice.h | extern int dev_rint(unsigned char *buff, long len, int flags, |
buff | 469 | net/inet/dev.c | int dev_rint(unsigned char *buff, long len, int flags, struct device *dev) |
buff | 477 | net/inet/dev.c | if (dev == NULL || buff == NULL || len <= 0) |
buff | 482 | net/inet/dev.c | skb = (struct sk_buff *) buff; |
buff | 515 | net/inet/dev.c | (unsigned long) buff); |
buff | 516 | net/inet/dev.c | memcpy(to, buff, amount); |
buff | 519 | net/inet/dev.c | buff += amount; |
buff | 521 | net/inet/dev.c | if ((unsigned long) buff == dev->rmem_end) |
buff | 522 | net/inet/dev.c | buff = (unsigned char *) dev->rmem_start; |
buff | 121 | net/inet/dev.h | int (*hard_header) (unsigned char *buff, |
buff | 180 | net/inet/dev.h | extern int dev_rint(unsigned char *buff, long len, int flags, |
buff | 80 | net/inet/eth.c | int eth_header(unsigned char *buff, struct device *dev, unsigned short type, |
buff | 84 | net/inet/eth.c | struct ethhdr *eth = (struct ethhdr *)buff; |
buff | 131 | net/inet/eth.c | int eth_rebuild_header(void *buff, struct device *dev, unsigned long dst, |
buff | 134 | net/inet/eth.c | struct ethhdr *eth = (struct ethhdr *)buff; |
buff | 27 | net/inet/eth.h | extern int eth_header(unsigned char *buff, struct device *dev, |
buff | 30 | net/inet/eth.h | extern int eth_rebuild_header(void *buff, struct device *dev); |
buff | 611 | net/inet/icmp.c | unsigned char *buff; |
buff | 633 | net/inet/icmp.c | buff = skb1->h.raw; |
buff | 634 | net/inet/icmp.c | icmph = (struct icmphdr *) buff; |
buff | 109 | net/inet/ip.c | unsigned char buff[32]; |
buff | 143 | net/inet/ip.c | buff[i] = *ptr++; |
buff | 144 | net/inet/ip.c | if (buff[i] < 32 || buff[i] > 126) |
buff | 145 | net/inet/ip.c | buff[i] = '.'; |
buff | 150 | net/inet/ip.c | buff[i] = ' '; |
buff | 155 | net/inet/ip.c | buff[i] = '\0'; |
buff | 156 | net/inet/ip.c | printk(" \"%s\"\n", buff); |
buff | 262 | net/inet/ip.c | unsigned char *buff; |
buff | 279 | net/inet/ip.c | buff = skb->data; |
buff | 339 | net/inet/ip.c | buff += tmp; |
buff | 363 | net/inet/ip.c | iph = (struct iphdr *)buff; |
buff | 386 | net/inet/ip.c | unsigned char *buff; |
buff | 403 | net/inet/ip.c | buff = (unsigned char *)(iph + 1); |
buff | 406 | net/inet/ip.c | while (!done && len < iph->ihl*4) switch(*buff) { |
buff | 411 | net/inet/ip.c | buff++; |
buff | 415 | net/inet/ip.c | buff++; |
buff | 416 | net/inet/ip.c | if (*buff != 11) return(1); |
buff | 417 | net/inet/ip.c | buff++; |
buff | 418 | net/inet/ip.c | opt->security = ntohs(*(unsigned short *)buff); |
buff | 419 | net/inet/ip.c | buff += 2; |
buff | 420 | net/inet/ip.c | opt->compartment = ntohs(*(unsigned short *)buff); |
buff | 421 | net/inet/ip.c | buff += 2; |
buff | 422 | net/inet/ip.c | opt->handling = ntohs(*(unsigned short *)buff); |
buff | 423 | net/inet/ip.c | buff += 2; |
buff | 424 | net/inet/ip.c | opt->tcc = ((*buff) << 16) + ntohs(*(unsigned short *)(buff+1)); |
buff | 425 | net/inet/ip.c | buff += 3; |
buff | 429 | net/inet/ip.c | buff++; |
buff | 430 | net/inet/ip.c | if ((*buff - 3)% 4 != 0) return(1); |
buff | 431 | net/inet/ip.c | len += *buff; |
buff | 432 | net/inet/ip.c | opt->loose_route.route_size = (*buff -3)/4; |
buff | 433 | net/inet/ip.c | buff++; |
buff | 434 | net/inet/ip.c | if (*buff % 4 != 0) return(1); |
buff | 435 | net/inet/ip.c | opt->loose_route.pointer = *buff/4 - 1; |
buff | 436 | net/inet/ip.c | buff++; |
buff | 437 | net/inet/ip.c | buff++; |
buff | 441 | net/inet/ip.c | opt->loose_route.route[i] = *(unsigned long *)buff; |
buff | 442 | net/inet/ip.c | buff += 4; |
buff | 446 | net/inet/ip.c | buff++; |
buff | 447 | net/inet/ip.c | if ((*buff - 3)% 4 != 0) return(1); |
buff | 448 | net/inet/ip.c | len += *buff; |
buff | 449 | net/inet/ip.c | opt->strict_route.route_size = (*buff -3)/4; |
buff | 450 | net/inet/ip.c | buff++; |
buff | 451 | net/inet/ip.c | if (*buff % 4 != 0) return(1); |
buff | 452 | net/inet/ip.c | opt->strict_route.pointer = *buff/4 - 1; |
buff | 453 | net/inet/ip.c | buff++; |
buff | 454 | net/inet/ip.c | buff++; |
buff | 458 | net/inet/ip.c | opt->strict_route.route[i] = *(unsigned long *)buff; |
buff | 459 | net/inet/ip.c | buff += 4; |
buff | 463 | net/inet/ip.c | buff++; |
buff | 464 | net/inet/ip.c | if ((*buff - 3)% 4 != 0) return(1); |
buff | 465 | net/inet/ip.c | len += *buff; |
buff | 466 | net/inet/ip.c | opt->record_route.route_size = (*buff -3)/4; |
buff | 467 | net/inet/ip.c | buff++; |
buff | 468 | net/inet/ip.c | if (*buff % 4 != 0) return(1); |
buff | 469 | net/inet/ip.c | opt->record_route.pointer = *buff/4 - 1; |
buff | 470 | net/inet/ip.c | buff++; |
buff | 471 | net/inet/ip.c | buff++; |
buff | 475 | net/inet/ip.c | opt->record_route.route[i] = *(unsigned long *)buff; |
buff | 476 | net/inet/ip.c | buff += 4; |
buff | 481 | net/inet/ip.c | buff +=2; |
buff | 482 | net/inet/ip.c | opt->stream = *(unsigned short *)buff; |
buff | 483 | net/inet/ip.c | buff += 2; |
buff | 486 | net/inet/ip.c | buff++; |
buff | 487 | net/inet/ip.c | len += *buff; |
buff | 488 | net/inet/ip.c | if (*buff % 4 != 0) return(1); |
buff | 489 | net/inet/ip.c | opt->tstamp.len = *buff / 4 - 1; |
buff | 490 | net/inet/ip.c | buff++; |
buff | 491 | net/inet/ip.c | if ((*buff - 1) % 4 != 0) return(1); |
buff | 492 | net/inet/ip.c | opt->tstamp.ptr = (*buff-1)/4; |
buff | 493 | net/inet/ip.c | buff++; |
buff | 494 | net/inet/ip.c | opt->tstamp.x.full_char = *buff; |
buff | 495 | net/inet/ip.c | buff++; |
buff | 497 | net/inet/ip.c | opt->tstamp.data[i] = *(unsigned long *)buff; |
buff | 498 | net/inet/ip.c | buff += 4; |
buff | 535 | net/inet/ip.c | static inline unsigned short ip_fast_csum(unsigned char * buff, int wlen) |
buff | 553 | net/inet/ip.c | : "=r" (sum), "=S" (buff), "=r" (wlen), "=a" (bogus) |
buff | 554 | net/inet/ip.c | : "0" (sum), "1" (buff), "2" (wlen)); |
buff | 564 | net/inet/ip.c | unsigned short ip_compute_csum(unsigned char * buff, int len) |
buff | 581 | net/inet/ip.c | : "=b" (sum) , "=S" (buff) |
buff | 582 | net/inet/ip.c | : "0" (sum), "c" (len >> 2) ,"1" (buff) |
buff | 590 | net/inet/ip.c | : "=b" (sum), "=S" (buff) |
buff | 591 | net/inet/ip.c | : "0" (sum), "1" (buff) |
buff | 600 | net/inet/ip.c | : "=b" (sum), "=S" (buff) |
buff | 601 | net/inet/ip.c | : "0" (sum), "1" (buff) |
buff | 78 | net/inet/ip.h | extern unsigned short ip_compute_csum(unsigned char * buff, int len); |
buff | 699 | net/inet/ipx.c | unsigned char *buff; |
buff | 703 | net/inet/ipx.c | buff=skb->data; |
buff | 704 | net/inet/ipx.c | buff+=dev->hard_header_len; |
buff | 705 | net/inet/ipx.c | ipx=(ipx_packet *)buff; |
buff | 774 | net/inet/ipx.c | buff=(char *)(skb2+1); |
buff | 775 | net/inet/ipx.c | ipx=(ipx_packet *)(buff+dev->hard_header_len); |
buff | 780 | net/inet/ipx.c | buff=(char *)(skb+1); |
buff | 787 | net/inet/ipx.c | dev->hard_header(buff, dev, |
buff | 226 | net/inet/packet.c | static int packet_write(struct sock *sk, unsigned char *buff, |
buff | 229 | net/inet/packet.c | return(packet_sendto(sk, buff, len, noblock, flags, NULL, 0)); |
buff | 391 | net/inet/packet.c | int packet_read(struct sock *sk, unsigned char *buff, |
buff | 394 | net/inet/packet.c | return(packet_recvfrom(sk, buff, len, noblock, flags, NULL, NULL)); |
buff | 39 | net/inet/protocol.h | void (*err_handler)(int err, unsigned char *buff, |
buff | 266 | net/inet/raw.c | unsigned char *buff; |
buff | 269 | net/inet/raw.c | buff = skb->data; |
buff | 270 | net/inet/raw.c | buff += tmp; |
buff | 272 | net/inet/raw.c | iph = (struct iphdr *)buff; |
buff | 284 | net/inet/raw.c | static int raw_write(struct sock *sk, unsigned char *buff, int len, int noblock, |
buff | 287 | net/inet/raw.c | return(raw_sendto(sk, buff, len, noblock, flags, NULL, 0)); |
buff | 395 | net/inet/raw.c | raw_read (struct sock *sk, unsigned char *buff, int len, int noblock, |
buff | 398 | net/inet/raw.c | return(raw_recvfrom(sk, buff, len, noblock, flags, NULL, NULL)); |
buff | 33 | net/inet/raw.h | extern int raw_read(struct sock *sk, unsigned char *buff, |
buff | 214 | net/inet/sock.h | int (*rcv)(struct sk_buff *buff, struct device *dev, |
buff | 665 | net/inet/tcp.c | struct sk_buff *buff; |
buff | 677 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk, MAX_ACK_SIZE, 1, GFP_ATOMIC); |
buff | 678 | net/inet/tcp.c | if (buff == NULL) |
buff | 691 | net/inet/tcp.c | buff->len = sizeof(struct tcphdr); |
buff | 692 | net/inet/tcp.c | buff->sk = sk; |
buff | 693 | net/inet/tcp.c | buff->localroute = sk->localroute; |
buff | 694 | net/inet/tcp.c | t1 =(struct tcphdr *) buff->data; |
buff | 697 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, daddr, &dev, |
buff | 701 | net/inet/tcp.c | buff->free=1; |
buff | 702 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
buff | 707 | net/inet/tcp.c | buff->len += tmp; |
buff | 749 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
buff | 787 | net/inet/tcp.c | unsigned char *buff; |
buff | 1035 | net/inet/tcp.c | buff = skb->data; |
buff | 1055 | net/inet/tcp.c | buff += tmp; |
buff | 1056 | net/inet/tcp.c | skb->h.th =(struct tcphdr *) buff; |
buff | 1057 | net/inet/tcp.c | tmp = tcp_build_header((struct tcphdr *)buff, sk, len-copy); |
buff | 1070 | net/inet/tcp.c | ((struct tcphdr *)buff)->urg = 1; |
buff | 1071 | net/inet/tcp.c | ((struct tcphdr *)buff)->urg_ptr = ntohs(copy); |
buff | 1074 | net/inet/tcp.c | memcpy_fromfs(buff+tmp, from, copy); |
buff | 1142 | net/inet/tcp.c | struct sk_buff *buff; |
buff | 1159 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC); |
buff | 1160 | net/inet/tcp.c | if (buff == NULL) |
buff | 1167 | net/inet/tcp.c | buff->len = sizeof(struct tcphdr); |
buff | 1168 | net/inet/tcp.c | buff->sk = sk; |
buff | 1169 | net/inet/tcp.c | buff->localroute = sk->localroute; |
buff | 1175 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
buff | 1179 | net/inet/tcp.c | buff->free=1; |
buff | 1180 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
buff | 1184 | net/inet/tcp.c | buff->len += tmp; |
buff | 1185 | net/inet/tcp.c | t1 =(struct tcphdr *)(buff->data +tmp); |
buff | 1203 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
buff | 1507 | net/inet/tcp.c | struct sk_buff *buff; |
buff | 1541 | net/inet/tcp.c | buff = prot->wmalloc(sk, MAX_RESET_SIZE,1 , GFP_KERNEL); |
buff | 1542 | net/inet/tcp.c | if (buff == NULL) |
buff | 1546 | net/inet/tcp.c | DPRINTF((DBG_TCP, "tcp_shutdown_send buff = %X\n", buff)); |
buff | 1547 | net/inet/tcp.c | buff->sk = sk; |
buff | 1548 | net/inet/tcp.c | buff->len = sizeof(*t1); |
buff | 1549 | net/inet/tcp.c | buff->localroute = sk->localroute; |
buff | 1550 | net/inet/tcp.c | t1 =(struct tcphdr *) buff->data; |
buff | 1556 | net/inet/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
buff | 1564 | net/inet/tcp.c | buff->free=1; |
buff | 1565 | net/inet/tcp.c | prot->wfree(sk,buff->mem_addr, buff->mem_len); |
buff | 1576 | net/inet/tcp.c | buff->len += tmp; |
buff | 1577 | net/inet/tcp.c | buff->dev = dev; |
buff | 1581 | net/inet/tcp.c | buff->h.seq = sk->write_seq; |
buff | 1597 | net/inet/tcp.c | buff->free=0; |
buff | 1598 | net/inet/tcp.c | if (buff->next != NULL) |
buff | 1601 | net/inet/tcp.c | skb_unlink(buff); |
buff | 1603 | net/inet/tcp.c | skb_queue_tail(&sk->write_queue, buff); |
buff | 1608 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
buff | 1664 | net/inet/tcp.c | struct sk_buff *buff; |
buff | 1674 | net/inet/tcp.c | buff = prot->wmalloc(NULL, MAX_RESET_SIZE, 1, GFP_ATOMIC); |
buff | 1675 | net/inet/tcp.c | if (buff == NULL) |
buff | 1678 | net/inet/tcp.c | DPRINTF((DBG_TCP, "tcp_reset buff = %X\n", buff)); |
buff | 1679 | net/inet/tcp.c | buff->len = sizeof(*t1); |
buff | 1680 | net/inet/tcp.c | buff->sk = NULL; |
buff | 1681 | net/inet/tcp.c | buff->dev = dev; |
buff | 1682 | net/inet/tcp.c | buff->localroute = 0; |
buff | 1684 | net/inet/tcp.c | t1 =(struct tcphdr *) buff->data; |
buff | 1690 | net/inet/tcp.c | tmp = prot->build_header(buff, saddr, daddr, &ndev, IPPROTO_TCP, opt, |
buff | 1694 | net/inet/tcp.c | buff->free = 1; |
buff | 1695 | net/inet/tcp.c | prot->wfree(NULL, buff->mem_addr, buff->mem_len); |
buff | 1700 | net/inet/tcp.c | buff->len += tmp; |
buff | 1734 | net/inet/tcp.c | prot->queue_xmit(NULL, dev, buff, 1); |
buff | 1815 | net/inet/tcp.c | struct sk_buff *buff; |
buff | 1952 | net/inet/tcp.c | buff = newsk->prot->wmalloc(newsk, MAX_SYN_SIZE, 1, GFP_ATOMIC); |
buff | 1953 | net/inet/tcp.c | if (buff == NULL) { |
buff | 1962 | net/inet/tcp.c | buff->len = sizeof(struct tcphdr)+4; |
buff | 1963 | net/inet/tcp.c | buff->sk = newsk; |
buff | 1964 | net/inet/tcp.c | buff->localroute = newsk->localroute; |
buff | 1966 | net/inet/tcp.c | t1 =(struct tcphdr *) buff->data; |
buff | 1969 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, newsk->saddr, newsk->daddr, &ndev, |
buff | 1975 | net/inet/tcp.c | buff->free=1; |
buff | 1976 | net/inet/tcp.c | kfree_skb(buff,FREE_WRITE); |
buff | 1985 | net/inet/tcp.c | buff->len += tmp; |
buff | 1989 | net/inet/tcp.c | buff->h.seq = newsk->write_seq; |
buff | 2015 | net/inet/tcp.c | newsk->prot->queue_xmit(newsk, dev, buff, 0); |
buff | 2033 | net/inet/tcp.c | struct sk_buff *buff; |
buff | 2116 | net/inet/tcp.c | buff = prot->wmalloc(sk, MAX_FIN_SIZE, 1, GFP_ATOMIC); |
buff | 2117 | net/inet/tcp.c | if (buff == NULL) |
buff | 2128 | net/inet/tcp.c | buff->sk = sk; |
buff | 2129 | net/inet/tcp.c | buff->free = 1; |
buff | 2130 | net/inet/tcp.c | buff->len = sizeof(*t1); |
buff | 2131 | net/inet/tcp.c | buff->localroute = sk->localroute; |
buff | 2132 | net/inet/tcp.c | t1 =(struct tcphdr *) buff->data; |
buff | 2137 | net/inet/tcp.c | tmp = prot->build_header(buff,sk->saddr, sk->daddr, &dev, |
buff | 2142 | net/inet/tcp.c | kfree_skb(buff,FREE_WRITE); |
buff | 2157 | net/inet/tcp.c | buff->len += tmp; |
buff | 2158 | net/inet/tcp.c | buff->dev = dev; |
buff | 2162 | net/inet/tcp.c | buff->h.seq = sk->write_seq; |
buff | 2182 | net/inet/tcp.c | prot->queue_xmit(sk, dev, buff, 0); |
buff | 2187 | net/inet/tcp.c | if (buff->next != NULL) |
buff | 2190 | net/inet/tcp.c | skb_unlink(buff); |
buff | 2192 | net/inet/tcp.c | skb_queue_tail(&sk->write_queue, buff); |
buff | 3032 | net/inet/tcp.c | struct sk_buff *buff; |
buff | 3089 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk,MAX_SYN_SIZE,0, GFP_KERNEL); |
buff | 3090 | net/inet/tcp.c | if (buff == NULL) |
buff | 3095 | net/inet/tcp.c | buff->len = 24; |
buff | 3096 | net/inet/tcp.c | buff->sk = sk; |
buff | 3097 | net/inet/tcp.c | buff->free = 1; |
buff | 3098 | net/inet/tcp.c | buff->localroute = sk->localroute; |
buff | 3100 | net/inet/tcp.c | t1 = (struct tcphdr *) buff->data; |
buff | 3110 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
buff | 3114 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
buff | 3119 | net/inet/tcp.c | buff->len += tmp; |
buff | 3125 | net/inet/tcp.c | buff->h.seq = sk->write_seq; |
buff | 3178 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 0); |
buff | 3662 | net/inet/tcp.c | struct sk_buff *buff; |
buff | 3674 | net/inet/tcp.c | buff = sk->prot->wmalloc(sk,MAX_ACK_SIZE,1, GFP_ATOMIC); |
buff | 3675 | net/inet/tcp.c | if (buff == NULL) |
buff | 3678 | net/inet/tcp.c | buff->len = sizeof(struct tcphdr); |
buff | 3679 | net/inet/tcp.c | buff->free = 1; |
buff | 3680 | net/inet/tcp.c | buff->sk = sk; |
buff | 3681 | net/inet/tcp.c | buff->localroute = sk->localroute; |
buff | 3684 | net/inet/tcp.c | t1 = (struct tcphdr *) buff->data; |
buff | 3687 | net/inet/tcp.c | tmp = sk->prot->build_header(buff, sk->saddr, sk->daddr, &dev, |
buff | 3691 | net/inet/tcp.c | sk->prot->wfree(sk, buff->mem_addr, buff->mem_len); |
buff | 3695 | net/inet/tcp.c | buff->len += tmp; |
buff | 3721 | net/inet/tcp.c | sk->prot->queue_xmit(sk, dev, buff, 1); |
buff | 259 | net/inet/udp.c | unsigned char *buff; |
buff | 291 | net/inet/udp.c | buff = skb->data; |
buff | 310 | net/inet/udp.c | buff += tmp; |
buff | 321 | net/inet/udp.c | uh = (struct udphdr *) buff; |
buff | 325 | net/inet/udp.c | buff = (unsigned char *) (uh + 1); |
buff | 331 | net/inet/udp.c | memcpy_fromfs(buff, from, len); |
buff | 420 | net/inet/udp.c | static int udp_write(struct sock *sk, unsigned char *buff, int len, int noblock, |
buff | 423 | net/inet/udp.c | return(udp_sendto(sk, buff, len, noblock, flags, NULL, 0)); |
buff | 600 | net/inet/udp.c | int udp_read(struct sock *sk, unsigned char *buff, int len, int noblock, |
buff | 603 | net/inet/udp.c | return(udp_recvfrom(sk, buff, len, noblock, flags, NULL, NULL)); |
buff | 39 | net/inet/udp.h | extern int udp_read(struct sock *sk, unsigned char *buff, |
buff | 50 | net/inet/utils.c | static char buff[18]; |
buff | 54 | net/inet/utils.c | sprintf(buff, "%d.%d.%d.%d", |
buff | 56 | net/inet/utils.c | return(buff); |
buff | 99 | net/inet/utils.c | char *buff; |
buff | 105 | net/inet/utils.c | buff = (char *) kmalloc(256, GFP_ATOMIC); |
buff | 106 | net/inet/utils.c | if (buff != NULL) |
buff | 109 | net/inet/utils.c | vsprintf(buff, fmt, args); |
buff | 111 | net/inet/utils.c | printk(buff); |
buff | 112 | net/inet/utils.c | kfree(buff); |
buff | 92 | net/socket.c | char buff[1024]; |
buff | 98 | net/socket.c | vsprintf(buff, fmt, args); |
buff | 100 | net/socket.c | printk(buff); |
buff | 710 | net/socket.c | sock_send(int fd, void * buff, int len, unsigned flags) |
buff | 717 | net/socket.c | fd, buff, len, flags)); |
buff | 723 | net/socket.c | return(sock->ops->send(sock, buff, len, (file->f_flags & O_NONBLOCK), flags)); |
buff | 728 | net/socket.c | sock_sendto(int fd, void * buff, int len, unsigned flags, |
buff | 736 | net/socket.c | " addr=%X, alen = %d\n", fd, buff, len, flags, addr, addr_len)); |
buff | 742 | net/socket.c | return(sock->ops->sendto(sock, buff, len, (file->f_flags & O_NONBLOCK), |
buff | 748 | net/socket.c | sock_recv(int fd, void * buff, int len, unsigned flags) |
buff | 755 | net/socket.c | fd, buff, len, flags)); |
buff | 761 | net/socket.c | return(sock->ops->recv(sock, buff, len,(file->f_flags & O_NONBLOCK), flags)); |
buff | 766 | net/socket.c | sock_recvfrom(int fd, void * buff, int len, unsigned flags, |
buff | 774 | net/socket.c | " addr=%X, alen=%X\n", fd, buff, len, flags, addr, addr_len)); |
buff | 780 | net/socket.c | return(sock->ops->recvfrom(sock, buff, len, (file->f_flags & O_NONBLOCK), |
buff | 79 | net/unix/sock.c | static int unix_proto_send(struct socket *sock, void *buff, int len, |
buff | 81 | net/unix/sock.c | static int unix_proto_recv(struct socket *sock, void *buff, int len, |
buff | 83 | net/unix/sock.c | static int unix_proto_sendto(struct socket *sock, void *buff, int len, |
buff | 86 | net/unix/sock.c | static int unix_proto_recvfrom(struct socket *sock, void *buff, int len, |
buff | 102 | net/unix/sock.c | char *buff; |
buff | 107 | net/unix/sock.c | buff = (char *) kmalloc(256, GFP_KERNEL); |
buff | 108 | net/unix/sock.c | if (buff != NULL) { |
buff | 110 | net/unix/sock.c | vsprintf(buff, fmt, args); |
buff | 112 | net/unix/sock.c | printk(buff); |
buff | 113 | net/unix/sock.c | kfree(buff); |
buff | 193 | net/unix/sock.c | unix_proto_sendto(struct socket *sock, void *buff, int len, int nonblock, |
buff | 200 | net/unix/sock.c | unix_proto_recvfrom(struct socket *sock, void *buff, int len, int nonblock, |
buff | 216 | net/unix/sock.c | unix_proto_send(struct socket *sock, void *buff, int len, int nonblock, |
buff | 220 | net/unix/sock.c | return(unix_proto_write(sock, (char *) buff, len, nonblock)); |
buff | 226 | net/unix/sock.c | unix_proto_recv(struct socket *sock, void *buff, int len, int nonblock, |
buff | 230 | net/unix/sock.c | return(unix_proto_read(sock, (char *) buff, len, nonblock)); |