tag | line | file | source code |
ip | 347 | arch/i386/kernel/vm86.c | unsigned long ip, sp; |
ip | 352 | arch/i386/kernel/vm86.c | ip = IP(regs); |
ip | 354 | arch/i386/kernel/vm86.c | switch (popb(csp, ip)) { |
ip | 358 | arch/i386/kernel/vm86.c | switch (popb(csp, ip)) { |
ip | 400 | 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 | 2597 | drivers/block/ide-cd.c | int ide_cdrom_open (struct inode *ip, struct file *fp, ide_drive_t *drive) |
ip | 611 | drivers/cdrom/aztcd.c | static int aztcd_ioctl(struct inode *ip, struct file *fp, unsigned int cmd, unsigned long arg) |
ip | 626 | drivers/cdrom/aztcd.c | if (!ip) RETURNM("aztcd_ioctl 1",-EINVAL); |
ip | 1455 | drivers/cdrom/aztcd.c | int aztcd_open(struct inode *ip, struct file *fp) |
ip | 532 | drivers/cdrom/cm206.c | static int cm206_open(struct inode *ip, struct file *fp) |
ip | 569 | drivers/cdrom/cm206.c | static void cm206_release(struct inode *ip, struct file *fp) |
ip | 579 | drivers/cdrom/cm206.c | sync_dev(ip -> i_rdev); /* These two lines are stolen */ |
ip | 580 | drivers/cdrom/cm206.c | invalidate_buffers(ip -> i_rdev); |
ip | 202 | drivers/cdrom/gscd.c | static int gscd_ioctl (struct inode *ip, struct file *fp, unsigned int cmd, unsigned long arg) |
ip | 362 | drivers/cdrom/gscd.c | static int gscd_open (struct inode *ip, struct file *fp) |
ip | 284 | drivers/cdrom/mcd.c | mcd_ioctl(struct inode *ip, struct file *fp, unsigned int cmd, |
ip | 297 | drivers/cdrom/mcd.c | if (!ip) |
ip | 1093 | drivers/cdrom/mcd.c | mcd_open(struct inode *ip, struct file *fp) |
ip | 267 | drivers/cdrom/mcdx.c | struct inode* ip, struct file* fp, |
ip | 270 | drivers/cdrom/mcdx.c | struct s_drive_stuff *stuffp = mcdx_stuffp[MINOR(ip->i_rdev)]; |
ip | 273 | drivers/cdrom/mcdx.c | if (!ip) return -EINVAL; |
ip | 609 | drivers/cdrom/mcdx.c | mcdx_open(struct inode *ip, struct file *fp) |
ip | 616 | drivers/cdrom/mcdx.c | stuffp = mcdx_stuffp[MINOR(ip->i_rdev)]; |
ip | 757 | drivers/cdrom/mcdx.c | mcdx_close(struct inode *ip, struct file *fp) |
ip | 763 | drivers/cdrom/mcdx.c | stuffp = mcdx_stuffp[MINOR(ip->i_rdev)]; |
ip | 766 | drivers/cdrom/mcdx.c | sync_dev(ip->i_rdev); /* needed for r/o device? */ |
ip | 769 | drivers/cdrom/mcdx.c | invalidate_buffers(ip->i_rdev); |
ip | 1369 | drivers/cdrom/mcdx.c | static char* port(int *ip) { return (char*) ip[0]; } |
ip | 1370 | drivers/cdrom/mcdx.c | static int irq(int *ip) { return ip[1]; } |
ip | 1734 | drivers/cdrom/optcd.c | static int opt_ioctl(struct inode *ip, struct file *fp, |
ip | 1741 | drivers/cdrom/optcd.c | if (!ip) |
ip | 1865 | drivers/cdrom/optcd.c | static int opt_open(struct inode *ip, struct file *fp) |
ip | 1915 | drivers/cdrom/optcd.c | static void opt_release(struct inode *ip, struct file *fp) |
ip | 1921 | drivers/cdrom/optcd.c | ip, ip -> i_rdev, fp)); |
ip | 1926 | drivers/cdrom/optcd.c | sync_dev(ip -> i_rdev); |
ip | 1927 | drivers/cdrom/optcd.c | invalidate_buffers(ip -> i_rdev); |
ip | 4881 | drivers/cdrom/sbpcd.c | static int sbpcd_open(struct inode *ip, struct file *fp) |
ip | 4885 | drivers/cdrom/sbpcd.c | i = MINOR(ip->i_rdev); |
ip | 4888 | drivers/cdrom/sbpcd.c | msg(DBG_INF, "open: bad device: %04X\n", ip->i_rdev); |
ip | 4966 | drivers/cdrom/sbpcd.c | static void sbpcd_release(struct inode * ip, struct file * file) |
ip | 4970 | drivers/cdrom/sbpcd.c | i = MINOR(ip->i_rdev); |
ip | 4973 | drivers/cdrom/sbpcd.c | msg(DBG_INF, "release: bad device: %04X\n", ip->i_rdev); |
ip | 4979 | drivers/cdrom/sbpcd.c | sync_dev(ip->i_rdev); /* nonsense if read only device? */ |
ip | 4980 | drivers/cdrom/sbpcd.c | invalidate_buffers(ip->i_rdev); |
ip | 653 | drivers/cdrom/sjcd.c | static int sjcd_ioctl( struct inode *ip, struct file *fp, |
ip | 659 | drivers/cdrom/sjcd.c | if( ip == NULL ) return( -EINVAL ); |
ip | 1309 | drivers/cdrom/sjcd.c | int sjcd_open( struct inode *ip, struct file *fp ){ |
ip | 643 | drivers/char/istallion.c | static int stli_memread(struct inode *ip, struct file *fp, char *buf, int count); |
ip | 644 | drivers/char/istallion.c | static int stli_memwrite(struct inode *ip, struct file *fp, const char *buf, int count); |
ip | 645 | drivers/char/istallion.c | static int stli_memioctl(struct inode *ip, struct file *fp, unsigned int cmd, unsigned long arg); |
ip | 4152 | drivers/char/istallion.c | static int stli_memread(struct inode *ip, struct file *fp, char *buf, int count) |
ip | 4160 | drivers/char/istallion.c | printk("stli_memread(ip=%x,fp=%x,buf=%x,count=%d)\n", (int) ip, (int) fp, (int) buf, count); |
ip | 4163 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
ip | 4201 | drivers/char/istallion.c | static int stli_memwrite(struct inode *ip, struct file *fp, const char *buf, int count) |
ip | 4210 | drivers/char/istallion.c | printk("stli_memwrite(ip=%x,fp=%x,buf=%x,count=%x)\n", (int) ip, (int) fp, (int) buf, count); |
ip | 4213 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
ip | 4252 | drivers/char/istallion.c | static int stli_memioctl(struct inode *ip, struct file *fp, unsigned int cmd, unsigned long arg) |
ip | 4258 | drivers/char/istallion.c | printk("stli_memioctl(ip=%x,fp=%x,cmd=%x,arg=%x)\n", (int) ip, (int) fp, cmd, (int) arg); |
ip | 4261 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
ip | 103 | drivers/net/new_tunnel.c | void print_ip(struct iphdr *ip) |
ip | 108 | drivers/net/new_tunnel.c | printk("--- header len = %d\n", ip->ihl*4); |
ip | 109 | drivers/net/new_tunnel.c | printk("--- ip version: %d\n", ip->version); |
ip | 110 | drivers/net/new_tunnel.c | printk("--- ip protocol: %d\n", ip->protocol); |
ip | 111 | drivers/net/new_tunnel.c | ipaddr=(unsigned char *)&ip->saddr; |
ip | 114 | drivers/net/new_tunnel.c | ipaddr=(unsigned char *)&ip->daddr; |
ip | 117 | drivers/net/new_tunnel.c | printk("--- total packet len: %d\n", ntohs(ip->tot_len)); |
ip | 251 | drivers/net/slhc.c | struct iphdr *ip; |
ip | 254 | drivers/net/slhc.c | ip = (struct iphdr *) icp; |
ip | 257 | drivers/net/slhc.c | if(ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x1fff) || |
ip | 258 | drivers/net/slhc.c | (ip->frag_off & 32)){ |
ip | 260 | drivers/net/slhc.c | if(ip->protocol != IPPROTO_TCP) |
ip | 268 | drivers/net/slhc.c | th = (struct tcphdr *)(((unsigned char *)ip) + ip->ihl*4); |
ip | 269 | drivers/net/slhc.c | hlen = ip->ihl*4 + th->doff*4; |
ip | 295 | drivers/net/slhc.c | if( ip->saddr == cs->cs_ip.saddr |
ip | 296 | drivers/net/slhc.c | && ip->daddr == cs->cs_ip.daddr |
ip | 352 | drivers/net/slhc.c | || ip->version != cs->cs_ip.version || ip->ihl != cs->cs_ip.ihl |
ip | 353 | drivers/net/slhc.c | || ip->tos != cs->cs_ip.tos |
ip | 354 | drivers/net/slhc.c | || (ip->frag_off & 64) != (cs->cs_ip.frag_off & 64) |
ip | 355 | drivers/net/slhc.c | || ip->ttl != cs->cs_ip.ttl |
ip | 357 | drivers/net/slhc.c | || (ip->ihl > 5 && memcmp(ip+1,cs->cs_ipopt,((ip->ihl)-5)*4) != 0) |
ip | 404 | drivers/net/slhc.c | if(ip->tot_len != cs->cs_ip.tot_len && |
ip | 431 | drivers/net/slhc.c | deltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id); |
ip | 442 | drivers/net/slhc.c | memcpy(&cs->cs_ip,ip,20); |
ip | 475 | drivers/net/slhc.c | memcpy(&cs->cs_ip,ip,20); |
ip | 477 | drivers/net/slhc.c | if (ip->ihl > 5) |
ip | 478 | drivers/net/slhc.c | memcpy(cs->cs_ipopt, ip+1, ((ip->ihl) - 5) * 4); |
ip | 497 | drivers/net/slhc.c | register struct iphdr *ip; |
ip | 530 | drivers/net/slhc.c | ip = &cs->cs_ip; |
ip | 544 | drivers/net/slhc.c | hdrlen = ip->ihl * 4 + thp->doff * 4; |
ip | 550 | drivers/net/slhc.c | i = ntohs(ip->tot_len) - hdrlen; |
ip | 558 | drivers/net/slhc.c | ntohs(ip->tot_len) - hdrlen); |
ip | 594 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + x); |
ip | 596 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + 1); |
ip | 608 | drivers/net/slhc.c | ip->tot_len = htons(len); |
ip | 609 | drivers/net/slhc.c | ip->check = 0; |
ip | 614 | drivers/net/slhc.c | memcpy(cp, ip, 20); |
ip | 617 | drivers/net/slhc.c | if (ip->ihl > 5) { |
ip | 618 | drivers/net/slhc.c | memcpy(cp, cs->cs_ipopt, (ip->ihl - 5) * 4); |
ip | 619 | drivers/net/slhc.c | cp += (ip->ihl - 5) * 4; |
ip | 623 | drivers/net/slhc.c | stw_u(ip_fast_csum(icp, ip->ihl), &((struct iphdr *)icp)->check); |
ip | 99 | drivers/net/tunnel.c | void print_ip(struct iphdr *ip) |
ip | 104 | drivers/net/tunnel.c | printk("--- header len = %d\n", ip->ihl*4); |
ip | 105 | drivers/net/tunnel.c | printk("--- ip version: %d\n", ip->version); |
ip | 106 | drivers/net/tunnel.c | printk("--- ip protocol: %d\n", ip->protocol); |
ip | 107 | drivers/net/tunnel.c | ipaddr=(unsigned char *)&ip->saddr; |
ip | 110 | drivers/net/tunnel.c | ipaddr=(unsigned char *)&ip->daddr; |
ip | 113 | drivers/net/tunnel.c | printk("--- total packet len: %d\n", ntohs(ip->tot_len)); |
ip | 3432 | drivers/scsi/advansys.c | advansys_biosparam(Disk *dp, int dep, int ip[]) |
ip | 3434 | drivers/scsi/advansys.c | advansys_biosparam(Disk *dp, kdev_t dep, int ip[]) |
ip | 3441 | drivers/scsi/advansys.c | ip[0] = 255; |
ip | 3442 | drivers/scsi/advansys.c | ip[1] = 63; |
ip | 3444 | drivers/scsi/advansys.c | ip[0] = 64; |
ip | 3445 | drivers/scsi/advansys.c | ip[1] = 32; |
ip | 3447 | drivers/scsi/advansys.c | ip[2] = dp->capacity / (ip[0] * ip[1]); |
ip | 1295 | drivers/scsi/aha1542.c | int aha1542_biosparam(Scsi_Disk * disk, kdev_t dev, int * ip) |
ip | 1304 | drivers/scsi/aha1542.c | ip[0] = 255; |
ip | 1305 | drivers/scsi/aha1542.c | ip[1] = 63; |
ip | 1306 | drivers/scsi/aha1542.c | ip[2] = size /255/63; |
ip | 1308 | drivers/scsi/aha1542.c | ip[0] = 64; |
ip | 1309 | drivers/scsi/aha1542.c | ip[1] = 32; |
ip | 1310 | drivers/scsi/aha1542.c | ip[2] = size >> 11; |
ip | 508 | drivers/scsi/aha1740.c | int aha1740_biosparam(Disk * disk, kdev_t dev, int* ip) |
ip | 512 | drivers/scsi/aha1740.c | ip[0] = 64; |
ip | 513 | drivers/scsi/aha1740.c | ip[1] = 32; |
ip | 514 | drivers/scsi/aha1740.c | ip[2] = size >> 11; |
ip | 278 | drivers/scsi/g_NCR5380.c | int generic_NCR5380_biosparam(Disk * disk, kdev_t dev, int *ip) |
ip | 281 | drivers/scsi/g_NCR5380.c | ip[0] = 64; |
ip | 282 | drivers/scsi/g_NCR5380.c | ip[1] = 32; |
ip | 283 | drivers/scsi/g_NCR5380.c | ip[2] = size >> 11; |
ip | 459 | drivers/scsi/pas16.c | int pas16_biosparam(Disk * disk, kdev_t dev, int * ip) |
ip | 462 | drivers/scsi/pas16.c | ip[0] = 64; |
ip | 463 | drivers/scsi/pas16.c | ip[1] = 32; |
ip | 464 | drivers/scsi/pas16.c | ip[2] = size >> 11; /* I think I have it as /(32*64) */ |
ip | 465 | drivers/scsi/pas16.c | if( ip[2] > 1024 ) { /* yes, >, not >= */ |
ip | 466 | drivers/scsi/pas16.c | ip[0]=255; |
ip | 467 | drivers/scsi/pas16.c | ip[1]=63; |
ip | 468 | drivers/scsi/pas16.c | ip[2]=size/(63*255); |
ip | 469 | drivers/scsi/pas16.c | if( ip[2] > 1023 ) /* yes >1023... */ |
ip | 470 | drivers/scsi/pas16.c | ip[2] = 1023; |
ip | 632 | drivers/scsi/qlogic.c | int qlogic_biosparam(Disk * disk, kdev_t dev, int ip[]) |
ip | 635 | drivers/scsi/qlogic.c | ip[0] = 0x40; |
ip | 636 | drivers/scsi/qlogic.c | ip[1] = 0x20; |
ip | 637 | drivers/scsi/qlogic.c | ip[2] = disk->capacity / (ip[0] * ip[1]); |
ip | 638 | drivers/scsi/qlogic.c | if (ip[2] > 1024) { |
ip | 639 | drivers/scsi/qlogic.c | ip[0] = 0xff; |
ip | 640 | drivers/scsi/qlogic.c | ip[1] = 0x3f; |
ip | 641 | drivers/scsi/qlogic.c | ip[2] = disk->capacity / (ip[0] * ip[1]); |
ip | 642 | drivers/scsi/qlogic.c | if (ip[2] > 1023) |
ip | 643 | drivers/scsi/qlogic.c | ip[2] = 1023; |
ip | 34 | drivers/scsi/scsi_syms.c | int dev, int *ip ); |
ip | 47 | drivers/scsi/scsicam.c | int *ip /* Heads, sectors, cylinders in that order */) { |
ip | 59 | drivers/scsi/scsicam.c | ret_code = partsize (bh, (unsigned long) size, (unsigned int *) ip + 2, |
ip | 60 | drivers/scsi/scsicam.c | (unsigned int *) ip + 0, (unsigned int *) ip + 1); |
ip | 67 | drivers/scsi/scsicam.c | ret_code = setsize ((unsigned long) size, (unsigned int *) ip + 2, |
ip | 68 | drivers/scsi/scsicam.c | (unsigned int *) ip + 0, (unsigned int *) ip + 1); |
ip | 1637 | drivers/scsi/seagate.c | int seagate_st0x_biosparam(Disk * disk, kdev_t dev, int* ip) { |
ip | 1723 | drivers/scsi/seagate.c | ip[0] = heads; |
ip | 1724 | drivers/scsi/seagate.c | ip[1] = sectors; |
ip | 1725 | drivers/scsi/seagate.c | ip[2] = cylinders; |
ip | 300 | drivers/scsi/t128.c | int t128_biosparam(Disk * disk, kdev_t dev, int * ip) |
ip | 303 | drivers/scsi/t128.c | ip[0] = 64; |
ip | 304 | drivers/scsi/t128.c | ip[1] = 32; |
ip | 305 | drivers/scsi/t128.c | ip[2] = size >> 11; |
ip | 1222 | drivers/scsi/wd7000.c | int wd7000_biosparam(Disk * disk, kdev_t dev, int* ip) |
ip | 1225 | drivers/scsi/wd7000.c | ip[0] = 64; |
ip | 1226 | drivers/scsi/wd7000.c | ip[1] = 32; |
ip | 1227 | drivers/scsi/wd7000.c | ip[2] = size >> 11; |
ip | 504 | fs/nfs/nfsroot.c | char *cp, *ip, *dp; |
ip | 521 | fs/nfs/nfsroot.c | ip = addrs; |
ip | 522 | fs/nfs/nfsroot.c | while (ip && *ip) { |
ip | 523 | fs/nfs/nfsroot.c | if ((cp = strchr(ip, ':'))) |
ip | 525 | fs/nfs/nfsroot.c | if (strlen(ip) > 0) { |
ip | 527 | fs/nfs/nfsroot.c | printk(KERN_NOTICE "NFS: IP address num %d is \"%s\"\n", num, ip); |
ip | 531 | fs/nfs/nfsroot.c | myaddr.sin_addr.s_addr = in_aton(ip); |
ip | 534 | fs/nfs/nfsroot.c | server.sin_addr.s_addr = in_aton(ip); |
ip | 537 | fs/nfs/nfsroot.c | gateway.sin_addr.s_addr = in_aton(ip); |
ip | 540 | fs/nfs/nfsroot.c | netmask.sin_addr.s_addr = in_aton(ip); |
ip | 543 | fs/nfs/nfsroot.c | if ((dp = strchr(ip, '.'))) { |
ip | 548 | fs/nfs/nfsroot.c | strncpy(system_utsname.nodename, ip, __NEW_UTS_LEN); |
ip | 555 | fs/nfs/nfsroot.c | ip = cp; |
ip | 291 | fs/vfat/namei.c | const char *ip, *ext_start, *end; |
ip | 313 | fs/vfat/namei.c | for (i = 0, p = msdos_name, ip = name; i < len; i++, p++, ip++) |
ip | 315 | fs/vfat/namei.c | if (*ip >= 'A' && *ip <= 'Z') { |
ip | 316 | fs/vfat/namei.c | *p = *ip + 32; |
ip | 318 | fs/vfat/namei.c | *p = *ip; |
ip | 368 | fs/vfat/namei.c | for (baselen = i = 0, p = base, ip = name; i < sz && baselen < 8; i++) |
ip | 370 | fs/vfat/namei.c | if (!strchr(skip_chars, *ip)) { |
ip | 371 | fs/vfat/namei.c | if (*ip >= 'A' && *ip <= 'Z') { |
ip | 372 | fs/vfat/namei.c | *p = *ip + 32; |
ip | 374 | fs/vfat/namei.c | *p = *ip; |
ip | 378 | fs/vfat/namei.c | ip++; |
ip | 388 | fs/vfat/namei.c | for (p = ext, ip = ext_start; extlen < 3 && ip < end; ip++) { |
ip | 389 | fs/vfat/namei.c | if (!strchr(skip_chars, *ip)) { |
ip | 390 | fs/vfat/namei.c | if (*ip >= 'A' && *ip <= 'Z') { |
ip | 391 | fs/vfat/namei.c | *p = *ip + 32; |
ip | 393 | fs/vfat/namei.c | *p = *ip; |
ip | 502 | fs/vfat/namei.c | const unsigned char *ip; |
ip | 572 | fs/vfat/namei.c | ip = &name[offset]; |
ip | 590 | fs/vfat/namei.c | ps->name0_4[i] = fat_a2uni[*ip].uni1; |
ip | 591 | fs/vfat/namei.c | ps->name0_4[i+1] = fat_a2uni[*ip].uni2; |
ip | 592 | fs/vfat/namei.c | if ((*ip >= 'a' && *ip <= 'z') || |
ip | 593 | fs/vfat/namei.c | (*ip >= 'A' && *ip <= 'Z')) { |
ip | 599 | fs/vfat/namei.c | j++; ip++; |
ip | 615 | fs/vfat/namei.c | ps->name5_10[i] = fat_a2uni[*ip].uni1; |
ip | 616 | fs/vfat/namei.c | ps->name5_10[i+1] = fat_a2uni[*ip].uni2; |
ip | 617 | fs/vfat/namei.c | if ((*ip >= 'a' && *ip <= 'z') || |
ip | 618 | fs/vfat/namei.c | (*ip >= 'A' && *ip <= 'Z')) { |
ip | 624 | fs/vfat/namei.c | j++; ip++; |
ip | 640 | fs/vfat/namei.c | ps->name11_12[i] = fat_a2uni[*ip].uni1; |
ip | 641 | fs/vfat/namei.c | ps->name11_12[i+1] = fat_a2uni[*ip].uni2; |
ip | 642 | fs/vfat/namei.c | if ((*ip >= 'a' && *ip <= 'z') || |
ip | 643 | fs/vfat/namei.c | (*ip >= 'A' && *ip <= 'Z')) { |
ip | 649 | fs/vfat/namei.c | j++; ip++; |
ip | 715 | fs/vfat/namei.c | const char *ip; |
ip | 748 | fs/vfat/namei.c | ip = (char *) de; |
ip | 757 | fs/vfat/namei.c | for (i = 0, ip = (char *) de, op = (char *) &ds[slot], op_mask = (char *) &ds_mask[slot]; |
ip | 759 | fs/vfat/namei.c | i++, ip++, op++, op_mask++) |
ip | 764 | fs/vfat/namei.c | (unsigned char) *ip, |
ip | 767 | fs/vfat/namei.c | if ((*ip & *op_mask) != (*op & *op_mask)) { |
ip | 16 | include/linux/scsicam.h | extern int scsicam_bios_param (Disk *disk, kdev_t dev, int *ip); |
ip | 86 | include/net/ip.h | extern void ip_print(const struct iphdr *ip); |
ip | 102 | include/net/ip.h | extern void ip_send_check(struct iphdr *ip); |
ip | 841 | kernel/sched.c | unsigned long ip = instruction_pointer(regs); |
ip | 842 | kernel/sched.c | ip -= (unsigned long) &_stext; |
ip | 843 | kernel/sched.c | ip >>= prof_shift; |
ip | 844 | kernel/sched.c | if (ip < prof_len) |
ip | 845 | kernel/sched.c | prof_buffer[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 | 122 | net/ipv4/arp.c | u32 ip; /* ip address of entry */ |
ip | 431 | net/ipv4/arp.c | printk("arp_expire: %08x expired\n", entry->ip); |
ip | 448 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, |
ip | 452 | net/ipv4/arp.c | printk("arp_expire: %08x requires confirmation\n", entry->ip); |
ip | 503 | net/ipv4/arp.c | printk("arp_expire_request: %08x postponed\n", entry->ip); |
ip | 520 | net/ipv4/arp.c | printk("arp_expire_request: %08x timed out\n", entry->ip); |
ip | 526 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, dev, dev->pa_addr, |
ip | 539 | net/ipv4/arp.c | printk("arp_expire_request: %08x is dead\n", entry->ip); |
ip | 548 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, dev, dev->pa_addr, |
ip | 555 | net/ipv4/arp.c | hash = HASH(entry->ip); |
ip | 567 | net/ipv4/arp.c | printk("arp_expire_request: %08x is killed\n", entry->ip); |
ip | 714 | net/ipv4/arp.c | in_ntoa(entry->ip)); |
ip | 755 | net/ipv4/arp.c | pentry = &arp_tables[HASH(entry->ip)]; |
ip | 946 | net/ipv4/arp.c | !((proxy_entry->ip^tip)&proxy_entry->mask)) |
ip | 995 | net/ipv4/arp.c | if (entry->ip == sip && entry->dev == dev) |
ip | 1039 | net/ipv4/arp.c | entry->ip = sip; |
ip | 1065 | net/ipv4/arp.c | printk("arp_rcv: %08x backlogged\n", entry->ip); |
ip | 1095 | net/ipv4/arp.c | if (entry->ip == paddr && (!dev || entry->dev == dev)) |
ip | 1104 | net/ipv4/arp.c | if (entry->ip == paddr && (!dev || entry->dev == dev)) |
ip | 1110 | net/ipv4/arp.c | if (!((entry->ip^paddr)&entry->mask) && |
ip | 1268 | net/ipv4/arp.c | entry->ip = paddr; |
ip | 1293 | net/ipv4/arp.c | printk("arp_find: %08x backlogged\n", entry->ip); |
ip | 1369 | net/ipv4/arp.c | in_ntoa(entry->ip), |
ip | 1502 | net/ipv4/arp.c | entry->ip = paddr; |
ip | 1530 | net/ipv4/arp.c | printk("arp_cache_bind: %08x backlogged\n", entry->ip); |
ip | 1557 | net/ipv4/arp.c | sip = entry->ip; |
ip | 1565 | net/ipv4/arp.c | if (entry1->ip==sip && entry1->dev == entry->dev) |
ip | 1581 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, dev, dev->pa_addr, NULL, dev->dev_addr, NULL); |
ip | 1618 | net/ipv4/arp.c | printk("arp_run_bh: entry %08x was born dead\n", entry->ip); |
ip | 1662 | net/ipv4/arp.c | u32 ip; |
ip | 1669 | net/ipv4/arp.c | ip = si->sin_addr.s_addr; |
ip | 1675 | net/ipv4/arp.c | if (ip_chk_addr(ip) == IS_MYADDR) |
ip | 1678 | net/ipv4/arp.c | rt = ip_rt_route(ip, 0); |
ip | 1714 | net/ipv4/arp.c | entry = arp_lookup(ip, r->arp_flags & ~ATF_NETMASK, dev); |
ip | 1735 | net/ipv4/arp.c | entry->ip = ip; |
ip | 1750 | net/ipv4/arp.c | unsigned long hash = HASH(ip); |
ip | 1835 | net/ipv4/arp.c | if (entry->ip == si->sin_addr.s_addr |
ip | 1847 | net/ipv4/arp.c | if (entry->ip == si->sin_addr.s_addr |
ip | 485 | net/ipv4/icmp.c | unsigned long ip; |
ip | 492 | net/ipv4/icmp.c | ip = iph->daddr; |
ip | 510 | net/ipv4/icmp.c | ip, 0, icmph->un.gateway, dev,0, 0, 0); |
ip | 527 | net/ipv4/icmp.c | ip_rt_redirect(source, ip, icmph->un.gateway, dev); |
ip | 203 | net/ipv4/ip_fw.c | int ip_fw_chk(struct iphdr *ip, struct device *rif, struct ip_fw *chain, int policy, int opt) |
ip | 206 | net/ipv4/ip_fw.c | struct tcphdr *tcp=(struct tcphdr *)((unsigned long *)ip+ip->ihl); |
ip | 207 | net/ipv4/ip_fw.c | struct udphdr *udp=(struct udphdr *)((unsigned long *)ip+ip->ihl); |
ip | 208 | net/ipv4/ip_fw.c | struct icmphdr *icmp=(struct icmphdr *)((unsigned long *)ip+ip->ihl); |
ip | 223 | net/ipv4/ip_fw.c | src = ip->saddr; |
ip | 224 | net/ipv4/ip_fw.c | dst = ip->daddr; |
ip | 240 | net/ipv4/ip_fw.c | offset = ntohs(ip->frag_off) & IP_OFFSET; |
ip | 249 | net/ipv4/ip_fw.c | if (offset == 1 && ip->protocol == IPPROTO_TCP) |
ip | 252 | net/ipv4/ip_fw.c | if (offset!=0 && (opt != 1) && (ip->protocol == IPPROTO_TCP || |
ip | 253 | net/ipv4/ip_fw.c | ip->protocol == IPPROTO_UDP || ip->protocol == IPPROTO_ICMP)) |
ip | 260 | net/ipv4/ip_fw.c | if(ip->protocol==IPPROTO_TCP && (ip->ihl<<2)+16 > ntohs(ip->tot_len)) |
ip | 267 | net/ipv4/ip_fw.c | else if(ntohs(ip->tot_len)<8+(ip->ihl<<2)) |
ip | 270 | net/ipv4/ip_fw.c | src = ip->saddr; |
ip | 271 | net/ipv4/ip_fw.c | dst = ip->daddr; |
ip | 282 | net/ipv4/ip_fw.c | switch(ip->protocol) |
ip | 316 | net/ipv4/ip_fw.c | dprintf2("p=%d ",ip->protocol); |
ip | 321 | net/ipv4/ip_fw.c | dprint_ip(ip->saddr); |
ip | 323 | net/ipv4/ip_fw.c | if (ip->protocol==IPPROTO_TCP || ip->protocol==IPPROTO_UDP) |
ip | 326 | net/ipv4/ip_fw.c | dprint_ip(ip->daddr); |
ip | 327 | net/ipv4/ip_fw.c | if (ip->protocol==IPPROTO_TCP || ip->protocol==IPPROTO_UDP) |
ip | 455 | net/ipv4/ip_fw.c | switch(ip->protocol) |
ip | 466 | net/ipv4/ip_fw.c | printk("p=%d ",ip->protocol); |
ip | 469 | net/ipv4/ip_fw.c | print_ip(ip->saddr); |
ip | 470 | net/ipv4/ip_fw.c | if(ip->protocol == IPPROTO_TCP || ip->protocol == IPPROTO_UDP) |
ip | 473 | net/ipv4/ip_fw.c | print_ip(ip->daddr); |
ip | 474 | net/ipv4/ip_fw.c | if(ip->protocol == IPPROTO_TCP || ip->protocol == IPPROTO_UDP) |
ip | 480 | net/ipv4/ip_fw.c | f->fw_bcnt+=ntohs(ip->tot_len); |
ip | 506 | net/ipv4/ip_fw.c | __u8 old_tos = ip->tos; |
ip | 507 | net/ipv4/ip_fw.c | ip->tos = (old_tos & tosand) ^ tosxor; |
ip | 508 | net/ipv4/ip_fw.c | if (ip->tos != old_tos) |
ip | 509 | net/ipv4/ip_fw.c | ip_send_check(ip); |
ip | 1362 | net/ipv4/ip_fw.c | struct iphdr *ip; |
ip | 1374 | net/ipv4/ip_fw.c | ip = &(ipfwp->fwp_iph); |
ip | 1387 | net/ipv4/ip_fw.c | } else if ( ip->ihl != sizeof(struct iphdr) / sizeof(int)) { |
ip | 1389 | net/ipv4/ip_fw.c | printk("ip_fw_ctl: ip->ihl=%d, want %d\n",ip->ihl, |
ip | 1395 | net/ipv4/ip_fw.c | if ((ret = ip_fw_chk(ip, viadev, *chains[fwtype], |
ip | 78 | net/ipv4/rarp.c | unsigned long ip; /* ip address of entry */ |
ip | 125 | net/ipv4/rarp.c | if (entry->ip == ip_addr) |
ip | 266 | net/ipv4/rarp.c | sip=entry->ip; |
ip | 290 | net/ipv4/rarp.c | unsigned long ip; |
ip | 320 | net/ipv4/rarp.c | ip = si->sin_addr.s_addr; |
ip | 321 | net/ipv4/rarp.c | if (ip == 0) |
ip | 331 | net/ipv4/rarp.c | rt = ip_rt_route(ip, 0); |
ip | 343 | net/ipv4/rarp.c | if (entry->ip == ip) |
ip | 369 | net/ipv4/rarp.c | entry->ip = ip; |
ip | 393 | net/ipv4/rarp.c | unsigned long ip; |
ip | 409 | net/ipv4/rarp.c | ip = si->sin_addr.s_addr; |
ip | 413 | net/ipv4/rarp.c | if (entry->ip == ip) |
ip | 509 | net/ipv4/rarp.c | netip=htonl(entry->ip); /* switch to network order */ |