Searched refs:sndicmp_p (Results 1 – 1 of 1) sorted by relevance
373 struct icmp4_segment *sndicmp_p; /* ICMPv4 part of sending frame */ in return_icmp4_redirect() local397 sndicmp_p = (struct icmp4_segment *)&(sndip_p->payload); in return_icmp4_redirect()420 sndicmp_p->hdr.type = ICMP_REDIRECT; in return_icmp4_redirect()421 sndicmp_p->hdr.code = ICMP_REDIR_HOST; in return_icmp4_redirect()422 sndicmp_p->hdr.checksum = 0; /* Calculate later */ in return_icmp4_redirect()423 memcpy((unsigned char *)&(sndicmp_p->hdr.un.gateway), gw_p->nexthop, 4); in return_icmp4_redirect()430 memcpy(sndicmp_p->data, rcvip_p, icmp4_datasize); in return_icmp4_redirect()433 sndicmp_p->hdr.checksum = calc_checksum((u_int16_t *) sndicmp_p, in return_icmp4_redirect()