tag | line | file | source code |
ip | 335 | arch/i386/kernel/vm86.c | unsigned long ip, sp; |
ip | 340 | arch/i386/kernel/vm86.c | ip = IP(regs); |
ip | 342 | arch/i386/kernel/vm86.c | switch (popb(csp, ip)) { |
ip | 346 | arch/i386/kernel/vm86.c | switch (popb(csp, ip)) { |
ip | 380 | arch/i386/kernel/vm86.c | do_int(regs, popb(csp, ip), ssp, sp); |
ip | 602 | arch/i386/math-emu/fpu_entry.c | unsigned char *ip = *fpu_eip; |
ip | 608 | arch/i386/math-emu/fpu_entry.c | byte = get_fs_byte(ip); |
ip | 651 | arch/i386/math-emu/fpu_entry.c | ip++; |
ip | 654 | arch/i386/math-emu/fpu_entry.c | byte = get_fs_byte(ip); |
ip | 664 | arch/i386/math-emu/fpu_entry.c | *fpu_eip = ip; |
ip | 510 | drivers/block/aztcd.c | static int aztcd_ioctl(struct inode *ip, struct file *fp, unsigned int cmd, unsigned long arg) |
ip | 524 | drivers/block/aztcd.c | if (!ip) return -EINVAL; |
ip | 1235 | drivers/block/aztcd.c | int aztcd_open(struct inode *ip, struct file *fp) |
ip | 1568 | drivers/block/ide-cd.c | cdrom_open (struct inode *ip, struct file *fp, ide_dev_t *dev) |
ip | 240 | drivers/block/mcd.c | mcd_ioctl(struct inode *ip, struct file *fp, unsigned int cmd, |
ip | 253 | drivers/block/mcd.c | if (!ip) |
ip | 1013 | drivers/block/mcd.c | mcd_open(struct inode *ip, struct file *fp) |
ip | 3935 | drivers/block/sbpcd.c | static int sbpcd_open(struct inode *ip, struct file *fp) |
ip | 3939 | drivers/block/sbpcd.c | i = MINOR(ip->i_rdev); |
ip | 3942 | drivers/block/sbpcd.c | printk("SBPCD: open: bad device: %04X\n", ip->i_rdev); |
ip | 4007 | drivers/block/sbpcd.c | static void sbpcd_release(struct inode * ip, struct file * file) |
ip | 4011 | drivers/block/sbpcd.c | i = MINOR(ip->i_rdev); |
ip | 4014 | drivers/block/sbpcd.c | printk("SBPCD: release: bad device: %04X\n", ip->i_rdev); |
ip | 4020 | drivers/block/sbpcd.c | sync_dev(ip->i_rdev); /* nonsense if read only device? */ |
ip | 4021 | drivers/block/sbpcd.c | invalidate_buffers(ip->i_rdev); |
ip | 250 | drivers/net/slhc.c | struct iphdr *ip; |
ip | 253 | drivers/net/slhc.c | ip = (struct iphdr *) icp; |
ip | 256 | drivers/net/slhc.c | if(ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x1fff) || |
ip | 257 | drivers/net/slhc.c | (ip->frag_off & 32)){ |
ip | 259 | drivers/net/slhc.c | if(ip->protocol != IPPROTO_TCP) |
ip | 267 | drivers/net/slhc.c | th = (struct tcphdr *)(((unsigned char *)ip) + ip->ihl*4); |
ip | 268 | drivers/net/slhc.c | hlen = ip->ihl*4 + th->doff*4; |
ip | 294 | drivers/net/slhc.c | if( ip->saddr == cs->cs_ip.saddr |
ip | 295 | drivers/net/slhc.c | && ip->daddr == cs->cs_ip.daddr |
ip | 351 | drivers/net/slhc.c | || ip->version != cs->cs_ip.version || ip->ihl != cs->cs_ip.ihl |
ip | 352 | drivers/net/slhc.c | || ip->tos != cs->cs_ip.tos |
ip | 353 | drivers/net/slhc.c | || (ip->frag_off & 64) != (cs->cs_ip.frag_off & 64) |
ip | 354 | drivers/net/slhc.c | || ip->ttl != cs->cs_ip.ttl |
ip | 356 | drivers/net/slhc.c | || (ip->ihl > 5 && memcmp(ip+1,cs->cs_ipopt,((ip->ihl)-5)*4) != 0) |
ip | 403 | drivers/net/slhc.c | if(ip->tot_len != cs->cs_ip.tot_len && |
ip | 430 | drivers/net/slhc.c | deltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id); |
ip | 441 | drivers/net/slhc.c | memcpy(&cs->cs_ip,ip,20); |
ip | 474 | drivers/net/slhc.c | memcpy(&cs->cs_ip,ip,20); |
ip | 476 | drivers/net/slhc.c | if (ip->ihl > 5) |
ip | 477 | drivers/net/slhc.c | memcpy(cs->cs_ipopt, ip+1, ((ip->ihl) - 5) * 4); |
ip | 496 | drivers/net/slhc.c | register struct iphdr *ip; |
ip | 529 | drivers/net/slhc.c | ip = &cs->cs_ip; |
ip | 543 | drivers/net/slhc.c | hdrlen = ip->ihl * 4 + thp->doff * 4; |
ip | 549 | drivers/net/slhc.c | i = ntohs(ip->tot_len) - hdrlen; |
ip | 557 | drivers/net/slhc.c | ntohs(ip->tot_len) - hdrlen); |
ip | 593 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + x); |
ip | 595 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + 1); |
ip | 607 | drivers/net/slhc.c | ip->tot_len = htons(len); |
ip | 608 | drivers/net/slhc.c | ip->check = 0; |
ip | 613 | drivers/net/slhc.c | memcpy(cp, ip, 20); |
ip | 616 | drivers/net/slhc.c | if (ip->ihl > 5) { |
ip | 617 | drivers/net/slhc.c | memcpy(cp, cs->cs_ipopt, ((ip->ihl) - 5) * 4); |
ip | 618 | drivers/net/slhc.c | cp += ((ip->ihl) - 5) * 4; |
ip | 643 | drivers/net/slhc.c | struct iphdr *ip; |
ip | 662 | drivers/net/slhc.c | ip = (struct iphdr *) icp; |
ip | 664 | drivers/net/slhc.c | if (ip_fast_csum(icp, ip->ihl)) { |
ip | 669 | drivers/net/slhc.c | thp = (struct tcphdr *)(((unsigned char *)ip) + ip->ihl*4); |
ip | 678 | drivers/net/slhc.c | memcpy(&cs->cs_ip,ip,20); |
ip | 680 | drivers/net/slhc.c | if (ip->ihl > 5) |
ip | 681 | drivers/net/slhc.c | memcpy(cs->cs_ipopt, ip+1, ((ip->ihl) - 5) * 4); |
ip | 684 | drivers/net/slhc.c | cs->cs_hsize = ip->ihl*2 + thp->doff*2; |
ip | 1226 | drivers/scsi/aha1542.c | int aha1542_biosparam(Scsi_Disk * disk, int dev, int * ip) |
ip | 1235 | drivers/scsi/aha1542.c | ip[0] = 255; |
ip | 1236 | drivers/scsi/aha1542.c | ip[1] = 63; |
ip | 1237 | drivers/scsi/aha1542.c | ip[2] = size /255/63; |
ip | 1239 | drivers/scsi/aha1542.c | ip[0] = 64; |
ip | 1240 | drivers/scsi/aha1542.c | ip[1] = 32; |
ip | 1241 | drivers/scsi/aha1542.c | ip[2] = size >> 11; |
ip | 502 | drivers/scsi/aha1740.c | int aha1740_biosparam(Disk * disk, int dev, int* ip) |
ip | 506 | drivers/scsi/aha1740.c | ip[0] = 64; |
ip | 507 | drivers/scsi/aha1740.c | ip[1] = 32; |
ip | 508 | drivers/scsi/aha1740.c | ip[2] = size >> 11; |
ip | 1528 | drivers/scsi/buslogic.c | int buslogic_biosparam(Disk *disk, int dev, int *ip) |
ip | 1538 | drivers/scsi/buslogic.c | ip[0] = 256; |
ip | 1539 | drivers/scsi/buslogic.c | ip[1] = 64; |
ip | 1541 | drivers/scsi/buslogic.c | ip[0] = 256; |
ip | 1542 | drivers/scsi/buslogic.c | ip[1] = 32; |
ip | 1545 | drivers/scsi/buslogic.c | ip[0] = 256; |
ip | 1546 | drivers/scsi/buslogic.c | ip[1] = 64; |
ip | 1549 | drivers/scsi/buslogic.c | ip[0] = 128; |
ip | 1550 | drivers/scsi/buslogic.c | ip[1] = 32; |
ip | 1553 | drivers/scsi/buslogic.c | ip[0] = 64; |
ip | 1554 | drivers/scsi/buslogic.c | ip[1] = 32; |
ip | 1556 | drivers/scsi/buslogic.c | ip[2] = size / (ip[0] * ip[1]); |
ip | 446 | drivers/scsi/pas16.c | int pas16_biosparam(Disk * disk, int dev, int * ip) |
ip | 449 | drivers/scsi/pas16.c | ip[0] = 64; |
ip | 450 | drivers/scsi/pas16.c | ip[1] = 32; |
ip | 451 | drivers/scsi/pas16.c | ip[2] = size >> 11; /* I think I have it as /(32*64) */ |
ip | 452 | drivers/scsi/pas16.c | if( ip[2] > 1024 ) { /* yes, >, not >= */ |
ip | 453 | drivers/scsi/pas16.c | ip[0]=255; |
ip | 454 | drivers/scsi/pas16.c | ip[1]=63; |
ip | 455 | drivers/scsi/pas16.c | ip[2]=size/(63*255); |
ip | 456 | drivers/scsi/pas16.c | if( ip[2] > 1023 ) /* yes >1023... */ |
ip | 457 | drivers/scsi/pas16.c | ip[2] = 1023; |
ip | 611 | drivers/scsi/qlogic.c | int qlogic_biosparam(Disk * disk, int dev, int ip[]) |
ip | 614 | drivers/scsi/qlogic.c | ip[0] = 0x40; |
ip | 615 | drivers/scsi/qlogic.c | ip[1] = 0x20; |
ip | 616 | drivers/scsi/qlogic.c | ip[2] = disk->capacity / (ip[0] * ip[1]); |
ip | 617 | drivers/scsi/qlogic.c | if (ip[2] > 1024) { |
ip | 618 | drivers/scsi/qlogic.c | ip[0] = 0xff; |
ip | 619 | drivers/scsi/qlogic.c | ip[1] = 0x3f; |
ip | 620 | drivers/scsi/qlogic.c | ip[2] = disk->capacity / (ip[0] * ip[1]); |
ip | 621 | drivers/scsi/qlogic.c | if (ip[2] > 1023) |
ip | 622 | drivers/scsi/qlogic.c | ip[2] = 1023; |
ip | 39 | drivers/scsi/scsicam.c | int *ip /* Heads, sectors, cylinders in that order */) { |
ip | 50 | drivers/scsi/scsicam.c | ret_code = partsize (bh, (unsigned long) size, (unsigned int *) ip + 2, |
ip | 51 | drivers/scsi/scsicam.c | (unsigned int *) ip + 0, (unsigned int *) ip + 1); |
ip | 58 | drivers/scsi/scsicam.c | ret_code = setsize ((unsigned long) size, (unsigned int *) ip + 2, |
ip | 59 | drivers/scsi/scsicam.c | (unsigned int *) ip + 0, (unsigned int *) ip + 1); |
ip | 1599 | drivers/scsi/seagate.c | int seagate_st0x_biosparam(Disk * disk, int dev, int* ip) { |
ip | 1685 | drivers/scsi/seagate.c | ip[0] = heads; |
ip | 1686 | drivers/scsi/seagate.c | ip[1] = sectors; |
ip | 1687 | drivers/scsi/seagate.c | ip[2] = cylinders; |
ip | 292 | drivers/scsi/t128.c | int t128_biosparam(Disk * disk, int dev, int * ip) |
ip | 295 | drivers/scsi/t128.c | ip[0] = 64; |
ip | 296 | drivers/scsi/t128.c | ip[1] = 32; |
ip | 297 | drivers/scsi/t128.c | ip[2] = size >> 11; |
ip | 1207 | drivers/scsi/wd7000.c | int wd7000_biosparam(Disk * disk, int dev, int* ip) |
ip | 1210 | drivers/scsi/wd7000.c | ip[0] = 64; |
ip | 1211 | drivers/scsi/wd7000.c | ip[1] = 32; |
ip | 1212 | drivers/scsi/wd7000.c | ip[2] = size >> 11; |
ip | 15 | include/linux/scsicam.h | extern int scsicam_bios_param (Disk *disk, int dev, int *ip); |
ip | 245 | lib/vsprintf.c | long * ip = va_arg(args, long *); |
ip | 246 | lib/vsprintf.c | *ip = (str - buf); |
ip | 248 | lib/vsprintf.c | int * ip = va_arg(args, int *); |
ip | 249 | lib/vsprintf.c | *ip = (str - buf); |
ip | 84 | net/inet/arp.c | unsigned long ip; /* ip address of entry */ |
ip | 396 | net/inet/arp.c | unsigned long ip = entry->ip; |
ip | 404 | net/inet/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, ip, dev, dev->pa_addr, |
ip | 416 | net/inet/arp.c | hash = HASH(entry->ip); |
ip | 462 | net/inet/arp.c | in_ntoa(entry->ip)); |
ip | 487 | net/inet/arp.c | printk("arp_send_q: active entity %s\n",in_ntoa(entry->ip)); |
ip | 514 | net/inet/arp.c | if (entry->ip == ip_addr) |
ip | 697 | net/inet/arp.c | !((proxy_entry->ip^tip)&proxy_entry->mask)) |
ip | 735 | net/inet/arp.c | if(entry->ip==sip && entry->htype==htype) |
ip | 783 | net/inet/arp.c | entry->ip = sip; |
ip | 898 | net/inet/arp.c | entry->ip = paddr; |
ip | 988 | net/inet/arp.c | in_ntoa(entry->ip), |
ip | 1031 | net/inet/arp.c | if (entry->ip == paddr) break; |
ip | 1036 | net/inet/arp.c | if ((proxy==PROXY_EXACT) ? (entry->ip==paddr) |
ip | 1037 | net/inet/arp.c | : !((entry->ip^paddr)&entry->mask)) |
ip | 1054 | net/inet/arp.c | unsigned long ip; |
ip | 1091 | net/inet/arp.c | ip = si->sin_addr.s_addr; |
ip | 1092 | net/inet/arp.c | if (ip == 0) |
ip | 1102 | net/inet/arp.c | rt = ip_rt_route(ip, NULL, NULL); |
ip | 1115 | net/inet/arp.c | entry = arp_lookup(ip, PROXY_EXACT); |
ip | 1119 | net/inet/arp.c | arp_destroy(ip,1); |
ip | 1130 | net/inet/arp.c | unsigned long hash = HASH(ip); |
ip | 1141 | net/inet/arp.c | entry->ip = ip; |
ip | 348 | net/inet/icmp.c | unsigned long ip; |
ip | 355 | net/inet/icmp.c | ip = iph->daddr; |
ip | 367 | net/inet/icmp.c | ip, 0, icmph->un.gateway, dev,0, 0); |
ip | 379 | net/inet/icmp.c | rt = ip_rt_route(ip, NULL, NULL); |
ip | 386 | net/inet/icmp.c | ip, 0, icmph->un.gateway, dev,0, 0); |
ip | 76 | net/inet/ip.h | extern void ip_print(const struct iphdr *ip); |
ip | 89 | net/inet/ip.h | extern void ip_send_check(struct iphdr *ip); |
ip | 149 | net/inet/ip_fw.c | int ip_fw_chk(struct iphdr *ip, struct device *rif, struct ip_fw *chain, int policy, int opt) |
ip | 152 | net/inet/ip_fw.c | struct tcphdr *tcp=(struct tcphdr *)((unsigned long *)ip+ip->ihl); |
ip | 153 | net/inet/ip_fw.c | struct udphdr *udp=(struct udphdr *)((unsigned long *)ip+ip->ihl); |
ip | 166 | net/inet/ip_fw.c | src = ip->saddr; |
ip | 167 | net/inet/ip_fw.c | dst = ip->daddr; |
ip | 183 | net/inet/ip_fw.c | frag1 = ((ntohs(ip->frag_off) & IP_OFFSET) == 0); |
ip | 184 | net/inet/ip_fw.c | if (!frag1 && (opt != 1) && (ip->protocol == IPPROTO_TCP || |
ip | 185 | net/inet/ip_fw.c | ip->protocol == IPPROTO_UDP)) |
ip | 188 | net/inet/ip_fw.c | src = ip->saddr; |
ip | 189 | net/inet/ip_fw.c | dst = ip->daddr; |
ip | 200 | net/inet/ip_fw.c | switch(ip->protocol) |
ip | 228 | net/inet/ip_fw.c | dprintf2("p=%d ",ip->protocol); |
ip | 232 | net/inet/ip_fw.c | dprint_ip(ip->saddr); |
ip | 234 | net/inet/ip_fw.c | if (ip->protocol==IPPROTO_TCP || ip->protocol==IPPROTO_UDP) |
ip | 237 | net/inet/ip_fw.c | dprint_ip(ip->daddr); |
ip | 238 | net/inet/ip_fw.c | if (ip->protocol==IPPROTO_TCP || ip->protocol==IPPROTO_UDP) |
ip | 345 | net/inet/ip_fw.c | switch(ip->protocol) |
ip | 356 | net/inet/ip_fw.c | printk("p=%d ",ip->protocol); |
ip | 359 | net/inet/ip_fw.c | print_ip(ip->saddr); |
ip | 360 | net/inet/ip_fw.c | if(ip->protocol == IPPROTO_TCP || ip->protocol == IPPROTO_UDP) |
ip | 363 | net/inet/ip_fw.c | print_ip(ip->daddr); |
ip | 364 | net/inet/ip_fw.c | if(ip->protocol == IPPROTO_TCP || ip->protocol == IPPROTO_UDP) |
ip | 370 | net/inet/ip_fw.c | f->fw_bcnt+=ntohs(ip->tot_len); |
ip | 837 | net/inet/ip_fw.c | struct iphdr *ip; |
ip | 849 | net/inet/ip_fw.c | ip = &(ipfwp->fwp_iph); |
ip | 851 | net/inet/ip_fw.c | if ( ip->ihl != sizeof(struct iphdr) / sizeof(int)) |
ip | 854 | net/inet/ip_fw.c | printf("ip_fw_ctl: ip->ihl=%d, want %d\n",ip->ihl, |
ip | 855 | net/inet/ip_fw.c | sizeof(struct ip)/sizeof(int)); |
ip | 862 | net/inet/ip_fw.c | if ((ret = ip_fw_chk(ip, &viadev, |
ip | 69 | net/inet/rarp.c | unsigned long ip; /* ip address of entry */ |
ip | 124 | net/inet/rarp.c | if (entry->ip == ip_addr) |
ip | 215 | net/inet/rarp.c | sip=entry->ip; |
ip | 239 | net/inet/rarp.c | unsigned long ip; |
ip | 268 | net/inet/rarp.c | ip = si->sin_addr.s_addr; |
ip | 269 | net/inet/rarp.c | if (ip == 0) |
ip | 279 | net/inet/rarp.c | rt = ip_rt_route(ip, NULL, NULL); |
ip | 289 | net/inet/rarp.c | if (entry->ip == ip) |
ip | 315 | net/inet/rarp.c | entry->ip = ip; |
ip | 336 | net/inet/rarp.c | unsigned long ip; |
ip | 352 | net/inet/rarp.c | ip = si->sin_addr.s_addr; |
ip | 356 | net/inet/rarp.c | if (entry->ip == ip) |
ip | 452 | net/inet/rarp.c | netip=htonl(entry->ip); /* switch to network order */ |
ip | 104 | net/inet/udp.c | struct iphdr *ip=(struct iphdr *)header; |
ip | 106 | net/inet/udp.c | header += 4*ip->ihl; |