tag | line | file | source code |
icmphr | 430 | net/ipv4/icmp.c | struct icmphdr *icmphr; |
icmphr | 470 | net/ipv4/icmp.c | icmphr = (struct icmphdr *) (skb2->data + offset); |
icmphr | 471 | net/ipv4/icmp.c | memcpy((char *) icmphr, (char *) icmph, len); |
icmphr | 472 | net/ipv4/icmp.c | icmphr->type = ICMP_ECHOREPLY; |
icmphr | 473 | net/ipv4/icmp.c | icmphr->code = 0; |
icmphr | 474 | net/ipv4/icmp.c | icmphr->checksum = 0; |
icmphr | 475 | net/ipv4/icmp.c | icmphr->checksum = ip_compute_csum((unsigned char *)icmphr, len); |
icmphr | 497 | net/ipv4/icmp.c | struct icmphdr *icmphr; |
icmphr | 547 | net/ipv4/icmp.c | icmphr = (struct icmphdr *) (skb2->data + offset); |
icmphr | 548 | net/ipv4/icmp.c | memcpy((char *) icmphr, (char *) icmph, 12); |
icmphr | 549 | net/ipv4/icmp.c | icmphr->type = ICMP_TIMESTAMPREPLY; |
icmphr | 550 | net/ipv4/icmp.c | icmphr->code = icmphr->checksum = 0; |
icmphr | 554 | net/ipv4/icmp.c | timeptr = (unsigned long *) (icmphr + 1); |
icmphr | 560 | net/ipv4/icmp.c | icmphr->checksum = ip_compute_csum((unsigned char *) icmphr, 20); |
icmphr | 595 | net/ipv4/icmp.c | struct icmphdr *icmphr; |
icmphr | 638 | net/ipv4/icmp.c | icmphr = (struct icmphdr *) (skb2->data + offset); |
icmphr | 639 | net/ipv4/icmp.c | icmphr->type = ICMP_ADDRESSREPLY; |
icmphr | 640 | net/ipv4/icmp.c | icmphr->code = 0; |
icmphr | 641 | net/ipv4/icmp.c | icmphr->checksum = 0; |
icmphr | 642 | net/ipv4/icmp.c | icmphr->un.echo.id = icmph->un.echo.id; |
icmphr | 643 | net/ipv4/icmp.c | icmphr->un.echo.sequence = icmph->un.echo.sequence; |
icmphr | 644 | net/ipv4/icmp.c | memcpy((char *) (icmphr + 1), (char *) &dev->pa_mask, sizeof(dev->pa_mask)); |
icmphr | 646 | net/ipv4/icmp.c | icmphr->checksum = ip_compute_csum((unsigned char *)icmphr, len); |