tag | line | file | source code |
icmph | 69 | net/inet/icmp.c | print_icmp(struct icmphdr *icmph) |
icmph | 74 | net/inet/icmp.c | icmph->type, icmph->code, icmph->checksum); |
icmph | 75 | net/inet/icmp.c | printk(" gateway = %s\n", in_ntoa(icmph->un.gateway)); |
icmph | 86 | net/inet/icmp.c | struct icmphdr *icmph; |
icmph | 121 | net/inet/icmp.c | icmph = (struct icmphdr *) ((unsigned char *) (skb + 1) + offset); |
icmph | 122 | net/inet/icmp.c | icmph->type = type; |
icmph | 123 | net/inet/icmp.c | icmph->code = code; |
icmph | 124 | net/inet/icmp.c | icmph->checksum = 0; |
icmph | 125 | net/inet/icmp.c | icmph->un.gateway = 0; |
icmph | 126 | net/inet/icmp.c | memcpy(icmph + 1, iph, sizeof(struct iphdr) + 8); |
icmph | 128 | net/inet/icmp.c | icmph->checksum = ip_compute_csum((unsigned char *)icmph, |
icmph | 132 | net/inet/icmp.c | print_icmp(icmph); |
icmph | 141 | net/inet/icmp.c | icmp_unreach(struct icmphdr *icmph, struct sk_buff *skb) |
icmph | 148 | net/inet/icmp.c | err = (icmph->type << 8) | icmph->code; |
icmph | 149 | net/inet/icmp.c | iph = (struct iphdr *) (icmph + 1); |
icmph | 150 | net/inet/icmp.c | switch(icmph->code & 7) { |
icmph | 176 | net/inet/icmp.c | (icmph->code & 7), in_ntoa(iph->daddr))); |
icmph | 192 | net/inet/icmp.c | ipprot->err_handler(err, (unsigned char *)(icmph + 1), |
icmph | 205 | net/inet/icmp.c | icmp_redirect(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev) |
icmph | 210 | net/inet/icmp.c | iph = (struct iphdr *) (icmph + 1); |
icmph | 212 | net/inet/icmp.c | switch(icmph->code & 7) { |
icmph | 215 | net/inet/icmp.c | ip, 0, icmph->un.gateway, dev); |
icmph | 219 | net/inet/icmp.c | ip, 0, icmph->un.gateway, dev); |
icmph | 227 | net/inet/icmp.c | (icmph->code & 7))); |
icmph | 237 | net/inet/icmp.c | icmp_echo(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 273 | net/inet/icmp.c | memcpy((char *) icmphr, (char *) icmph, len); |
icmph | 289 | net/inet/icmp.c | icmp_info(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 301 | net/inet/icmp.c | icmp_address(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 340 | net/inet/icmp.c | icmphr->un.echo.id = icmph->un.echo.id; |
icmph | 341 | net/inet/icmp.c | icmphr->un.echo.sequence = icmph->un.echo.sequence; |
icmph | 360 | net/inet/icmp.c | struct icmphdr *icmph; |
icmph | 373 | net/inet/icmp.c | icmph = (struct icmphdr *) buff; |
icmph | 376 | net/inet/icmp.c | if (ip_compute_csum((unsigned char *) icmph, len)) { |
icmph | 383 | net/inet/icmp.c | print_icmp(icmph); |
icmph | 386 | net/inet/icmp.c | switch(icmph->type) { |
icmph | 390 | net/inet/icmp.c | icmp_unreach(icmph, skb1); |
icmph | 393 | net/inet/icmp.c | icmp_redirect(icmph, skb1, dev); |
icmph | 396 | net/inet/icmp.c | icmp_echo(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 403 | net/inet/icmp.c | icmp_info(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 410 | net/inet/icmp.c | icmp_address(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 419 | net/inet/icmp.c | in_ntoa(saddr), icmph->type)); |