icmp_param 350 net/ipv4/icmp.c struct icmp_bxm *icmp_param = (struct icmp_bxm *)from; icmp_param 353 net/ipv4/icmp.c csum = skb_copy_and_csum_bits(icmp_param->skb, icmp_param 354 net/ipv4/icmp.c icmp_param->offset + offset, icmp_param 358 net/ipv4/icmp.c if (icmp_pointers[icmp_param->data.icmph.type].error) icmp_param 359 net/ipv4/icmp.c nf_ct_attach(skb, icmp_param->skb); icmp_param 363 net/ipv4/icmp.c static void icmp_push_reply(struct icmp_bxm *icmp_param, icmp_param 371 net/ipv4/icmp.c if (ip_append_data(sk, fl4, icmp_glue_bits, icmp_param, icmp_param 372 net/ipv4/icmp.c icmp_param->data_len+icmp_param->head_len, icmp_param 373 net/ipv4/icmp.c icmp_param->head_len, icmp_param 385 net/ipv4/icmp.c csum = csum_partial_copy_nocheck((void *)&icmp_param->data, icmp_param 387 net/ipv4/icmp.c icmp_param->head_len, csum); icmp_param 398 net/ipv4/icmp.c static void icmp_reply(struct icmp_bxm *icmp_param, struct sk_buff *skb) icmp_param 408 net/ipv4/icmp.c int type = icmp_param->data.icmph.type; icmp_param 409 net/ipv4/icmp.c int code = icmp_param->data.icmph.code; icmp_param 411 net/ipv4/icmp.c if (ip_options_echo(net, &icmp_param->replyopts.opt.opt, skb)) icmp_param 426 net/ipv4/icmp.c icmp_param->data.icmph.checksum = 0; icmp_param 434 net/ipv4/icmp.c if (icmp_param->replyopts.opt.opt.optlen) { icmp_param 435 net/ipv4/icmp.c ipc.opt = &icmp_param->replyopts.opt; icmp_param 437 net/ipv4/icmp.c daddr = icmp_param->replyopts.opt.opt.faddr; icmp_param 452 net/ipv4/icmp.c icmp_push_reply(icmp_param, &fl4, &ipc, &rt); icmp_param 574 net/ipv4/icmp.c struct icmp_bxm icmp_param; icmp_param 697 net/ipv4/icmp.c if (__ip_options_echo(net, &icmp_param.replyopts.opt.opt, skb_in, opt)) icmp_param 705 net/ipv4/icmp.c icmp_param.data.icmph.type = type; icmp_param 706 net/ipv4/icmp.c icmp_param.data.icmph.code = code; icmp_param 707 net/ipv4/icmp.c icmp_param.data.icmph.un.gateway = info; icmp_param 708 net/ipv4/icmp.c icmp_param.data.icmph.checksum = 0; icmp_param 709 net/ipv4/icmp.c icmp_param.skb = skb_in; icmp_param 710 net/ipv4/icmp.c icmp_param.offset = skb_network_offset(skb_in); icmp_param 715 net/ipv4/icmp.c ipc.opt = &icmp_param.replyopts.opt; icmp_param 718 net/ipv4/icmp.c type, code, &icmp_param); icmp_param 731 net/ipv4/icmp.c room -= sizeof(struct iphdr) + icmp_param.replyopts.opt.opt.optlen; icmp_param 734 net/ipv4/icmp.c icmp_param.data_len = skb_in->len - icmp_param.offset; icmp_param 735 net/ipv4/icmp.c if (icmp_param.data_len > room) icmp_param 736 net/ipv4/icmp.c icmp_param.data_len = room; icmp_param 737 net/ipv4/icmp.c icmp_param.head_len = sizeof(struct icmphdr); icmp_param 739 net/ipv4/icmp.c icmp_push_reply(&icmp_param, &fl4, &ipc, &rt); icmp_param 934 net/ipv4/icmp.c struct icmp_bxm icmp_param; icmp_param 936 net/ipv4/icmp.c icmp_param.data.icmph = *icmp_hdr(skb); icmp_param 937 net/ipv4/icmp.c icmp_param.data.icmph.type = ICMP_ECHOREPLY; icmp_param 938 net/ipv4/icmp.c icmp_param.skb = skb; icmp_param 939 net/ipv4/icmp.c icmp_param.offset = 0; icmp_param 940 net/ipv4/icmp.c icmp_param.data_len = skb->len; icmp_param 941 net/ipv4/icmp.c icmp_param.head_len = sizeof(struct icmphdr); icmp_param 942 net/ipv4/icmp.c icmp_reply(&icmp_param, skb); icmp_param 957 net/ipv4/icmp.c struct icmp_bxm icmp_param; icmp_param 967 net/ipv4/icmp.c icmp_param.data.times[1] = inet_current_timestamp(); icmp_param 968 net/ipv4/icmp.c icmp_param.data.times[2] = icmp_param.data.times[1]; icmp_param 970 net/ipv4/icmp.c BUG_ON(skb_copy_bits(skb, 0, &icmp_param.data.times[0], 4)); icmp_param 972 net/ipv4/icmp.c icmp_param.data.icmph = *icmp_hdr(skb); icmp_param 973 net/ipv4/icmp.c icmp_param.data.icmph.type = ICMP_TIMESTAMPREPLY; icmp_param 974 net/ipv4/icmp.c icmp_param.data.icmph.code = 0; icmp_param 975 net/ipv4/icmp.c icmp_param.skb = skb; icmp_param 976 net/ipv4/icmp.c icmp_param.offset = 0; icmp_param 977 net/ipv4/icmp.c icmp_param.data_len = 0; icmp_param 978 net/ipv4/icmp.c icmp_param.head_len = sizeof(struct icmphdr) + 12; icmp_param 979 net/ipv4/icmp.c icmp_reply(&icmp_param, skb);