Lines Matching refs:proto
130 u_int16_t proto;
169 u_int8_t proto;
184 printf("proto %s (%u), vlan %u: ",
185 tok2str(juniper_protocol_values,"Unknown",gh->proto),
186 gh->proto,
189 switch (gh->proto) {
200 printf("unknown GGSN proto (%u)", gh->proto);
303 /* no proto field - lets guess by first byte of IP header*/
337 /* no proto field - lets guess by first byte of IP header*/
468 * best indicator if the cookie looks like a proto */
477 switch(l2info.proto) {
538 proto) {
561 switch (l2info.proto) {
572 printf("unknown protocol 0x%04x, length %u",l2info.proto, l2info.length);
593 switch (l2info.proto) {
605 printf("unknown protocol 0x%04x, length %u",l2info.proto, l2info.length);
804 l2info->proto = 0;
901 l2info->proto = EXTRACT_16BITS(p+l2info->cookie_len);
918 l2info->proto = (l2info->cookie[5])&JUNIPER_LSQ_L3_PROTO_MASK;
931 l2info->proto = EXTRACT_16BITS(p);
938 l2info->proto = (l2info->cookie[5])&JUNIPER_LSQ_L3_PROTO_MASK;
954 l2info->proto = EXTRACT_16BITS(p);
961 l2info->proto = (l2info->cookie[5])&JUNIPER_LSQ_L3_PROTO_MASK;
1018 printf("hlen %u, proto 0x%04x, ",l2info->header_len,l2info->proto);