Home | History | Annotate | Download | only in libpcap

Lines Matching full:sunatm

71 /* SunATM pseudo header */
446 struct sunatm_hdr *sunatm = (struct sunatm_hdr *)dp;
450 sunatm->vci = htons((rawatm >> 4) & 0xffff);
451 sunatm->vpi = (rawatm >> 20) & 0x00ff;
452 sunatm->flags = ((header->flags.iface & 1) ? 0x80 : 0x00) |
453 ((sunatm->vpi == 0 && sunatm->vci == htons(5)) ? 6 :
454 ((sunatm->vpi == 0 && sunatm->vci == htons(16)) ? 5 :