/original-bsd/sys/net/ |
H A D | if_ethersubr.c | 81 register struct ether_header *eh; local 222 type = eh->ether_type; 244 sizeof(eh->ether_type)); 247 sizeof(eh->ether_shost)); 279 ether_input(ifp, eh, m) in ether_input() argument 281 register struct ether_header *eh; 298 else if (eh->ether_dhost[0] & 1) 303 switch (eh->ether_type) { 324 if (eh->ether_type > ETHERMTU) 382 eh->ether_dhost[i] = eh->ether_shost[i]; [all …]
|
/original-bsd/sys/vax/if/ |
H A D | if_de.c | 539 struct ether_header *eh; local 550 eh = (struct ether_header *)ifrw->ifrw_addr; 551 eh->ether_type = ntohs((u_short)eh->ether_type); 552 #define dedataaddr(eh, off, type) ((type)(((caddr_t)((eh)+1)+(off)))) argument 553 if (eh->ether_type >= ETHERTYPE_TRAIL && 554 eh->ether_type < ETHERTYPE_TRAIL+ETHERTYPE_NTRAILER) { 555 off = (eh->ether_type - ETHERTYPE_TRAIL) * 512; 558 eh->ether_type = ntohs(*dedataaddr(eh, off, u_short *)); 559 resid = ntohs(*(dedataaddr(eh, off+2, u_short *))); 575 ether_input(&ds->ds_if, eh, m);
|
H A D | if_qe.c | 860 struct ether_header *eh, ehm; local 871 eh = (struct ether_header *)ifrw->ifrw_addr; 872 eh->ether_type = ntohs((u_short)eh->ether_type); 873 #define qedataaddr(eh, off, type) ((type)(((caddr_t)((eh)+1)+(off)))) argument 874 if (eh->ether_type >= ETHERTYPE_TRAIL && 875 eh->ether_type < ETHERTYPE_TRAIL+ETHERTYPE_NTRAILER) { 876 off = (eh->ether_type - ETHERTYPE_TRAIL) * 512; 879 eh->ether_type = ntohs(*qedataaddr(eh,off, u_short *)); 880 resid = ntohs(*(qedataaddr(eh, off+2, u_short *))); 895 bcopy((caddr_t)eh, (caddr_t)&ehm, sizeof(ehm));
|
H A D | if_ex.c | 563 register struct ether_header *eh; local 577 eh = (struct ether_header *)(xs->xs_ifuba.ifu_r.ifrw_addr); 584 eh->ether_type = ntohs((u_short)eh->ether_type); 585 #define exdataaddr(eh, off, type) ((type)(((caddr_t)((eh)+1)+(off)))) argument 586 if (eh->ether_type >= ETHERTYPE_TRAIL && 587 eh->ether_type < ETHERTYPE_TRAIL+ETHERTYPE_NTRAILER) { 588 off = (eh->ether_type - ETHERTYPE_TRAIL) * 512; 591 eh->ether_type = ntohs(*exdataaddr(eh, off, u_short *)); 592 resid = ntohs(*(exdataaddr(eh, off+2, u_short *))); 610 ether_input(&xs->xs_if, eh, m);
|
/original-bsd/sys/i386/isa/ |
H A D | if_we.c | 687 #define wedataaddr(sc, eh, off, type) \ argument 689 (((caddr_t)((eh)+1)+(off))) - (sc)->we_vmem_end \ 691 ((caddr_t)((eh)+1)+(off))) 701 register struct ether_header *eh; local 710 eh = (struct ether_header *)buf; 711 eh->ether_type = ntohs((u_short)eh->ether_type); 712 if (eh->ether_type >= ETHERTYPE_TRAIL && 714 off = (eh->ether_type - ETHERTYPE_TRAIL) * 512; 716 eh->ether_type = ntohs(*wedataaddr(sc, eh, off, u_short *)); 717 resid = ntohs(*(wedataaddr(sc, eh, off+2, u_short *))); [all …]
|
H A D | if_ne.c | 574 register struct ether_header *eh; local 584 eh = (struct ether_header *)buf; 585 eh->ether_type = ntohs((u_short)eh->ether_type); 586 #define nedataaddr(eh, off, type) ((type)(((caddr_t)((eh)+1)+(off)))) argument 587 if (eh->ether_type >= ETHERTYPE_TRAIL && 588 eh->ether_type < ETHERTYPE_TRAIL+ETHERTYPE_NTRAILER) { 589 off = (eh->ether_type - ETHERTYPE_TRAIL) * 512; 591 eh->ether_type = ntohs(*nedataaddr(eh, off, u_short *)); 592 resid = ntohs(*(nedataaddr(eh, off+2, u_short *))); 608 ether_input(&ns->ns_if, eh, m);
|
H A D | if_ecreg.h | 130 struct ether_header eh; member
|
H A D | if_ec.c | 522 struct ether_header *et, eh; local 529 bcopy((caddr_t)et, &eh, sizeof(eh)); 592 ether_input(&ec->sc_if, &eh, m);
|
/original-bsd/sys/netinet/ |
H A D | if_ether.c | 222 register struct ether_header *eh; local 232 eh = (struct ether_header *)sa.sa_data; 234 bcopy((caddr_t)etherbroadcastaddr, (caddr_t)eh->ether_dhost, 235 sizeof(eh->ether_dhost)); 236 eh->ether_type = ETHERTYPE_ARP; /* if_output will swap */ 380 struct ether_header *eh; local 465 eh = (struct ether_header *)sa.sa_data; 466 bcopy((caddr_t)ea->arp_tha, (caddr_t)eh->ether_dhost, 467 sizeof(eh->ether_dhost)); 468 eh->ether_type = ETHERTYPE_ARP;
|
/original-bsd/sys/tahoe/if/ |
H A D | if_ex.c | 650 register struct ether_header *eh; local 665 eh = (struct ether_header *)(bp->mb_pkb->iff_buffer); 672 eh->ether_type = ntohs((u_short)eh->ether_type); 673 #define exdataaddr(eh, off, type) ((type)(((caddr_t)((eh)+1)+(off)))) argument 674 if (eh->ether_type >= ETHERTYPE_TRAIL && 675 eh->ether_type < ETHERTYPE_TRAIL+ETHERTYPE_NTRAILER) { 676 off = (eh->ether_type - ETHERTYPE_TRAIL) * 512; 679 eh->ether_type = ntohs(*exdataaddr(eh, off, u_short *)); 680 resid = ntohs(*(exdataaddr(eh, off+2, u_short *))); 697 ether_input(&xs->xs_if, eh, m);
|
/original-bsd/sys/netiso/ |
H A D | if_un.eg | 345 register struct ether_header *eh; 420 type = ungetushortatoff(addr, eh, off); 436 ehbuf = *eh; 725 register struct ether_header *eh; 838 eh = (struct ether_header *)dst->sa_data; 840 type = eh->ether_type; 870 eh = mtod(m, struct ether_header *); 873 sizeof(eh->ether_shost)); 1234 u_short ungetushortatoff(addr, eh, off) 1236 register struct ether_header *eh; [all …]
|
/original-bsd/lib/libcurses/PSD.doc/ |
H A D | appen.C | 9 .eh 'PS1:19-%''\*(Ln Appendix A'
|
/original-bsd/lib/libcompat/regexp/ |
H A D | tests | 106 ^a(bc+|b[eh])g|.h$ abh y &-\1 bh-
|
/original-bsd/share/me/ |
H A D | summary.external | 116 eh M set header (even numbered pages only)
|
/original-bsd/share/dict/ |
H A D | words | 7541 eh
|
/original-bsd/games/fortune/datfiles/ |
H A D | fortunes2 | 30274 Luke, I'm yer father, eh. Come over to the dark side, you hoser. 39751 So you see Antonio, why worry about one little core dump, eh? In reality all 39759 So you see Antonio, why worry about one little core dump, eh? In reality 45656 The, uh, snowy mountains are like really cold, eh? 45657 And the, um, plains stretch out like my moms girdle, eh? 45658 There's lotsa beers and doughnuts for everyone, eh? 45661 So shut yer face up and dry yer mucklucks by the fire, eh? 45662 And dream about girls with their high beams on, eh? 45665 -- A, like, Tribute to the Great White North, eh?
|
H A D | fortunes | 15017 "Well, that was a piece of cake, eh K-9?"
|
H A D | fortunes2-o | 1928 enough here for a pint for you and a pint for me. Pretty good, eh, old buddy?"
|