Lines Matching refs:ipha
1488 ipha_t *ipha; in mac_rx_srs_proto_fanout() local
1637 ipha = (ipha_t *)(mp->b_rptr + hdrsize); in mac_rx_srs_proto_fanout()
1638 if ((type != OTH) && MBLK_RX_FANOUT_SLOWPATH(mp, ipha)) in mac_rx_srs_proto_fanout()
1656 switch (ipha->ipha_protocol) { in mac_rx_srs_proto_fanout()
1708 ipha_t *ipha; in mac_rx_srs_long_fanout() local
1733 ipha = (ipha_t *)ip6h; in mac_rx_srs_long_fanout()
1758 ipha = (ipha_t *)ip6h; in mac_rx_srs_long_fanout()
1800 hdr_len = IPH_HDR_LENGTH(ipha); in mac_rx_srs_long_fanout()
1801 remlen = ntohs(ipha->ipha_length) - hdr_len; in mac_rx_srs_long_fanout()
1802 nexthdr = ipha->ipha_protocol; in mac_rx_srs_long_fanout()
1803 src_val = (uint32_t)ipha->ipha_src; in mac_rx_srs_long_fanout()
1804 dst_val = (uint32_t)ipha->ipha_dst; in mac_rx_srs_long_fanout()
1809 if ((ntohs(ipha->ipha_fragment_offset_and_flags) & in mac_rx_srs_long_fanout()
1900 ipha_t *ipha; in mac_rx_srs_fanout() local
2068 ipha = (ipha_t *)(mp->b_rptr + hdrsize); in mac_rx_srs_fanout()
2069 if ((type != OTH) && MBLK_RX_FANOUT_SLOWPATH(mp, ipha)) { in mac_rx_srs_fanout()
2077 switch (ipha->ipha_protocol) { in mac_rx_srs_fanout()
2082 ipha_len = IPH_HDR_LENGTH(ipha); in mac_rx_srs_fanout()
2083 if ((uchar_t *)ipha + ipha_len + PORTS_SIZE > in mac_rx_srs_fanout()
2089 ntohs(ipha->ipha_fragment_offset_and_flags); in mac_rx_srs_fanout()
2128 switch (ipha->ipha_protocol) { in mac_rx_srs_fanout()
2135 hash = HASH_ADDR(ipha->ipha_src, ipha->ipha_dst, in mac_rx_srs_fanout()
2145 hash = HASH_ADDR(ipha->ipha_src, ipha->ipha_dst, in mac_rx_srs_fanout()