Searched refs:icmph (Results 1 - 4 of 4) sorted by relevance

/freebsd-9.3-release/sys/netinet6/
H A Dsctp6_usrreq.c282 struct icmp6_hdr *icmph,
305 if (icmph->icmp6_type != ICMP_UNREACH) {
310 if ((icmph->icmp6_code == ICMP_UNREACH_NET) ||
311 (icmph->icmp6_code == ICMP_UNREACH_HOST) ||
312 (icmph->icmp6_code == ICMP_UNREACH_NET_UNKNOWN) ||
313 (icmph->icmp6_code == ICMP_UNREACH_HOST_UNKNOWN) ||
314 (icmph->icmp6_code == ICMP_UNREACH_ISOLATED) ||
315 (icmph->icmp6_code == ICMP_UNREACH_NET_PROHIB) ||
316 (icmph->icmp6_code == ICMP_UNREACH_HOST_PROHIB) ||
317 (icmph
281 sctp6_notify(struct sctp_inpcb *inp, struct icmp6_hdr *icmph, struct sctphdr *sh, struct sockaddr *to, struct sctp_tcb *stcb, struct sctp_nets *net) argument
[all...]
/freebsd-9.3-release/usr.sbin/ppp/
H A Dip.c568 const struct icmp *icmph; local
623 len = datalen - sizeof *icmph;
624 icmph = (const struct icmp *)payload;
626 "ICMP: %s:%d ---> ", ncpaddr_ntoa(&srcaddr), icmph->icmp_type);
/freebsd-9.3-release/sys/dev/xen/netback/
H A Dnetback_unit_tests.c2191 struct icmp *icmph; local
2204 icmph = (struct icmp*)(iph + 1);
2205 icmph->icmp_type = ICMP_ECHO;
2206 icmph->icmp_code = 0;
2207 icmph->icmp_cksum = htons(ICMP_CSUM);
2208 icmph->icmp_id = htons(31492);
2209 icmph->icmp_seq = htons(0);
2214 tv_field = (uint32_t*)(&(icmph->icmp_hun));
2240 XNB_ASSERT(bcmp(icmph, pkt_orig, icmp_len));
/freebsd-9.3-release/sys/netinet/
H A Dsctp_usrreq.c154 struct icmp *icmph; local
171 icmph = (struct icmp *)((caddr_t)ip - (sizeof(struct icmp) -
173 if (icmph->icmp_type != ICMP_UNREACH) {
178 if (icmph->icmp_code != ICMP_UNREACH_NEEDFRAG) {
185 nxtsz = ntohs(icmph->icmp_nextmtu);
231 struct icmp *icmph; local
245 icmph = (struct icmp *)((caddr_t)ip - (sizeof(struct icmp) -
247 if (icmph->icmp_type != ICMP_UNREACH) {
252 if ((icmph->icmp_code == ICMP_UNREACH_NET) ||
253 (icmph
[all...]

Completed in 128 milliseconds