Home
last modified time | relevance | path

Searched refs:grh (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_igmp.c177 struct grphdr *grh; in interpret_igmpv3rpt() local
190 grh = (struct grphdr *)&rpt[1]; in interpret_igmpv3rpt()
195 while (grhcnt > 0 && rem >= sizeof (*grh)) { in interpret_igmpv3rpt()
196 rem -= sizeof (*grh); in interpret_igmpv3rpt()
200 &grh->grphdr_group.s_addr, addrstr, INET_ADDRSTRLEN), in interpret_igmpv3rpt()
201 (grh->grphdr_type > MAX_IGMPV3_REPORT_TYPE) ? in interpret_igmpv3rpt()
202 "<unknown>" : igmpv3rpt_types[grh->grphdr_type]); in interpret_igmpv3rpt()
203 srccnt = ntohs(grh->grphdr_numsrc); in interpret_igmpv3rpt()
207 src = (struct in_addr *)&grh[1]; in interpret_igmpv3rpt()
220 auxlen = grh->grphdr_auxlen * 4; in interpret_igmpv3rpt()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ucma/
H A Dsol_ucma.c1283 bcopy(&(qp_attr.ah_attr.grh.dgid),
1286 qp_attr.ah_attr.grh.flow_label;
1288 qp_attr.ah_attr.grh.sgid_index;
1289 uverbs_qp_attr.ah_attr.grh.hop_limit =
1290 qp_attr.ah_attr.grh.hop_limit;
1292 qp_attr.ah_attr.grh.traffic_class;
1987 bcopy(&(ah_attrp->grh.dgid), &(usr_ah_attrp->grh.dgid[0]), 16);
1988 usr_ah_attrp->grh.flow_label = ah_attrp->grh.flow_label;
1989 usr_ah_attrp->grh.sgid_index = ah_attrp->grh.sgid_index;
1990 usr_ah_attrp->grh.hop_limit = ah_attrp->grh.hop_limit;
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_q.c296 ib_grh_t *grh; in eibnx_add_gw_to_gwlist() local
353 grh = (ib_grh_t *)(uintptr_t)recv_buf; in eibnx_add_gw_to_gwlist()
355 ntohll(grh->SGID.gid_prefix); in eibnx_add_gw_to_gwlist()
410 ib_grh_t *grh; in eibnx_replace_gw_in_gwlist() local
566 grh = (ib_grh_t *)(uintptr_t)recv_buf; in eibnx_replace_gw_in_gwlist()
567 new_gw_sn_prefix = ntohll(grh->SGID.gid_prefix); in eibnx_replace_gw_in_gwlist()
/illumos-gate/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_chan.c1218 ib_grh_t *grh; in ibt_modify_reply_ud_dest() local
1236 grh = (ib_grh_t *)(uintptr_t)recv_buf; in ibt_modify_reply_ud_dest()
1238 adds_vect.av_dgid.gid_prefix = b2h64(grh->SGID.gid_prefix); in ibt_modify_reply_ud_dest()
1239 adds_vect.av_dgid.gid_guid = b2h64(grh->SGID.gid_guid); in ibt_modify_reply_ud_dest()
1240 adds_vect.av_sgid.gid_prefix = b2h64(grh->DGID.gid_prefix); in ibt_modify_reply_ud_dest()
1241 adds_vect.av_sgid.gid_guid = b2h64(grh->DGID.gid_guid); in ibt_modify_reply_ud_dest()
1244 ver_tc_flow = b2h32(grh->IPVer_TC_Flow); in ibt_modify_reply_ud_dest()
1247 adds_vect.av_hop = grh->HopLmt; in ibt_modify_reply_ud_dest()
/illumos-gate/usr/src/uts/common/io/
H A Dgldutil.c587 ipoib_pgrh_t *grh; in gld_interpret_ib() local
610 grh = (ipoib_pgrh_t *)mp->b_rptr; in gld_interpret_ib()
611 if (grh->ipoib_vertcflow == 0) { in gld_interpret_ib()
710 grh = (ipoib_pgrh_t *)mp->b_rptr; in gld_interpret_ib()
713 if (grh->ipoib_vertcflow) { in gld_interpret_ib()
718 mac_copy(&grh->ipoib_sqpn, &mact->ipoib_qpn, in gld_interpret_ib()
726 mac_copy(&grh->ipoib_dgid_pref, in gld_interpret_ib()
732 if (*(uchar_t *)(grh->ipoib_dgid_pref) == 0xFF) { in gld_interpret_ib()
739 if (bcmp(&grh->ipoib_sqpn, tact, in gld_interpret_ib()
746 grh->ipoib_dgid_pref, in gld_interpret_ib()
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_hw.h1400 uint32_t grh :1; member
1588 uint32_t grh :1; member
1612 uint32_t grh :1; member
1660 uint32_t grh :1; member
1687 uint32_t grh :1; member
2538 if ((udav).grh) { \
2562 #define TAVOR_WQE_BUILD_MLX_GRH(state, grh, qp, udav, pktlen) \ argument
2568 tmp = (uint32_t *)(grh); \
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_ib_cma.c2271 bcopy(&dgid_nworder, &((ah_attr->grh).dgid), sizeof (ib_gid_t)); in mcginfo2ah()
2273 (ah_attr->grh).flow_label = adds_vectp->av_flow; in mcginfo2ah()
2274 (ah_attr->grh).sgid_index = adds_vectp->av_sgid_ix; in mcginfo2ah()
2275 (ah_attr->grh).hop_limit = adds_vectp->av_hop; in mcginfo2ah()
2276 (ah_attr->grh).traffic_class = adds_vectp->av_tclass; in mcginfo2ah()
2306 bcopy(&dgid_nworder, &((ah_attr->grh).dgid), sizeof (ib_gid_t)); in ibt_addsvect2ah()
2307 (ah_attr->grh).flow_label = adds_vectp->av_flow; in ibt_addsvect2ah()
2308 (ah_attr->grh).sgid_index = adds_vectp->av_sgid_ix; in ibt_addsvect2ah()
2309 (ah_attr->grh).hop_limit = adds_vectp->av_hop; in ibt_addsvect2ah()
2310 (ah_attr->grh).traffic_class = adds_vectp->av_tclass; in ibt_addsvect2ah()
H A Dsol_kverbs.c1626 attr->grh.dgid.global.subnet_prefix; in set_av()
1628 attr->grh.dgid.global.interface_id; in set_av()
1629 av->av_flow = attr->grh.flow_label & 0xFFFFF; in set_av()
1630 av->av_tclass = attr->grh.traffic_class; in set_av()
1631 av->av_hop = attr->grh.hop_limit; in set_av()
1632 av->av_sgid_ix = attr->grh.sgid_index; in set_av()
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_hw.h2596 uint32_t grh :1; member
3019 uint32_t grh :1; member
3048 uint32_t grh :1; member
3170 uint32_t grh :1; member
3222 uint32_t grh :1; member
3267 uint32_t grh :1; member
3332 uint32_t grh :1; member
4445 uint32_t grh :1; member
4963 if ((udav)->grh) { \
4987 #define HERMON_WQE_BUILD_MLX_GRH(state, grh, qp, udav, pktlen) \ argument
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_wr.c1686 ib_grh_t *grh; in hermon_wqe_mlx_build() local
1731 if (udav->grh) { in hermon_wqe_mlx_build()
1775 if (udav->grh) { in hermon_wqe_mlx_build()
1784 grh = (ib_grh_t *)((uintptr_t)lrh + sizeof (ib_lrh_hdr_t)); in hermon_wqe_mlx_build()
1785 HERMON_WQE_BUILD_MLX_GRH(state, grh, qp, udav, pktlen); in hermon_wqe_mlx_build()
1787 bth = (ib_bth_hdr_t *)((uintptr_t)grh + sizeof (ib_grh_t)); in hermon_wqe_mlx_build()
H A Dhermon_misc.c2226 path->grh = av->av_send_grh; in hermon_set_addr_path()
2253 if ((path->grh) || (type == HERMON_ADDRPATH_QP)) { in hermon_set_addr_path()
2331 av->av_send_grh = path->grh; in hermon_get_addr_path()
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_wr.c1354 ib_grh_t *grh; in tavor_wqe_mlx_build() local
1405 if (udav.grh) { in tavor_wqe_mlx_build()
1449 if (udav.grh) { in tavor_wqe_mlx_build()
1457 grh = (ib_grh_t *)((uintptr_t)lrh + sizeof (ib_lrh_hdr_t)); in tavor_wqe_mlx_build()
1458 TAVOR_WQE_BUILD_MLX_GRH(state, grh, qp, udav, pktlen); in tavor_wqe_mlx_build()
1460 bth = (ib_bth_hdr_t *)((uintptr_t)grh + sizeof (ib_grh_t)); in tavor_wqe_mlx_build()
H A Dtavor_misc.c1943 path->grh = av->av_send_grh; in tavor_set_addr_path()
1971 if ((path->grh) || (type == TAVOR_ADDRPATH_QP)) { in tavor_set_addr_path()
2047 av->av_send_grh = path->grh; in tavor_get_addr_path()
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_hw.h136 uint32_t grh :1; member
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/
H A Dib_verbs.h323 struct ib_global_route grh; member
H A Dib_user_verbs.h399 struct ib_uverbs_global_route grh; member