Lines Matching refs:ed
211 struct en_desc *ed;
313 ed = &desc_blk->block_ptr[i];
314 ed->protocol_family = protocol;
315 ed->data[0] = 0;
316 ed->data[1] = 0;
322 ed->type = DLIL_DESC_ETYPE2;
323 ed->data[0] = *(u_int16_t*)demux->data;
327 ed->type = DLIL_DESC_SAP;
328 bcopy(demux->data, &ed->data[0], 3);
332 u_int8_t* pDest = ((u_int8_t*)&ed->data[0]) + 3;
333 ed->type = DLIL_DESC_SNAP;
379 struct en_desc *ed = desc_blk ? desc_blk->block_ptr : NULL;
471 if ((ed[i].type == type) && (ed[i].data[0] == ether_type)) {
472 *protocol_family = ed[i].protocol_family;
480 if ((ed[i].type == type) && (ed[i].data[0] == extProto1)) {
481 *protocol_family = ed[i].protocol_family;
489 if ((ed[i].type == type) && (ed[i].data[0] == extProto1) &&
490 (ed[i].data[1] == extProto2)) {
491 *protocol_family = ed[i].protocol_family;