Home
last modified time | relevance | path

Searched defs:IpHeader (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/include/net/
H A Dnet_device.h351 struct IpHeader { struct
352 uint8_t versionAndHl; /**< Version and header length */
353 uint8_t tos; /**< Service type
358 uint16_t totLen; /**< Total length of an IP data packet */
359 uint16_t id; /**< Each data packet sent by the host */
360 uint16_t fragInfo; /**< Fragmentation information */
361 uint8_t ttl; /**< Generation time */
362 …t protocol; /**< Protocol, such as 1 (ICMP), 2 (IGMP), 6 (TCP), 17 (UDP), and 89 (OSPF) */
363 uint16_t check; /**< Header check */
364 uint32_t sAddr; /**< Source address */
[all …]