网络层协议类型及对应的16进制值

0x0800 Internet Protocol (IP) [RFC894]
0x0801 X.75 Internet
0x0805 X.25 Level 3
0x0806 Address Resolution Protocol (ARP)[RFC7042]
0x0808 Frame Relay ARP [RFC1701]
0x8000 IS-IS
0x8035 Reverse Address Resolution Protocol (RARP) [RFC903]
0x8137 Novell NetWare IPX/SPX (old)
0x8138 Novell, Inc.
0x8100 IEEE Std 802.1Q - Customer VLAN Tag Type
0x814C SNMP over Ethernet [RFC1089]
0x86DD IP Protocol version 6 (IPv6) [RFC7042]
0x8808 IEEE Std 802.3 - Ethernet Passive Optical Network (EPON) [RFC7042]
0x880B Point-to-Point Protocol (PPP) [RFC7042]
0x880C General Switch Management Protocol (GSMP)
0x8847 MPLS (multiprotocol label switching) label stack - unicast [RFC 3032]
0x8848 MPLS (multiprotocol label switching) label stack - multicast [RFC 3032]
0x8863 PPP over Ethernet (PPPoE) Discovery Stage [RFC2516]
0x8864 PPP over Ethernet (PPPoE) Session Stage [RFC2516]
0x888E IEEE Std 802.1X - Port-based network access control
0x88A8 IEEE Std 802.1Q - Service VLAN tag identifier (S-Tag)
0x88B7 IEEE Std 802 - OUI Extended Ethertype
0x88C7 IEEE Std 802.11 - Pre-Authentication (802.11i)
0x88CC IEEE Std 802.1AB - Link Layer Discovery Protocol (LLDP)
0x88E5 IEEE Std 802.1AE - Media Access Control Security
0x88F5 IEEE Std 802.1Q - Multiple VLAN Registration Protocol (MVRP)
0x88F6 IEEE Std 802.1Q - Multiple Multicast Registration Protocol (MMRP)
时间: 2024-08-12 16:44:27

网络层协议类型及对应的16进制值的相关文章

Android 不透明度16进制值

不透明度16进制值 100% - FF 99% - FC 98% - FA 97% - F7 96% - F5 95% - F2 94% - F0 93% - ED 92% - EB 91% - E8 90% - E6 89% - E3 88% - E0 87% - DE 86% - DB 85% - D9 84% - D6 83% - D4 82% - D1 81% - CF 80% - CC 79% - C9 78% - C7 77% - C4 76% - C2 75% - BF 74% -

不透明度16进制值

alpha 不透明度 16进制值 100% FF 95% F2 90% E6 85% D9 80% CC 75% BF 70% B3 65% A6 60% 99 55% 8C 50% 80 45% 73 40% 66 35% 59 30% 4D 25% 40 20% 33 15% 26 10% 1A 5% 0D 0% 00

16进制值字符串与byte数组的转换

/** * 将byte数组转换为表示16进制值的字符串, 如:byte[]{8,18}转换为:0813, 和public static byte[] * hexStr2ByteArr(String strIn) 互为可逆的转换过程 * * @param arrB * 需要转换的byte数组 * @return 转换后的字符串 * @throws Exception * 本方法不处理任何异常,所有异常全部抛出 */ public static String byteArr2HexStr(byte[

Android中颜色透明度对应16进制值

透明度-开头两位字母 100% - FF 95% - F2 90% - E6 85% - D9 80% - CC 75% - BF 70% - B3 65% - A6 60% - 99 55% - 8C 50% - 80 45% - 73 40% - 66 35% - 59 30% - 4D 25% - 40 20% - 33 15% - 26 10% - 1A   5% - 0D   0% - 00 计算公式为:开头两位16进制对应的十进制 / FF的10进制数   比如,字母为26,转为10

Java字符串转16 进制工具类Hex.java

原文:Java字符串转16 进制工具类Hex.java 源代码下载地址:http://www.zuidaima.com/share/1550463378410496.htm Java 字符串转 16 进制工具类 Hex.java 实现 16进制 0xfecd .. 和 java 字符串之间的互转换! 如果做开发,通常用户登陆密码都会 mad5(salt + pwd) 然后再将 md 之后的数据 hex 一下. 这个工具类,就是实现此效果的. /* * */ package com.zuidaim

c# 字符串(含有汉字)转化为16进制编码(转)

public static string Str2Hex(string s) { string result = string.Empty; byte[] arrByte = System.Text.Encoding.GetEncoding("GB2312").GetBytes(s); for(int i = 0; i < arrByte.Length; i++) { result += "&#x" + System.Convert.ToString(

支持windows linux下将指定内存段转为16进制与ascii码的日志输出类

来源:http://blog.csdn.net/lezhiyong 1. 简介 将指定内存段转为16进制与asci码的输出到日志文件的类. 2. 功能介绍 1) 支持window与linus双系统. 2) 可指定输出目录. 3) 日志能输出的时间精确到毫秒,日志能输出线程号. 4) 提供字符串输出. 5) 提供指定内存转换为16进制输出. 6) 提供指定内存转换为16进制和ascii码同时输出. 7) 可调整16进制输出间距. 3. 原理和算法 1) 模块是基于C++语言编写: 2) 通过条件定

栈的基础操作——2,8,16进制的入栈——数组类型定义

#define stack_init_size 100 #define stackincrement 10 typedef int ElemType; typedef int status; const status error=0; const status ok=1; const status overflow=-2; const int MAXSIZE = 100; typedef struct { ElemType elem[MAXSIZE]; int top; } SqStack; s

C语言将16进制的数转换为字符串的方法

今天在写代码的时候遇到一个需求:为了与同一产品中的其它设备统一,上位机要求处理字符串,而不是数组.我们都知道在处理数据的时候数组方便,不过考虑到兼顾别的设备(没错我说的就是TI430做的RFID读卡设备,跟上位机之间的协议传递的是字符串/大笑),就尝试了将16进制的数据改为字符串,也就是0xAB,改成"AB"...虽然看上去没什么用. 原先的数据类型是uint8_t,熟悉单片机的都知道这个的含义,其实也就是unsigned char ,说到底还是个char,但偏偏要求表示成'A&quo