Home | History | Annotate | Download | only in netinet

Lines Matching refs:icmp

136  * ICMP routines: error generation, receive packet processing, and
199 icmp_wqinput = wqinput_create("icmp", _icmp_input);
248 * Note that ICMP datagrams longer than 576 octets are out of spec according
257 struct icmp *icp;
271 * - The packet is an ICMP message with an unknown type.
281 struct icmp *oicp = (struct icmp *)((char *)oip + oiphlen);
344 * Get pointers on the IP header and the ICMP header.
347 icp = (struct icmp *)(nip + 1);
350 * Fill in the fields of the ICMP header: icmp_type, icmp_code
374 * ICMP message. The src/dst fields will be swapped in icmp_reflect.
405 * Process a received ICMP message.
410 struct icmp *icp;
428 * Locate icmp structure in mbuf, and check
444 icp = mtod(m, struct icmp *);
533 icp = (struct icmp *)(mtod(m, uint8_t *) + hlen);
652 log(LOG_ERR, "ICMP: redirect failed to "
737 * corresponds to the route to the destination of the ICMP.
937 * Send an icmp packet back to the ip level,
945 struct icmp *icp;
950 icp = mtod(m, struct icmp *);
971 * sysctl helper routine for net.inet.icmp.returndatabytes. ensures
995 * sysctl helper routine for net.inet.icmp.redirtimeout. ensures that
1059 CTLTYPE_NODE, "icmp",
1074 SYSCTL_DESCR("Number of bytes to return in an ICMP "
1083 SYSCTL_DESCR("Maximum number of outgoing ICMP error "
1107 SYSCTL_DESCR("ICMP statistics"),
1143 icmp_mtudisc(struct icmp *icp, struct in_addr faddr)
1310 * Returns 0 if it is okay to send the icmp packet.
1311 * Returns 1 if the router SHOULD NOT send this icmp packet due to rate