Home
last modified time | relevance | path

Searched refs:msrc (Results 1 – 6 of 6) sorted by relevance

/external/iproute2/ip/
Dipmroute.c50 inet_prefix msrc; member
89 inet_prefix maddr, msrc; in read_mroute_list() local
99 maddr.data, msrc.data, &vifi, in read_mroute_list()
110 if (filter.msrc.family && inet_addr_match(&msrc, &filter.msrc, filter.msrc.bitlen)) in read_mroute_list()
114 format_host(AF_INET, 4, &msrc.data[0], sbuf, sizeof(sbuf)), in read_mroute_list()
170 get_prefix(&filter.msrc, *argv, AF_INET); in mroute_list()
Diproute.c105 inet_prefix msrc; member
200 if (filter.msrc.family && in print_route()
201 (r->rtm_family != filter.msrc.family || in print_route()
202 (filter.msrc.bitlen >= 0 && filter.msrc.bitlen < r->rtm_src_len))) in print_route()
213 if (filter.rsrc.family || filter.msrc.family) { in print_route()
240 if (filter.msrc.family && filter.msrc.bitlen >= 0 && in print_route()
241 inet_addr_match(&src, &filter.msrc, r->rtm_src_len)) in print_route()
1143 get_prefix(&filter.msrc, *argv, do_ipv6); in iproute_list_or_flush()
1148 get_prefix(&filter.msrc, *argv, do_ipv6); in iproute_list_or_flush()
1149 filter.rsrc = filter.msrc; in iproute_list_or_flush()
[all …]
/external/qemu/slirp/
Dip_icmp.c204 icmp_error(struct mbuf *msrc, u_char type, u_char code, int minsize, in icmp_error() argument
213 DEBUG_ARG("msrc = %lx", (long )msrc); in icmp_error()
214 DEBUG_ARG("msrc_len = %d", msrc->m_len); in icmp_error()
219 if(!msrc) goto end_error; in icmp_error()
220 ip = mtod(msrc, struct ip *); in icmp_error()
244 new_m_size=sizeof(struct ip )+ICMP_MINLEN+msrc->m_len+ICMP_MAXDATALEN; in icmp_error()
247 memcpy(m->m_data, msrc->m_data, msrc->m_len); in icmp_error()
248 m->m_len = msrc->m_len; /* copy msrc to m */ in icmp_error()
273 memcpy(&icp->icmp_ip, msrc->m_data, s_ip_len); /* report the ip packet */ in icmp_error()
Dip_icmp.h157 void icmp_error(struct mbuf *msrc, u_char type, u_char code, int minsize,
/external/qemu/slirp-android/
Dip_icmp.c206 icmp_error(struct mbuf *msrc, u_char type, u_char code, int minsize, in icmp_error() argument
215 DEBUG_ARG("msrc = %lx", (long )msrc); in icmp_error()
216 DEBUG_ARG("msrc_len = %d", msrc->m_len); in icmp_error()
221 if(!msrc) goto end_error; in icmp_error()
222 ip = mtod(msrc, struct ip *); in icmp_error()
246 new_m_size=sizeof(struct ip )+ICMP_MINLEN+msrc->m_len+ICMP_MAXDATALEN; in icmp_error()
249 memcpy(m->m_data, msrc->m_data, msrc->m_len); in icmp_error()
250 m->m_len = msrc->m_len; /* copy msrc to m */ in icmp_error()
275 memcpy(&icp->icmp_ip, msrc->m_data, s_ip_len); /* report the ip packet */ in icmp_error()
Dip_icmp.h159 void icmp_error(struct mbuf *msrc, u_char type, u_char code, int minsize,