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 | 2495 | 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 | 1729 | drivers/cdrom/optcd.c | static int opt_ioctl(struct inode *ip, struct file *fp, |
ip | 1736 | drivers/cdrom/optcd.c | if (!ip) |
ip | 1828 | drivers/cdrom/optcd.c | static int opt_open(struct inode *ip, struct file *fp) |
ip | 1879 | drivers/cdrom/optcd.c | static void opt_release(struct inode *ip, struct file *fp) |
ip | 1885 | drivers/cdrom/optcd.c | ip, ip -> i_rdev, fp)); |
ip | 1889 | drivers/cdrom/optcd.c | sync_dev(ip -> i_rdev); |
ip | 1890 | drivers/cdrom/optcd.c | invalidate_buffers(ip -> i_rdev); |
ip | 4832 | drivers/cdrom/sbpcd.c | static int sbpcd_open(struct inode *ip, struct file *fp) |
ip | 4836 | drivers/cdrom/sbpcd.c | i = MINOR(ip->i_rdev); |
ip | 4839 | drivers/cdrom/sbpcd.c | msg(DBG_INF, "open: bad device: %04X\n", ip->i_rdev); |
ip | 4917 | drivers/cdrom/sbpcd.c | static void sbpcd_release(struct inode * ip, struct file * file) |
ip | 4921 | drivers/cdrom/sbpcd.c | i = MINOR(ip->i_rdev); |
ip | 4924 | drivers/cdrom/sbpcd.c | msg(DBG_INF, "release: bad device: %04X\n", ip->i_rdev); |
ip | 4930 | drivers/cdrom/sbpcd.c | sync_dev(ip->i_rdev); /* nonsense if read only device? */ |
ip | 4931 | drivers/cdrom/sbpcd.c | invalidate_buffers(ip->i_rdev); |
ip | 713 | drivers/cdrom/sjcd.c | static int sjcd_ioctl( struct inode *ip, struct file *fp, |
ip | 719 | drivers/cdrom/sjcd.c | if( ip == NULL ) return( -EINVAL ); |
ip | 1369 | drivers/cdrom/sjcd.c | int sjcd_open( struct inode *ip, struct file *fp ){ |
ip | 603 | drivers/char/istallion.c | static int stli_memread(struct inode *ip, struct file *fp, char *buf, int count); |
ip | 604 | drivers/char/istallion.c | static int stli_memwrite(struct inode *ip, struct file *fp, const char *buf, int count); |
ip | 605 | drivers/char/istallion.c | static int stli_memioctl(struct inode *ip, struct file *fp, unsigned int cmd, unsigned long arg); |
ip | 3832 | drivers/char/istallion.c | static int stli_memread(struct inode *ip, struct file *fp, char *buf, int count) |
ip | 3840 | drivers/char/istallion.c | printk("stli_memread(ip=%x,fp=%x,buf=%x,count=%d)\n", (int) ip, (int) fp, (int) buf, count); |
ip | 3843 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
ip | 3879 | drivers/char/istallion.c | static int stli_memwrite(struct inode *ip, struct file *fp, const char *buf, int count) |
ip | 3888 | drivers/char/istallion.c | printk("stli_memwrite(ip=%x,fp=%x,buf=%x,count=%x)\n", (int) ip, (int) fp, (int) buf, count); |
ip | 3891 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
ip | 3928 | drivers/char/istallion.c | static int stli_memioctl(struct inode *ip, struct file *fp, unsigned int cmd, unsigned long arg) |
ip | 3934 | drivers/char/istallion.c | printk("stli_memioctl(ip=%x,fp=%x,cmd=%x,arg=%x)\n", (int) ip, (int) fp, cmd, (int) arg); |
ip | 3937 | drivers/char/istallion.c | brdnr = MINOR(ip->i_rdev); |
ip | 255 | drivers/net/slhc.c | struct iphdr *ip; |
ip | 258 | drivers/net/slhc.c | ip = (struct iphdr *) icp; |
ip | 261 | drivers/net/slhc.c | if(ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x1fff) || |
ip | 262 | drivers/net/slhc.c | (ip->frag_off & 32)){ |
ip | 264 | drivers/net/slhc.c | if(ip->protocol != IPPROTO_TCP) |
ip | 272 | drivers/net/slhc.c | th = (struct tcphdr *)(((unsigned char *)ip) + ip->ihl*4); |
ip | 273 | drivers/net/slhc.c | hlen = ip->ihl*4 + th->doff*4; |
ip | 299 | drivers/net/slhc.c | if( ip->saddr == cs->cs_ip.saddr |
ip | 300 | drivers/net/slhc.c | && ip->daddr == cs->cs_ip.daddr |
ip | 356 | drivers/net/slhc.c | || ip->version != cs->cs_ip.version || ip->ihl != cs->cs_ip.ihl |
ip | 357 | drivers/net/slhc.c | || ip->tos != cs->cs_ip.tos |
ip | 358 | drivers/net/slhc.c | || (ip->frag_off & 64) != (cs->cs_ip.frag_off & 64) |
ip | 359 | drivers/net/slhc.c | || ip->ttl != cs->cs_ip.ttl |
ip | 361 | drivers/net/slhc.c | || (ip->ihl > 5 && memcmp(ip+1,cs->cs_ipopt,((ip->ihl)-5)*4) != 0) |
ip | 408 | drivers/net/slhc.c | if(ip->tot_len != cs->cs_ip.tot_len && |
ip | 435 | drivers/net/slhc.c | deltaS = ntohs(ip->id) - ntohs(cs->cs_ip.id); |
ip | 446 | drivers/net/slhc.c | memcpy(&cs->cs_ip,ip,20); |
ip | 479 | drivers/net/slhc.c | memcpy(&cs->cs_ip,ip,20); |
ip | 481 | drivers/net/slhc.c | if (ip->ihl > 5) |
ip | 482 | drivers/net/slhc.c | memcpy(cs->cs_ipopt, ip+1, ((ip->ihl) - 5) * 4); |
ip | 501 | drivers/net/slhc.c | register struct iphdr *ip; |
ip | 534 | drivers/net/slhc.c | ip = &cs->cs_ip; |
ip | 548 | drivers/net/slhc.c | hdrlen = ip->ihl * 4 + thp->doff * 4; |
ip | 554 | drivers/net/slhc.c | i = ntohs(ip->tot_len) - hdrlen; |
ip | 562 | drivers/net/slhc.c | ntohs(ip->tot_len) - hdrlen); |
ip | 598 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + x); |
ip | 600 | drivers/net/slhc.c | ip->id = htons (ntohs (ip->id) + 1); |
ip | 612 | drivers/net/slhc.c | ip->tot_len = htons(len); |
ip | 613 | drivers/net/slhc.c | ip->check = 0; |
ip | 618 | drivers/net/slhc.c | memcpy(cp, ip, 20); |
ip | 621 | drivers/net/slhc.c | if (ip->ihl > 5) { |
ip | 622 | drivers/net/slhc.c | memcpy(cp, cs->cs_ipopt, (ip->ihl - 5) * 4); |
ip | 623 | drivers/net/slhc.c | cp += (ip->ihl - 5) * 4; |
ip | 627 | drivers/net/slhc.c | stw_u(ip_fast_csum(icp, ip->ihl), &((struct iphdr *)icp)->check); |
ip | 98 | drivers/net/tunnel.c | void print_ip(struct iphdr *ip) |
ip | 103 | drivers/net/tunnel.c | printk("--- header len = %d\n", ip->ihl*4); |
ip | 104 | drivers/net/tunnel.c | printk("--- ip version: %d\n", ip->version); |
ip | 105 | drivers/net/tunnel.c | printk("--- ip protocol: %d\n", ip->protocol); |
ip | 106 | drivers/net/tunnel.c | ipaddr=(unsigned char *)&ip->saddr; |
ip | 109 | drivers/net/tunnel.c | ipaddr=(unsigned char *)&ip->daddr; |
ip | 112 | drivers/net/tunnel.c | printk("--- total packet len: %d\n", ntohs(ip->tot_len)); |
ip | 3403 | drivers/scsi/advansys.c | advansys_biosparam(Disk *dp, int dep, int ip[]) |
ip | 3405 | drivers/scsi/advansys.c | advansys_biosparam(Disk *dp, kdev_t dep, int ip[]) |
ip | 3412 | drivers/scsi/advansys.c | ip[0] = 255; |
ip | 3413 | drivers/scsi/advansys.c | ip[1] = 64; |
ip | 3415 | drivers/scsi/advansys.c | ip[0] = 64; |
ip | 3416 | drivers/scsi/advansys.c | ip[1] = 32; |
ip | 3418 | 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 | 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 | 33 | 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 | 299 | drivers/scsi/t128.c | int t128_biosparam(Disk * disk, kdev_t dev, int * ip) |
ip | 302 | drivers/scsi/t128.c | ip[0] = 64; |
ip | 303 | drivers/scsi/t128.c | ip[1] = 32; |
ip | 304 | 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 | 506 | fs/nfs/nfsroot.c | char *cp, *ip, *dp; |
ip | 523 | fs/nfs/nfsroot.c | ip = addrs; |
ip | 524 | fs/nfs/nfsroot.c | while (ip && *ip) { |
ip | 525 | fs/nfs/nfsroot.c | if ((cp = strchr(ip, ':'))) |
ip | 527 | fs/nfs/nfsroot.c | if (strlen(ip) > 0) { |
ip | 529 | fs/nfs/nfsroot.c | printk(KERN_NOTICE "NFS: IP address num %d is \"%s\"\n", num, ip); |
ip | 533 | fs/nfs/nfsroot.c | myaddr.sin_addr.s_addr = in_aton(ip); |
ip | 536 | fs/nfs/nfsroot.c | server.sin_addr.s_addr = in_aton(ip); |
ip | 539 | fs/nfs/nfsroot.c | gateway.sin_addr.s_addr = in_aton(ip); |
ip | 542 | fs/nfs/nfsroot.c | netmask.sin_addr.s_addr = in_aton(ip); |
ip | 545 | fs/nfs/nfsroot.c | if ((dp = strchr(ip, '.'))) { |
ip | 550 | fs/nfs/nfsroot.c | strncpy(system_utsname.nodename, ip, __NEW_UTS_LEN); |
ip | 557 | fs/nfs/nfsroot.c | ip = cp; |
ip | 16 | include/linux/scsicam.h | extern int scsicam_bios_param (Disk *disk, kdev_t dev, int *ip); |
ip | 85 | include/net/ip.h | extern void ip_print(const struct iphdr *ip); |
ip | 101 | include/net/ip.h | extern void ip_send_check(struct iphdr *ip); |
ip | 812 | kernel/sched.c | unsigned long ip = instruction_pointer(regs); |
ip | 813 | kernel/sched.c | ip -= (unsigned long) &_stext; |
ip | 814 | kernel/sched.c | ip >>= prof_shift; |
ip | 815 | kernel/sched.c | if (ip < prof_len) |
ip | 816 | 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 | 121 | net/ipv4/arp.c | u32 ip; /* ip address of entry */ |
ip | 429 | net/ipv4/arp.c | printk("arp_expire: %08x expired\n", entry->ip); |
ip | 446 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, |
ip | 450 | net/ipv4/arp.c | printk("arp_expire: %08x requires confirmation\n", entry->ip); |
ip | 501 | net/ipv4/arp.c | printk("arp_expire_request: %08x postponed\n", entry->ip); |
ip | 518 | net/ipv4/arp.c | printk("arp_expire_request: %08x timed out\n", entry->ip); |
ip | 524 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, dev, dev->pa_addr, |
ip | 537 | net/ipv4/arp.c | printk("arp_expire_request: %08x is dead\n", entry->ip); |
ip | 546 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, dev, dev->pa_addr, |
ip | 553 | net/ipv4/arp.c | hash = HASH(entry->ip); |
ip | 565 | net/ipv4/arp.c | printk("arp_expire_request: %08x is killed\n", entry->ip); |
ip | 712 | net/ipv4/arp.c | in_ntoa(entry->ip)); |
ip | 753 | net/ipv4/arp.c | pentry = &arp_tables[HASH(entry->ip)]; |
ip | 944 | net/ipv4/arp.c | !((proxy_entry->ip^tip)&proxy_entry->mask)) |
ip | 993 | net/ipv4/arp.c | if (entry->ip == sip && entry->dev == dev) |
ip | 1037 | net/ipv4/arp.c | entry->ip = sip; |
ip | 1063 | net/ipv4/arp.c | printk("arp_rcv: %08x backlogged\n", entry->ip); |
ip | 1093 | net/ipv4/arp.c | if (entry->ip == paddr && (!dev || entry->dev == dev)) |
ip | 1102 | net/ipv4/arp.c | if (entry->ip == paddr && (!dev || entry->dev == dev)) |
ip | 1108 | net/ipv4/arp.c | if (!((entry->ip^paddr)&entry->mask) && |
ip | 1266 | net/ipv4/arp.c | entry->ip = paddr; |
ip | 1291 | net/ipv4/arp.c | printk("arp_find: %08x backlogged\n", entry->ip); |
ip | 1367 | net/ipv4/arp.c | in_ntoa(entry->ip), |
ip | 1500 | net/ipv4/arp.c | entry->ip = paddr; |
ip | 1528 | net/ipv4/arp.c | printk("arp_cache_bind: %08x backlogged\n", entry->ip); |
ip | 1555 | net/ipv4/arp.c | sip = entry->ip; |
ip | 1563 | net/ipv4/arp.c | if (entry1->ip==sip && entry1->dev == entry->dev) |
ip | 1579 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, dev, dev->pa_addr, NULL, dev->dev_addr, NULL); |
ip | 1616 | net/ipv4/arp.c | printk("arp_run_bh: entry %08x was born dead\n", entry->ip); |
ip | 1660 | net/ipv4/arp.c | u32 ip; |
ip | 1667 | net/ipv4/arp.c | ip = si->sin_addr.s_addr; |
ip | 1673 | net/ipv4/arp.c | if (ip_chk_addr(ip) == IS_MYADDR) |
ip | 1676 | net/ipv4/arp.c | rt = ip_rt_route(ip, 0); |
ip | 1704 | net/ipv4/arp.c | entry = arp_lookup(ip, r->arp_flags & ~ATF_NETMASK, dev); |
ip | 1725 | net/ipv4/arp.c | entry->ip = ip; |
ip | 1740 | net/ipv4/arp.c | unsigned long hash = HASH(ip); |
ip | 1825 | net/ipv4/arp.c | if (entry->ip == si->sin_addr.s_addr |
ip | 1837 | net/ipv4/arp.c | if (entry->ip == si->sin_addr.s_addr |
ip | 473 | net/ipv4/icmp.c | unsigned long ip; |
ip | 480 | net/ipv4/icmp.c | ip = iph->daddr; |
ip | 498 | net/ipv4/icmp.c | ip, 0, icmph->un.gateway, dev,0, 0, 0); |
ip | 515 | net/ipv4/icmp.c | ip_rt_redirect(source, ip, icmph->un.gateway, dev); |
ip | 189 | net/ipv4/ip_fw.c | int ip_fw_chk(struct iphdr *ip, struct device *rif, struct ip_fw *chain, int policy, int opt) |
ip | 192 | net/ipv4/ip_fw.c | struct tcphdr *tcp=(struct tcphdr *)((unsigned long *)ip+ip->ihl); |
ip | 193 | net/ipv4/ip_fw.c | struct udphdr *udp=(struct udphdr *)((unsigned long *)ip+ip->ihl); |
ip | 194 | net/ipv4/ip_fw.c | struct icmphdr *icmp=(struct icmphdr *)((unsigned long *)ip+ip->ihl); |
ip | 208 | net/ipv4/ip_fw.c | src = ip->saddr; |
ip | 209 | net/ipv4/ip_fw.c | dst = ip->daddr; |
ip | 225 | net/ipv4/ip_fw.c | offset = ntohs(ip->frag_off) & IP_OFFSET; |
ip | 234 | net/ipv4/ip_fw.c | if (offset == 1 && ip->protocol == IPPROTO_TCP) |
ip | 237 | net/ipv4/ip_fw.c | if (offset!=0 && (opt != 1) && (ip->protocol == IPPROTO_TCP || |
ip | 238 | net/ipv4/ip_fw.c | ip->protocol == IPPROTO_UDP)) |
ip | 245 | net/ipv4/ip_fw.c | if(ip->protocol==IPPROTO_TCP && (ip->ihl<<2)+16 > ntohs(ip->tot_len)) |
ip | 252 | net/ipv4/ip_fw.c | else if(ntohs(ip->tot_len)<8+(ip->ihl<<2)) |
ip | 255 | net/ipv4/ip_fw.c | src = ip->saddr; |
ip | 256 | net/ipv4/ip_fw.c | dst = ip->daddr; |
ip | 267 | net/ipv4/ip_fw.c | switch(ip->protocol) |
ip | 299 | net/ipv4/ip_fw.c | dprintf2("p=%d ",ip->protocol); |
ip | 304 | net/ipv4/ip_fw.c | dprint_ip(ip->saddr); |
ip | 306 | net/ipv4/ip_fw.c | if (ip->protocol==IPPROTO_TCP || ip->protocol==IPPROTO_UDP) |
ip | 309 | net/ipv4/ip_fw.c | dprint_ip(ip->daddr); |
ip | 310 | net/ipv4/ip_fw.c | if (ip->protocol==IPPROTO_TCP || ip->protocol==IPPROTO_UDP) |
ip | 436 | net/ipv4/ip_fw.c | switch(ip->protocol) |
ip | 447 | net/ipv4/ip_fw.c | printk("p=%d ",ip->protocol); |
ip | 450 | net/ipv4/ip_fw.c | print_ip(ip->saddr); |
ip | 451 | net/ipv4/ip_fw.c | if(ip->protocol == IPPROTO_TCP || ip->protocol == IPPROTO_UDP) |
ip | 454 | net/ipv4/ip_fw.c | print_ip(ip->daddr); |
ip | 455 | net/ipv4/ip_fw.c | if(ip->protocol == IPPROTO_TCP || ip->protocol == IPPROTO_UDP) |
ip | 461 | net/ipv4/ip_fw.c | f->fw_bcnt+=ntohs(ip->tot_len); |
ip | 494 | net/ipv4/ip_fw.c | __u8 old_tos = ip->tos; |
ip | 495 | net/ipv4/ip_fw.c | ip->tos = (old_tos & (priority>>8)) ^ priority; |
ip | 496 | net/ipv4/ip_fw.c | if (ip->tos != old_tos) |
ip | 497 | net/ipv4/ip_fw.c | ip_send_check(ip); |
ip | 1455 | net/ipv4/ip_fw.c | struct iphdr *ip; |
ip | 1467 | net/ipv4/ip_fw.c | ip = &(ipfwp->fwp_iph); |
ip | 1469 | net/ipv4/ip_fw.c | if ( ip->ihl != sizeof(struct iphdr) / sizeof(int)) |
ip | 1472 | net/ipv4/ip_fw.c | printk("ip_fw_ctl: ip->ihl=%d, want %d\n",ip->ihl, |
ip | 1480 | net/ipv4/ip_fw.c | if ((ret = ip_fw_chk(ip, &viadev, |
ip | 78 | net/ipv4/rarp.c | unsigned long ip; /* ip address of entry */ |
ip | 124 | net/ipv4/rarp.c | if (entry->ip == ip_addr) |
ip | 265 | net/ipv4/rarp.c | sip=entry->ip; |
ip | 289 | net/ipv4/rarp.c | unsigned long ip; |
ip | 319 | net/ipv4/rarp.c | ip = si->sin_addr.s_addr; |
ip | 320 | net/ipv4/rarp.c | if (ip == 0) |
ip | 330 | net/ipv4/rarp.c | rt = ip_rt_route(ip, 0); |
ip | 342 | net/ipv4/rarp.c | if (entry->ip == ip) |
ip | 368 | net/ipv4/rarp.c | entry->ip = ip; |
ip | 389 | net/ipv4/rarp.c | unsigned long ip; |
ip | 405 | net/ipv4/rarp.c | ip = si->sin_addr.s_addr; |
ip | 409 | net/ipv4/rarp.c | if (entry->ip == ip) |
ip | 505 | net/ipv4/rarp.c | netip=htonl(entry->ip); /* switch to network order */ |