Lines Matching refs:m_data
244 ip_ver = m == NULL ? 0 : ((struct ip *)m->m_data)->ip_v;
246 ((struct ip *)m->m_data)->ip_v == 4 ?
247 ntohs(((struct ip *)m->m_data)->ip_len) -
248 (((struct ip *)m->m_data)->ip_hl << 2):
249 ntohs(((struct ip6_hdr *)m->m_data)->ip6_ctlun.ip6_un1.ip6_un1_plen);
251 ((struct ip *)m->m_data)->ip_v == 4 ?
252 inet_ntoa(&((struct ip *)m->m_data)->ip_src.s_addr) :
253 inet_ntoa6(&((struct ip6_hdr *)m->m_data)->ip6_src);
255 ((struct ip *)m->m_data)->ip_v == 4 ?
256 inet_ntoa(&((struct ip *)m->m_data)->ip_dst.s_addr) :
257 inet_ntoa6(&((struct ip6_hdr *)m->m_data)->ip6_dst);