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 | 120 | net/inet/icmp.c | icmph = (struct icmphdr *) (skb->data + offset); |
icmph | 121 | net/inet/icmp.c | icmph->type = type; |
icmph | 122 | net/inet/icmp.c | icmph->code = code; |
icmph | 123 | net/inet/icmp.c | icmph->checksum = 0; |
icmph | 124 | net/inet/icmp.c | icmph->un.gateway = 0; |
icmph | 125 | net/inet/icmp.c | memcpy(icmph + 1, iph, sizeof(struct iphdr) + 8); |
icmph | 127 | net/inet/icmp.c | icmph->checksum = ip_compute_csum((unsigned char *)icmph, |
icmph | 131 | net/inet/icmp.c | print_icmp(icmph); |
icmph | 140 | net/inet/icmp.c | icmp_unreach(struct icmphdr *icmph, struct sk_buff *skb) |
icmph | 147 | net/inet/icmp.c | err = (icmph->type << 8) | icmph->code; |
icmph | 148 | net/inet/icmp.c | iph = (struct iphdr *) (icmph + 1); |
icmph | 149 | net/inet/icmp.c | switch(icmph->code & 7) { |
icmph | 175 | net/inet/icmp.c | (icmph->code & 7), in_ntoa(iph->daddr))); |
icmph | 191 | net/inet/icmp.c | ipprot->err_handler(err, (unsigned char *)(icmph + 1), |
icmph | 204 | net/inet/icmp.c | icmp_redirect(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev) |
icmph | 209 | net/inet/icmp.c | iph = (struct iphdr *) (icmph + 1); |
icmph | 211 | net/inet/icmp.c | switch(icmph->code & 7) { |
icmph | 215 | net/inet/icmp.c | ip, 0, icmph->un.gateway, dev); |
icmph | 220 | net/inet/icmp.c | ip, 0, icmph->un.gateway, dev); |
icmph | 228 | net/inet/icmp.c | (icmph->code & 7))); |
icmph | 238 | net/inet/icmp.c | icmp_echo(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 274 | net/inet/icmp.c | memcpy((char *) icmphr, (char *) icmph, len); |
icmph | 290 | net/inet/icmp.c | icmp_info(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 302 | net/inet/icmp.c | icmp_address(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
icmph | 341 | net/inet/icmp.c | icmphr->un.echo.id = icmph->un.echo.id; |
icmph | 342 | net/inet/icmp.c | icmphr->un.echo.sequence = icmph->un.echo.sequence; |
icmph | 361 | net/inet/icmp.c | struct icmphdr *icmph; |
icmph | 374 | net/inet/icmp.c | icmph = (struct icmphdr *) buff; |
icmph | 377 | net/inet/icmp.c | if (ip_compute_csum((unsigned char *) icmph, len)) { |
icmph | 384 | net/inet/icmp.c | print_icmp(icmph); |
icmph | 387 | net/inet/icmp.c | switch(icmph->type) { |
icmph | 391 | net/inet/icmp.c | icmp_unreach(icmph, skb1); |
icmph | 394 | net/inet/icmp.c | icmp_redirect(icmph, skb1, dev); |
icmph | 397 | net/inet/icmp.c | icmp_echo(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 404 | net/inet/icmp.c | icmp_info(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 411 | net/inet/icmp.c | icmp_address(icmph, skb1, dev, saddr, daddr, len, opt); |
icmph | 420 | net/inet/icmp.c | in_ntoa(saddr), icmph->type)); |