Searched defs:msrc (Results 1 - 4 of 4) sorted by relevance

/external/qemu/slirp/
H A Dip_icmp.c194 * Send ICMP_UNREACH back to the source regarding msrc.
195 * mbuf *msrc is used as a template, but is NOT m_free()'d.
204 icmp_error(struct mbuf *msrc, u_char type, u_char code, int minsize, argument
213 DEBUG_ARG("msrc = %lx", (long )msrc);
214 DEBUG_ARG("msrc_len = %d", msrc->m_len);
218 /* check msrc */
219 if(!msrc) goto end_error;
220 ip = mtod(msrc, struct ip *);
244 new_m_size=sizeof(struct ip )+ICMP_MINLEN+msrc
[all...]
/external/iproute2/ip/
H A Dipmroute.c50 inet_prefix msrc; member in struct:rtfilter
89 inet_prefix maddr, msrc; local
99 maddr.data, msrc.data, &vifi,
110 if (filter.msrc.family && inet_addr_match(&msrc, &filter.msrc, filter.msrc.bitlen))
114 format_host(AF_INET, 4, &msrc.data[0], sbuf, sizeof(sbuf)),
170 get_prefix(&filter.msrc, *argv, AF_INET);
H A Diproute.c105 inet_prefix msrc; member in struct:__anon2863
207 if (filter.msrc.family &&
208 (r->rtm_family != filter.msrc.family ||
209 (filter.msrc.bitlen >= 0 && filter.msrc.bitlen < r->rtm_src_len)))
220 if (filter.rsrc.family || filter.msrc.family) {
247 if (filter.msrc.family && filter.msrc.bitlen >= 0 &&
248 inet_addr_match(&src, &filter.msrc, r->rtm_src_len))
1146 get_prefix(&filter.msrc, *arg
[all...]
/external/qemu/slirp-android/
H A Dip_icmp.c196 * Send ICMP_UNREACH back to the source regarding msrc.
197 * mbuf *msrc is used as a template, but is NOT m_free()'d.
206 icmp_error(struct mbuf *msrc, u_char type, u_char code, int minsize, argument
215 DEBUG_ARG("msrc = %lx", (long )msrc);
216 DEBUG_ARG("msrc_len = %d", msrc->m_len);
220 /* check msrc */
221 if(!msrc) goto end_error;
222 ip = mtod(msrc, struct ip *);
246 new_m_size=sizeof(struct ip )+ICMP_MINLEN+msrc
[all...]

Completed in 2592 milliseconds