Searched refs:snaphdr (Results 1 – 5 of 5) sorted by relevance
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ether.c | 812 struct llc_snap_hdr *snaphdr; in interpret_tr() local 851 snaphdr = (struct llc_snap_hdr *)(e + maclen); in interpret_tr() 852 if (snaphdr->d_lsap == LSAP_SNAP && in interpret_tr() 853 snaphdr->s_lsap == LSAP_SNAP && in interpret_tr() 854 snaphdr->control == CNTL_LLC_UI) { in interpret_tr() 869 ethertype = ntohs(snaphdr->type); in interpret_tr() 951 snaphdr->d_lsap); in interpret_tr() 954 snaphdr->s_lsap); in interpret_tr() 957 snaphdr->control); in interpret_tr() 961 snaphdr->org[0], snaphdr->org[1], in interpret_tr() [all …]
|
/titanic_50/usr/src/uts/common/io/ |
H A D | gldutil.c | 75 #define ISETHERTYPE(snaphdr) \ argument 76 (snaphdr->d_lsap == LSAP_SNAP && \ 77 snaphdr->s_lsap == LSAP_SNAP && \ 78 snaphdr->control == CNTL_LLC_UI && \ 79 snaphdr->org[0] == 0 && \ 80 snaphdr->org[1] == 0 && \ 81 snaphdr->org[2] == 0) 149 struct llc_snap_hdr *snaphdr; in gld_interpret_ether() local 321 snaphdr = (struct llc_snap_hdr *)(mp->b_rptr + pktinfo->macLen); in gld_interpret_ether() 322 if (ISETHERTYPE(snaphdr)) { in gld_interpret_ether() [all …]
|
H A D | llc1.c | 111 static int llc1_snap_match(llc1_t *lld, struct snaphdr *snap); 1416 nmp = allocb(sizeof (struct llchdr)+sizeof (struct snaphdr), in llc1_unitdata() 1586 (struct snaphdr *)(llchdr+1))) in llc1_recv() 2151 struct snaphdr *snap; in llc1_form_udata() 2176 mp->b_rptr += sizeof (struct snaphdr); in llc1_form_udata() 2177 snap = (struct snaphdr *)(llchdr + 1); in llc1_form_udata() 3065 llc1_snap_match(llc1_t *lld, struct snaphdr *snap) in llc1_snap_match()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | llc1.h | 217 struct snaphdr { struct
|
/titanic_50/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcip.c | 2825 llc_snap_hdr_t *snaphdr; in fcip_data_cb() local 2877 snaphdr = (llc_snap_hdr_t *)(buf->ub_buffer + in fcip_data_cb() 2889 snaphdr->pid = BE_16(snaphdr->pid); in fcip_data_cb() 2890 type = snaphdr->pid; in fcip_data_cb() 2894 snaphdr->dsap, snaphdr->ssap, snaphdr->ctrl)); in fcip_data_cb() 2898 snaphdr->oui[0], snaphdr->oui[1], snaphdr->oui[2], snaphdr->pid)); in fcip_data_cb() 3308 llc_snap_hdr_t *snaphdr; in fcip_sendup() local 3313 snaphdr = in fcip_sendup() 3316 type = snaphdr->pid; in fcip_sendup()
|