Home
last modified time | relevance | path

Searched refs:protocol_addr (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/subsys/net/lib/ptp/
Dtlv.c117 clock_desc->protocol_addr = (struct ptp_port_addr *)data; in tlv_mgmt_post_recv()
118 data += sizeof(*clock_desc->protocol_addr); in tlv_mgmt_post_recv()
119 data_length -= sizeof(*clock_desc->protocol_addr); in tlv_mgmt_post_recv()
123 tlv_ntohs(&clock_desc->protocol_addr->protocol); in tlv_mgmt_post_recv()
124 tlv_ntohs(&clock_desc->protocol_addr->addr_len); in tlv_mgmt_post_recv()
125 if (clock_desc->protocol_addr->addr_len > TLV_ADDR_LEN_MAX) { in tlv_mgmt_post_recv()
129 data += clock_desc->protocol_addr->addr_len; in tlv_mgmt_post_recv()
130 data_length -= clock_desc->protocol_addr->addr_len; in tlv_mgmt_post_recv()
278 tlv_htons(&clock_desc->protocol_addr->protocol); in tlv_mgmt_pre_send()
279 tlv_htons(&clock_desc->protocol_addr->addr_len); in tlv_mgmt_pre_send()
Dds.h107 struct ptp_port_addr protocol_addr; member
197 struct ptp_port_addr protocol_addr; member
Dtlv.h203 struct ptp_port_addr *protocol_addr; member