Searched refs:tlv_ptr (Results 1 – 5 of 5) sorted by relevance
/external/tcpdump/ |
D | print-eigrp.c | 226 } tlv_ptr; in eigrp_print() local 310 tlv_ptr.eigrp_tlv_general_parm = (const struct eigrp_tlv_general_parm_t *)tlv_tptr; in eigrp_print() 311 if (tlv_tlen < sizeof(*tlv_ptr.eigrp_tlv_general_parm)) { in eigrp_print() 313 … (u_int) (sizeof(struct eigrp_tlv_header) + sizeof(*tlv_ptr.eigrp_tlv_general_parm)))); in eigrp_print() 318 EXTRACT_16BITS(tlv_ptr.eigrp_tlv_general_parm->holdtime), in eigrp_print() 319 tlv_ptr.eigrp_tlv_general_parm->k1, in eigrp_print() 320 tlv_ptr.eigrp_tlv_general_parm->k2, in eigrp_print() 321 tlv_ptr.eigrp_tlv_general_parm->k3, in eigrp_print() 322 tlv_ptr.eigrp_tlv_general_parm->k4, in eigrp_print() 323 tlv_ptr.eigrp_tlv_general_parm->k5)); in eigrp_print() [all …]
|
D | print-lspping.c | 508 } tlv_ptr; in lspping_print() local 891 tlv_ptr.lspping_tlv_downstream_map= \ in lspping_print() 899 EXTRACT_16BITS(tlv_ptr.lspping_tlv_downstream_map->mtu), in lspping_print() 902 tlv_ptr.lspping_tlv_downstream_map->address_type), in lspping_print() 903 tlv_ptr.lspping_tlv_downstream_map->address_type)); in lspping_print() 905 switch(tlv_ptr.lspping_tlv_downstream_map->address_type) { in lspping_print() 917 tlv_ptr.lspping_tlv_downstream_map_ipv4= \ in lspping_print() 921 ipaddr_string(ndo, tlv_ptr.lspping_tlv_downstream_map_ipv4->downstream_ip), in lspping_print() 922 … ipaddr_string(ndo, tlv_ptr.lspping_tlv_downstream_map_ipv4->downstream_interface))); in lspping_print() 936 tlv_ptr.lspping_tlv_downstream_map_ipv4_unmb= \ in lspping_print() [all …]
|
D | print-slow.c | 362 } tlv_ptr; in slow_marker_lacp_print() local 416 … tlv_ptr.lacp_tlv_actor_partner_info = (const struct lacp_tlv_actor_partner_info_t *)tlv_tptr; in slow_marker_lacp_print() 420 etheraddr_string(ndo, tlv_ptr.lacp_tlv_actor_partner_info->sys), in slow_marker_lacp_print() 421 EXTRACT_16BITS(tlv_ptr.lacp_tlv_actor_partner_info->sys_pri), in slow_marker_lacp_print() 422 EXTRACT_16BITS(tlv_ptr.lacp_tlv_actor_partner_info->key), in slow_marker_lacp_print() 423 EXTRACT_16BITS(tlv_ptr.lacp_tlv_actor_partner_info->port), in slow_marker_lacp_print() 424 EXTRACT_16BITS(tlv_ptr.lacp_tlv_actor_partner_info->port_pri), in slow_marker_lacp_print() 427 tlv_ptr.lacp_tlv_actor_partner_info->state))); in slow_marker_lacp_print() 439 tlv_ptr.lacp_tlv_collector_info = (const struct lacp_tlv_collector_info_t *)tlv_tptr; in slow_marker_lacp_print() 442 EXTRACT_16BITS(tlv_ptr.lacp_tlv_collector_info->max_delay))); in slow_marker_lacp_print() [all …]
|
D | print-cfm.c | 276 const uint8_t *tptr, *tlv_ptr; in cfm_print() local 554 tlv_ptr = tptr; in cfm_print() 750 print_unknown_data(ndo, tlv_ptr, "\n\t ", cfm_tlv_len); in cfm_print()
|
/external/kernel-headers/original/uapi/linux/ |
D | tipc_config.h | 303 struct tlv_desc *tlv_ptr; in TLV_SET() local 307 tlv_ptr = (struct tlv_desc *)tlv; in TLV_SET() 308 tlv_ptr->tlv_type = htons(type); in TLV_SET() 309 tlv_ptr->tlv_len = htons(tlv_len); in TLV_SET() 311 memcpy(TLV_DATA(tlv_ptr), data, len); in TLV_SET() 312 memset((char *)TLV_DATA(tlv_ptr) + len, 0, TLV_SPACE(len) - tlv_len); in TLV_SET() 323 struct tlv_desc *tlv_ptr; /* ptr to current TLV */ member 330 list->tlv_ptr = (struct tlv_desc *)data; in TLV_LIST_INIT() 341 return TLV_CHECK(list->tlv_ptr, list->tlv_space, exp_type); in TLV_LIST_CHECK() 346 return TLV_DATA(list->tlv_ptr); in TLV_LIST_DATA() [all …]
|