/illumos-gate/usr/src/uts/common/io/mac/plugins/ |
H A D | mac_ib.c | 198 mac_ib_header_info(mblk_t *mp, void *mac_pdata, mac_header_info_t *hdr_info) argument 208 hdr_info->mhi_hdrsize = sizeof (ib_header_info_t); 209 hdr_info->mhi_daddr = (const uint8_t *)&(ibhp->ib_dst); 211 hdr_info->mhi_saddr = (const uint8_t *)&(ibhp->ib_src); 213 hdr_info->mhi_saddr = NULL; 215 if (mac_ib_unicst_verify(hdr_info->mhi_daddr, mac_pdata) == 0) { 216 hdr_info->mhi_dsttype = MAC_ADDRTYPE_UNICAST; 217 } else if (mac_ib_multicst_verify(hdr_info->mhi_daddr, 219 hdr_info->mhi_dsttype = MAC_ADDRTYPE_MULTICAST; 221 hdr_info [all...] |
H A D | mac_ipv4.c | 180 mac_ipv4_header_info(mblk_t *mp, void *pdata, mac_header_info_t *hdr_info) argument 196 hdr_info->mhi_hdrsize = iphp->ip_hl * sizeof (uint32_t); 197 hdr_info->mhi_pktsize = 0; 198 hdr_info->mhi_daddr = (const uint8_t *)&(iphp->ip_dst); 199 hdr_info->mhi_saddr = (const uint8_t *)&(iphp->ip_src); 200 hdr_info->mhi_origsap = hdr_info->mhi_bindsap = iphp->ip_p; 201 hdr_info->mhi_dsttype = MAC_ADDRTYPE_UNICAST;
|
H A D | mac_ether.c | 411 mac_ether_header_info(mblk_t *mp, void *mac_pdata, mac_header_info_t *hdr_info) argument 422 hdr_info->mhi_hdrsize = sizeof (struct ether_header); 423 hdr_info->mhi_daddr = (const uint8_t *)&(ehp->ether_dhost); 424 hdr_info->mhi_saddr = (const uint8_t *)&(ehp->ether_shost); 425 hdr_info->mhi_origsap = ether_type; 426 hdr_info->mhi_bindsap = (ether_type > ETHERMTU) ? 428 hdr_info->mhi_pktsize = (hdr_info->mhi_bindsap == DLS_SAP_LLC) ? 429 hdr_info->mhi_hdrsize + ether_type : 0; 431 if (mac_ether_unicst_verify(hdr_info [all...] |
H A D | mac_ipv6.c | 177 mac_ipv6_header_info(mblk_t *mp, void *pdata, mac_header_info_t *hdr_info) argument 211 hdr_info->mhi_hdrsize = whereptr - mp->b_rptr; 212 hdr_info->mhi_pktsize = 0; 213 hdr_info->mhi_daddr = (const uint8_t *)&(ip6hp->ip6_dst); 214 hdr_info->mhi_saddr = (const uint8_t *)&(ip6hp->ip6_src); 215 hdr_info->mhi_bindsap = hdr_info->mhi_origsap = nexthdr; 216 hdr_info->mhi_dsttype = MAC_ADDRTYPE_UNICAST;
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bridge.c | 1808 update_header(mblk_t *mp, mac_header_info_t *hdr_info, boolean_t striphdr) argument 1810 if (hdr_info->mhi_bindsap == ETHERTYPE_VLAN) { 1816 hdr_info->mhi_istagged = B_TRUE; 1817 hdr_info->mhi_tci = ntohs(evhp->ether_tci); 1821 * in hdr_info before stripping the header. 1824 hdr_info->mhi_origsap = ether_type; 1825 hdr_info->mhi_bindsap = (ether_type > ETHERMTU) ? 1830 hdr_info->mhi_istagged = B_FALSE; 1831 hdr_info->mhi_tci = VLAN_ID_NONE; 1861 bridge_forward(bridge_link_t *blp, mac_header_info_t *hdr_info, mblk_ argument 2109 bridge_get_vlan(bridge_link_t *blp, mac_header_info_t *hdr_info, mblk_t *mp, uint16_t *vlanidp, uint16_t *tcip) argument 2219 mac_header_info_t hdr_info; local 2448 mac_header_info_t hdr_info; local 2554 mac_header_info_t hdr_info; local [all...] |
H A D | trill.c | 724 mblk_t *mp, mac_header_info_t *hdr_info) 738 if (hdr_info->mhi_saddr[0] & 1) 744 if (bcmp(hdr_info->mhi_saddr, blp->bl_local_mac, ETHERADDRL) == 0) 748 if (hdr_info->mhi_dsttype == MAC_ADDRTYPE_UNICAST && 749 bcmp(hdr_info->mhi_daddr, blp->bl_local_mac, ETHERADDRL) != 0) 752 if (hdr_info->mhi_bindsap == ETHERTYPE_TRILL) { 754 trill_recv(tsock, mp, hdr_info->mhi_saddr); 759 trill_ctrl_input(tsock, mp, hdr_info->mhi_saddr, 760 hdr_info->mhi_daddr[4] == all_isis_rbridges[4] ? 761 hdr_info 723 trill_recv_pkt_cb(void *lptr, bridge_link_t *blp, mac_resource_handle_t rsrc, mblk_t *mp, mac_header_info_t *hdr_info) argument 781 trill_encap_pkt_cb(void *lptr, bridge_link_t *blp, mac_header_info_t *hdr_info, mblk_t *mp, uint16_t egress_nick) argument [all...] |
/illumos-gate/usr/src/cmd/beadm/ |
H A D | beadm.c | 80 struct hdr_info { struct 180 print_hdr(struct hdr_info *hdr_info) argument 185 struct col_info *col_info = &hdr_info->cols[i]; 201 init_hdr_cols(enum be_fmt be_fmt, struct hdr_info *hdr) 278 count_widths(enum be_fmt be_fmt, struct hdr_info *hdr, be_node_list_t *be_nodes) 359 print_be_nodes(const char *be_name, boolean_t parsable, struct hdr_info *hdr, 425 print_be_snapshots(be_node_list_t *be, struct hdr_info *hdr, boolean_t parsable) 488 struct hdr_info *hdr, be_node_list_t *nodes) 551 struct hdr_info hd [all...] |
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_loader.c | 100 struct hdr_info { struct 105 print_hdr(struct hdr_info *hdr_info) argument 111 struct col_info *col_info = &hdr_info->cols[i]; 128 init_hdr_cols(struct hdr_info *hdr) 161 count_widths(struct hdr_info *hdr, struct menu_lst *menu) 181 print_menu_nodes(boolean_t parsable, struct hdr_info *hdr, 218 struct hdr_info hdr;
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xnbo.c | 230 mac_header_info_t hdr_info; local 235 if (mac_header_info(xnbop->o_mh, mp, &hdr_info) != 0) { 240 if ((hdr_info.mhi_dsttype == MAC_ADDRTYPE_BROADCAST) || 241 (hdr_info.mhi_dsttype == MAC_ADDRTYPE_MULTICAST)) { 246 if (bcmp(hdr_info.mhi_daddr, xnbp->xnb_mac_addr,
|
/illumos-gate/usr/src/uts/common/io/simnet/ |
H A D | simnet.c | 678 mac_header_info_t hdr_info; local 685 if (mac_header_info(sdev->sd_mh, mp, &hdr_info) != 0) { 697 hdr_info.mhi_dsttype != MAC_ADDRTYPE_BROADCAST) { 698 if (hdr_info.mhi_dsttype == MAC_ADDRTYPE_UNICAST && 699 bcmp(hdr_info.mhi_daddr, sdev->sd_mac_addr, 703 } else if (hdr_info.mhi_dsttype == MAC_ADDRTYPE_MULTICAST) { 705 if (mcastaddr_lookup(sdev, hdr_info.mhi_daddr) ==
|
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_vf.h | 97 u16 hdr_info; member in struct:e1000_adv_rx_desc::__anon150::__anon151::__anon152::__anon153
|
H A D | e1000_82575.h | 206 __le16 hdr_info; member in struct:e1000_adv_rx_desc::__anon112::__anon113::__anon114::__anon115
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_client.c | 3998 mac_header_info_t hdr_info; local 4000 if (mac_header_info((mac_handle_t)mip, mp, &hdr_info) != 0) 4002 return ((hdr_info.mhi_dsttype == MAC_ADDRTYPE_BROADCAST) || 4003 (hdr_info.mhi_dsttype == MAC_ADDRTYPE_MULTICAST));
|
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_type.h | 3066 __le16 hdr_info; /* Splithdr, hdrlen */ member in struct:ixgbe_adv_rx_desc::__anon13::__anon14::__anon15::__anon16
|