/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_recv.c | 85 struct ether_header *ehp; local 117 ehp = (struct ether_header *)cmp->b_rptr; 119 sap = ntohs(ehp->ether_type);
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | script_handler.c | 250 script_exit(iu_eh_t *ehp, int fd, short events, iu_event_id_t id, void *arg) argument
|
H A D | request.c | 974 dhcp_acknak_global(iu_eh_t *ehp, int fd, short events, iu_event_id_t id, argument 1096 dhcp_packet_lif(iu_eh_t *ehp, int fd, short events, iu_event_id_t id, argument
|
H A D | agent.c | 382 drain_script(iu_eh_t *ehp, void *arg) argument 412 accept_event(iu_eh_t *ehp, int fd, short events, iu_event_id_t id, void *arg) argument 442 ipc_event(iu_eh_t *ehp, int fd, short events, iu_event_id_t id, void *arg) argument 1361 rtsock_event(iu_eh_t *ehp, int fd, short events, iu_event_id_t id, void *arg) argument
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_recv2.c | 206 struct ether_vlan_header *ehp; local 209 ehp = (void *)dp; 210 ehp->ether_tpid = ntohs(ETHERTYPE_VLAN); 211 ehp->ether_tci = ntohs(hw_rbd.vlan_tci);
|
H A D | bge_send.c | 496 struct ether_vlan_header *ehp; local 531 ehp = (void *)pbuf; 532 if (ehp->ether_tpid == htons(ETHERTYPE_VLAN)) { 534 vlan_tci = ntohs(ehp->ether_tci);
|
/illumos-gate/usr/src/uts/common/io/mac/plugins/ |
H A D | mac_ether.c | 382 struct ether_header *ehp; local 393 ehp = (void *)mp->b_rptr; 394 bcopy(daddr, &(ehp->ether_dhost), ETHERADDRL); 395 bcopy(saddr, &(ehp->ether_shost), ETHERADDRL); 403 ehp->ether_type = htons(sap); 413 struct ether_header *ehp; local 419 ehp = (void *)mp->b_rptr; 420 ether_type = ntohs(ehp->ether_type); 423 hdr_info->mhi_daddr = (const uint8_t *)&(ehp->ether_dhost); 424 hdr_info->mhi_saddr = (const uint8_t *)&(ehp [all...] |
H A D | mac_wifi.c | 378 struct ether_header *ehp; local 384 ehp = (void *)mp->b_rptr; 385 llmp = mac_wifi_header(&ehp->ether_shost, &ehp->ether_dhost, 386 ntohs(ehp->ether_type), pdata, NULL, 0);
|
/illumos-gate/usr/src/cmd/mdb/intel/mdb/ |
H A D | proc_ia32dep.c | 565 pt_disasm(const GElf_Ehdr *ehp) argument
|
H A D | proc_amd64dep.c | 608 pt_disasm(const GElf_Ehdr *ehp) argument
|
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_rxtx.c | 178 struct ether_vlan_header *ehp; local 277 ehp = (struct ether_vlan_header *)mp->b_rptr; 278 ehp->ether_tpid = htons(ETHERTYPE_VLAN); 279 ehp->ether_tci = htons(vtag); 613 struct ether_vlan_header *ehp; local 633 ehp = (struct ether_vlan_header *)mp->b_rptr; 634 if (ehp->ether_tpid == htons(ETHERTYPE_VLAN)) 635 tci = ntohs(ehp->ether_tci);
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_rx.c | 461 struct ether_vlan_header *ehp; local 466 ehp = (struct ether_vlan_header *)voidptr(mp->b_rptr); 467 ehp->ether_tpid = htons(ETHERTYPE_VLAN); 468 ehp->ether_tci = LE_16(vtag);
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_rxdring.c | 581 struct ether_header *ehp; local 619 ehp = (struct ether_header *)mp->b_rptr; 620 is_bcast = IS_BROADCAST(ehp); 621 is_mcast = IS_MULTICAST(ehp); 1054 struct ether_header *ehp; local 1150 ehp = (struct ether_header *)mp->b_rptr; 1151 if (IS_BROADCAST(ehp)) 1153 else if (IS_MULTICAST(ehp))
|
H A D | vsw_rxdring.c | 720 struct ether_header *ehp; local 811 ehp = (struct ether_header *)mp->b_rptr; 812 if (IS_BROADCAST(ehp)) 814 else if (IS_MULTICAST(ehp)) 859 struct ether_header *ehp; local 913 ehp = (struct ether_header *)mp->b_rptr; 914 is_bcast = IS_BROADCAST(ehp); 915 is_mcast = IS_MULTICAST(ehp);
|
H A D | vnet_txdring.c | 597 struct ether_header *ehp; local 633 ehp = (struct ether_header *)mp->b_rptr; 634 is_bcast = IS_BROADCAST(ehp); 635 is_mcast = IS_MULTICAST(ehp); 982 struct ether_header *ehp; local 1197 ehp = (struct ether_header *)mp->b_rptr; 1198 if (IS_BROADCAST(ehp)) 1200 else if (IS_MULTICAST(ehp))
|
H A D | vsw_phys.c | 1203 struct ether_header *ehp; local 1214 ehp = (struct ether_header *)mp->b_rptr; 1215 bcopy(ðerbroadcastaddr, &ehp->ether_dhost, ETHERADDRL); 1216 bcopy(&portp->p_macaddr, &ehp->ether_shost, ETHERADDRL); 1217 ehp->ether_type = htons(ETHERTYPE_REVARP);
|
H A D | vsw_switching.c | 102 boolean_t vsw_frame_lookup_vid(void *arg, int caller, struct ether_header *ehp, 121 static mblk_t *vsw_get_same_dest_list(struct ether_header *ehp, mblk_t **mpp); 459 struct ether_header *ehp; local 474 ehp = (struct ether_header *)bp->b_rptr; 475 mp = vsw_get_same_dest_list(ehp, &bp); 481 if (ether_cmp(&ehp->ether_dhost, &vswp->if_addr) == 0) { 500 fp = vsw_fdbe_find(vswp, &ehp->ether_dhost); 529 if (IS_BROADCAST(ehp)) { 532 } else if (IS_MULTICAST(ehp)) { 604 struct ether_header *ehp; local 790 struct ether_header *ehp = (struct ether_header *)mp->b_rptr; local 1245 struct ether_header *ehp; local 1330 struct ether_header *ehp; local 1476 vsw_frame_lookup_vid(void *arg, int caller, struct ether_header *ehp, uint16_t *vidp) argument 1892 vsw_get_same_dest_list(struct ether_header *ehp, mblk_t **mpp) argument [all...] |
H A D | vsw_txdring.c | 796 struct ether_header *ehp = (struct ether_header *)mp->b_rptr; local 861 if (IS_BROADCAST(ehp)) 863 else if (IS_MULTICAST(ehp)) 1041 struct ether_header *ehp; local 1246 ehp = (struct ether_header *)mp->b_rptr; 1247 if (IS_BROADCAST(ehp)) 1249 else if (IS_MULTICAST(ehp))
|
/illumos-gate/usr/src/cmd/mdb/sparc/mdb/ |
H A D | proc_isadep.c | 635 pt_disasm(const GElf_Ehdr *ehp) argument 646 if (ehp != NULL && ehp->e_machine == EM_SPARC32PLUS) { 647 if (ehp->e_flags & (EF_SPARC_SUN_US1 | EF_SPARC_SUN_US3))
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gelf.c | 714 mdb_gelf_check(mdb_io_t *io, Elf32_Ehdr *ehp, GElf_Half etype) argument 724 nbytes = IOP_READ(io, ehp, sizeof (Elf32_Ehdr)); 733 bcmp(&ehp->e_ident[EI_MAG0], ELFMAG, SELFMAG) != 0) { 739 if (ehp->e_ident[EI_DATA] != order) { 745 if (ehp->e_version != EV_CURRENT) { 748 (ulong_t)ehp->e_version, EV_CURRENT); 752 if (etype != ET_NONE && ehp->e_type != etype) {
|
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_str.c | 777 struct ether_header *ehp; local 824 ehp = (struct ether_header *)mp->b_rptr; 829 bcopy(ehp, evhp, (ETHERADDRL * 2)); 830 evhp->ether_type = ehp->ether_type;
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xnb.c | 261 struct ether_header *ehp; local 287 ehp = (struct ether_header *)mp->b_rptr; 289 if (ntohs(ehp->ether_type) == VLAN_TPID) { 297 sap = ntohs(ehp->ether_type);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | gldutil.c | 432 struct ether_header *ehp; local 454 ehp = (struct ether_header *)mp->b_rptr; 455 mac_copy(&ehp->ether_dhost, &evhp->ether_dhost, ETHERADDRL); 456 mac_copy(&ehp->ether_shost, &evhp->ether_shost, ETHERADDRL); 457 bcopy(&ehp->ether_type, &evhp->ether_type, sizeof (uint16_t));
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_util.c | 108 struct ether_header *ehp; local 139 ehp = (struct ether_header *)mp->b_rptr; 140 if (ntohs(ehp->ether_type) == VLAN_TPID) { 149 sap = ntohs(ehp->ether_type); 322 struct ether_header *ehp; local 340 ehp = (struct ether_header *)mp->b_rptr; 342 bcopy(ehp, evhp, (ETHERADDRL * 2)); 343 evhp->ether_type = ehp->ether_type; 896 struct ether_header *ehp; local 917 ehp [all...] |
/illumos-gate/usr/src/uts/sun4u/starfire/io/ |
H A D | idn_dlpi.c | 250 #define IS_BROADCAST(ehp) \ 251 (ether_cmp(&(ehp)->ether_dhost, ðerbroadcastaddr) == 0) 252 #define IS_MULTICAST(ehp) \ 253 IDNDL_ADDR_IS_MULTICAST(&(ehp)->ether_dhost) 254 #define BUMP_InNUcast(sip, ehp) \ 255 if (IS_BROADCAST(ehp)) { \ 257 } else if (IS_MULTICAST(ehp)) { \ 260 #define BUMP_OutNUcast(sip, ehp) \ 261 if (IS_BROADCAST(ehp)) { \ 263 } else if (IS_MULTICAST(ehp)) { \ 1646 struct ether_header *ehp; local 1839 struct ether_header *ehp; local [all...] |