/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | svc_dg.c | 316 in_pktinfo_t *pktinfo; local 345 pktinfo = (in_pktinfo_t *)(opthdr + 1); 346 (void) memset(pktinfo, 0, sizeof (in_pktinfo_t)); 347 pktinfo->ipi_spec_dst.s_addr = sock->sin_addr.s_addr; 348 pktinfo->ipi_ifindex = 0;
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | conn_opt.c | 710 struct in_pktinfo *pktinfo; local 723 pktinfo = (struct in_pktinfo *)ptr; 724 pktinfo->ipi_ifindex = ixa->ixa_ifindex; 726 pktinfo->ipi_spec_dst.s_addr = ipp->ipp_addr_v4; 728 pktinfo->ipi_spec_dst.s_addr = INADDR_ANY; 1244 struct in_pktinfo *pktinfo; local 1253 pktinfo = (struct in_pktinfo *)invalp; 1254 if (pktinfo->ipi_spec_dst.s_addr != INADDR_ANY) { 1255 switch (ip_laddr_verify_v4(pktinfo->ipi_spec_dst.s_addr, 1264 if (!ip_xmit_ifindex_valid(pktinfo 1374 struct in_pktinfo *pktinfo; local [all...] |
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | svc_clts.c | 548 in_pktinfo_t *pktinfo; local 580 pktinfo = (in_pktinfo_t *)(opthdr + 1); 581 (void) memset(pktinfo, 0, sizeof (in_pktinfo_t)); 582 pktinfo->ipi_spec_dst.s_addr = 584 pktinfo->ipi_ifindex = 0;
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | gldutil.c | 144 gld_interpret_ether(gld_mac_info_t *macinfo, mblk_t *mp, pktinfo_t *pktinfo, argument 158 pktinfo->pktLen = msgdsize(mp); 166 pktinfo->ethertype = REF_NET_USHORT(mh->ether_type); 167 pktinfo->isForMe = mac_eq(&mh->ether_dhost, 169 pktinfo->macLen = sizeof (struct ether_header); 174 bzero((void *)pktinfo, sizeof (*pktinfo)); 176 pktinfo->pktLen = msgdsize(mp); 179 if (pktinfo->pktLen < sizeof (struct ether_header)) 199 pktinfo 585 gld_interpret_ib(gld_mac_info_t *macinfo, mblk_t *mp, pktinfo_t *pktinfo, packet_flag_t flags) argument 807 gld_interpret_mdt_ib(gld_mac_info_t *macinfo, mblk_t *mp, pdescinfo_t *pinfo, pktinfo_t *pktinfo, mdt_packet_flag_t flags) argument 1021 gld_interpret_fddi(gld_mac_info_t *macinfo, mblk_t *mp, pktinfo_t *pktinfo, packet_flag_t flags) argument 1395 gld_interpret_tr(gld_mac_info_t *macinfo, mblk_t *mp, pktinfo_t *pktinfo, packet_flag_t flags) argument 1821 gld_rcc_receive(gld_mac_info_t *macinfo, pktinfo_t *pktinfo, struct gld_ri *rh, uchar_t *llcpkt, int llcpktlen) argument [all...] |
H A D | gld.c | 105 #define UPDATE_STATS(stats, vstats, pktinfo, delta) { \ 106 if ((pktinfo).isBroadcast) { \ 109 } else if ((pktinfo).isMulticast) { \ 113 ((pktinfo).pktLen)); \ 2047 pktinfo_t pktinfo; local 2074 if ((*ifp->interpreter)(macinfo, mp, &pktinfo, GLD_TX) != 0) { 2167 pktinfo.pktLen > ifp->hdr_size + (vtag == 0 ? 0 : VTAG_SIZE) + 2175 "max %d", pktinfo.pktLen, 2193 UPDATE_STATS(stats0, stats, pktinfo, 1); 2205 UPDATE_STATS(stats0, stats, pktinfo, 2246 pktinfo_t pktinfo; local 2507 pktinfo_t pktinfo; local 2546 gld_precv_mdt(gld_mac_info_t *macinfo, gld_vlan_t *vlan, mblk_t *mp, pdesc_t *dl_pkt, pktinfo_t *pktinfo) argument 2582 pktinfo_t pktinfo; local 2757 gld_sendup_vlan(gld_vlan_t *vlan, pktinfo_t *pktinfo, mblk_t *mp, int (*acceptfunc)(), void (*send)(), int (*cansend)(), gld_t **fgldp) argument 2854 gld_sendup(gld_mac_info_t *macinfo, pktinfo_t *pktinfo, mblk_t *mp, int (*acceptfunc)()) argument 2964 gld_accept(gld_t *gld, pktinfo_t *pktinfo) argument 3009 gld_mcmatch(gld_t *gld, pktinfo_t *pktinfo) argument 3065 gld_paccept(gld_t *gld, pktinfo_t *pktinfo) argument 3083 gld_passon(gld_t *gld, mblk_t *mp, pktinfo_t *pktinfo, void (*send)(queue_t *qp, mblk_t *mp)) argument 3194 gld_addudind(gld_t *gld, mblk_t *mp, pktinfo_t *pktinfo, boolean_t tagged) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_main.c | 644 unm_tx_csum(cmdDescType0_t *desc, mblk_t *mp, pktinfo_t *pktinfo) argument 646 if (pktinfo->mac_hlen == sizeof (struct ether_vlan_header)) 649 if (pktinfo->etype == htons(ETHERTYPE_IP)) { 662 switch (pktinfo->l4_proto) { 675 desc->u1.s1.ipHdrOffset = pktinfo->mac_hlen; 676 desc->u1.s1.tcpHdrOffset = pktinfo->mac_hlen + pktinfo->ip_hlen; 683 * Caller assumes pktinfo->total_len will be updated by this function and 684 * if pktinfo->etype is set to 0, it will need to linearize the mblk and 689 unm_get_pkt_info(mblk_t *mp, pktinfo_t *pktinfo) argument 742 unm_update_pkt_info(char *ptr, pktinfo_t *pktinfo) argument 764 unm_send_copy(struct unm_adapter_s *adapter, mblk_t *mp, pktinfo_t *pktinfo) argument 883 unm_send_mapped(struct unm_adapter_s *adapter, mblk_t *mp, pktinfo_t *pktinfo) argument 1085 pktinfo_t pktinfo; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping.c | 1575 struct in_pktinfo pktinfo; local 1585 bzero(&pktinfo, sizeof (pktinfo)); 1586 pktinfo.ipi_ifindex = my_if->index; 1588 (char *)&pktinfo, sizeof (pktinfo)) == -1) {
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | gldpriv.h | 198 typedef struct pktinfo { struct
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | st.c | 6664 pkt_info *pktinfo = BP_PKT(bp)->pkt_private; local 6678 if ((pktinfo->str_retry_cnt++ > st_retry_count) || 6820 pkt_info *pktinfo = pkt->pkt_private; local 6874 un->un_retry_ct = max(pktinfo->pkt_retry_cnt, pktinfo->str_retry_cnt); 10127 pkt_info *pktinfo = BP_PKT(bp)->pkt_private; local 10150 if ((pktinfo->str_retry_cnt++ > st_retry_count) || 11320 pkt_info *pktinfo = BP_PKT(bp)->pkt_private; local 11337 if ((pktinfo->pkt_retry_cnt > st_retry_count) ||
|