Lines Matching refs:cp
696 const u_char *cp, u_int len) in of10_bsn_message_print() argument
703 subtype = GET_BE_U_4(cp); in of10_bsn_message_print()
722 ND_PRINT(", index %u", GET_U_1(cp)); in of10_bsn_message_print()
726 ND_TCHECK_7(cp); in of10_bsn_message_print()
744 ND_PRINT(", index %u", GET_U_1(cp)); in of10_bsn_message_print()
749 ND_PRINT(", mask %s", GET_IPADDR_STRING(cp)); in of10_bsn_message_print()
767 tok2str(bsn_onoff_str, "bogus (%u)", GET_U_1(cp))); in of10_bsn_message_print()
771 ND_TCHECK_3(cp); in of10_bsn_message_print()
801 ND_PRINT(", vport_no %u", GET_BE_U_4(cp)); in of10_bsn_message_print()
818 ND_PRINT(", service %u", GET_BE_U_4(cp)); in of10_bsn_message_print()
822 (void)nd_printn(ndo, cp, len, NULL); in of10_bsn_message_print()
839 (void)nd_printn(ndo, cp, len, NULL); in of10_bsn_message_print()
855 ND_PRINT(", status 0x%08x", GET_BE_U_4(cp)); in of10_bsn_message_print()
858 ND_TCHECK_LEN(cp, len); in of10_bsn_message_print()
864 ND_TCHECK_LEN(cp, len); in of10_bsn_message_print()
869 const u_char *cp, u_int len) in of10_bsn_actions_print() argument
876 subtype = GET_BE_U_4(cp); in of10_bsn_actions_print()
897 ND_PRINT(", dest_port %u", GET_BE_U_4(cp)); in of10_bsn_actions_print()
900 vlan_tag = GET_BE_U_4(cp); in of10_bsn_actions_print()
914 tok2str(bsn_mirror_copy_stage_str, "unknown (%u)", GET_U_1(cp))); in of10_bsn_actions_print()
918 ND_TCHECK_3(cp); in of10_bsn_actions_print()
921 ND_TCHECK_LEN(cp, len); in of10_bsn_actions_print()
927 ND_TCHECK_LEN(cp, len); in of10_bsn_actions_print()
932 const u_char *cp, u_int len) in of10_vendor_action_print() argument
939 vendor = GET_BE_U_4(cp); in of10_vendor_action_print()
946 decoder(ndo, cp, len); in of10_vendor_action_print()
951 ND_TCHECK_LEN(cp, len); in of10_vendor_action_print()
957 const u_char *cp, u_int len) in of10_vendor_message_print() argument
963 vendor = GET_BE_U_4(cp); in of10_vendor_message_print()
970 decoder(ndo, cp, len); in of10_vendor_message_print()
976 const u_char *cp, u_int len) in of10_vendor_data_print() argument
982 vendor = GET_BE_U_4(cp); in of10_vendor_data_print()
986 of_data_print(ndo, cp, len); in of10_vendor_data_print()
991 ND_TCHECK_LEN(cp, len); in of10_vendor_data_print()
996 const u_char *cp, const u_int len) in of10_packet_data_print() argument
1003 ND_TCHECK_LEN(cp, len); in of10_packet_data_print()
1017 ndo->ndo_snapend = ND_MIN(cp + len, ndo->ndo_snapend); in of10_packet_data_print()
1018 ether_print(ndo, cp, len, ND_BYTES_AVAILABLE_AFTER(cp), NULL, NULL); in of10_packet_data_print()
1026 const u_char *cp) in of10_phy_port_print() argument
1032 tok2str(ofpp_str, "%u", GET_BE_U_2(cp))); in of10_phy_port_print()
1033 cp += 2; in of10_phy_port_print()
1035 ND_PRINT(", hw_addr %s", GET_ETHERADDR_STRING(cp)); in of10_phy_port_print()
1036 cp += MAC_ADDR_LEN; in of10_phy_port_print()
1039 nd_printjnp(ndo, cp, OFP_MAX_PORT_NAME_LEN); in of10_phy_port_print()
1041 cp += OFP_MAX_PORT_NAME_LEN; in of10_phy_port_print()
1044 ND_TCHECK_LEN(cp, 24); in of10_phy_port_print()
1048 ND_PRINT("\n\t config 0x%08x", GET_BE_U_4(cp)); in of10_phy_port_print()
1049 of_bitmap_print(ndo, ofppc_bm, GET_BE_U_4(cp), OFPPC_U); in of10_phy_port_print()
1050 cp += 4; in of10_phy_port_print()
1052 state = GET_BE_U_4(cp); in of10_phy_port_print()
1062 cp += 4; in of10_phy_port_print()
1064 ND_PRINT("\n\t curr 0x%08x", GET_BE_U_4(cp)); in of10_phy_port_print()
1065 of_bitmap_print(ndo, ofppf_bm, GET_BE_U_4(cp), OFPPF_U); in of10_phy_port_print()
1066 cp += 4; in of10_phy_port_print()
1068 ND_PRINT("\n\t advertised 0x%08x", GET_BE_U_4(cp)); in of10_phy_port_print()
1069 of_bitmap_print(ndo, ofppf_bm, GET_BE_U_4(cp), OFPPF_U); in of10_phy_port_print()
1070 cp += 4; in of10_phy_port_print()
1072 ND_PRINT("\n\t supported 0x%08x", GET_BE_U_4(cp)); in of10_phy_port_print()
1073 of_bitmap_print(ndo, ofppf_bm, GET_BE_U_4(cp), OFPPF_U); in of10_phy_port_print()
1074 cp += 4; in of10_phy_port_print()
1076 ND_PRINT("\n\t peer 0x%08x", GET_BE_U_4(cp)); in of10_phy_port_print()
1077 of_bitmap_print(ndo, ofppf_bm, GET_BE_U_4(cp), OFPPF_U); in of10_phy_port_print()
1083 const u_char *cp, u_int len) in of10_queue_props_print() argument
1092 property = GET_BE_U_2(cp); in of10_queue_props_print()
1096 plen = GET_BE_U_2(cp); in of10_queue_props_print()
1129 uint16_t rate = GET_BE_U_2(cp); in of10_queue_props_print()
1144 ND_TCHECK_LEN(cp, len); in of10_queue_props_print()
1150 const u_char *cp, u_int len) in of10_queues_print() argument
1158 ND_PRINT(" queue_id %u", GET_BE_U_4(cp)); in of10_queues_print()
1161 desclen = GET_BE_U_2(cp); in of10_queues_print()
1171 of10_queue_props_print(ndo, cp, desclen - OF_PACKET_QUEUE_MINLEN); in of10_queues_print()
1173 ND_TCHECK_LEN(cp, desclen - OF_PACKET_QUEUE_MINLEN); in of10_queues_print()
1180 ND_TCHECK_LEN(cp, len); in of10_queues_print()
1186 const char *pfx, const u_char *cp) in of10_match_print() argument
1195 wildcards = GET_BE_U_4(cp); in of10_match_print()
1198 cp += 4; in of10_match_print()
1202 tok2str(ofpp_str, "%u", GET_BE_U_2(cp))); in of10_match_print()
1203 cp += 2; in of10_match_print()
1206 ND_PRINT("%smatch dl_src %s", pfx, GET_ETHERADDR_STRING(cp)); in of10_match_print()
1207 cp += MAC_ADDR_LEN; in of10_match_print()
1210 ND_PRINT("%smatch dl_dst %s", pfx, GET_ETHERADDR_STRING(cp)); in of10_match_print()
1211 cp += MAC_ADDR_LEN; in of10_match_print()
1214 ND_PRINT("%smatch dl_vlan %s", pfx, vlan_str(GET_BE_U_2(cp))); in of10_match_print()
1215 cp += 2; in of10_match_print()
1218 ND_PRINT("%smatch dl_vlan_pcp %s", pfx, pcp_str(GET_U_1(cp))); in of10_match_print()
1219 cp += 1; in of10_match_print()
1221 cp += 1; in of10_match_print()
1223 dl_type = GET_BE_U_2(cp); in of10_match_print()
1224 cp += 2; in of10_match_print()
1229 ND_PRINT("%smatch nw_tos 0x%02x", pfx, GET_U_1(cp)); in of10_match_print()
1230 cp += 1; in of10_match_print()
1232 nw_proto = GET_U_1(cp); in of10_match_print()
1233 cp += 1; in of10_match_print()
1240 cp += 2; in of10_match_print()
1244 ND_PRINT("%smatch nw_src %s/%u", pfx, GET_IPADDR_STRING(cp), 32 - nw_bits); in of10_match_print()
1245 cp += 4; in of10_match_print()
1249 ND_PRINT("%smatch nw_dst %s/%u", pfx, GET_IPADDR_STRING(cp), 32 - nw_bits); in of10_match_print()
1250 cp += 4; in of10_match_print()
1256 ND_PRINT("%smatch %s %u", pfx, field_name, GET_BE_U_2(cp)); in of10_match_print()
1258 cp += 2; in of10_match_print()
1265 ND_PRINT("%smatch %s %u", pfx, field_name, GET_BE_U_2(cp)); in of10_match_print()
1267 ND_TCHECK_2(cp); in of10_match_print()
1273 const char *pfx, const u_char *cp, u_int len) in of10_actions_print() argument
1282 type = GET_BE_U_2(cp); in of10_actions_print()
1286 alen = GET_BE_U_2(cp); in of10_actions_print()
1343 output_port = GET_BE_U_2(cp); in of10_actions_print()
1348 ND_PRINT(", max_len %u", GET_BE_U_2(cp)); in of10_actions_print()
1350 ND_TCHECK_2(cp); in of10_actions_print()
1355 ND_PRINT(", vlan_vid %s", vlan_str(GET_BE_U_2(cp))); in of10_actions_print()
1363 ND_PRINT(", vlan_pcp %s", pcp_str(GET_U_1(cp))); in of10_actions_print()
1372 ND_PRINT(", dl_addr %s", GET_ETHERADDR_STRING(cp)); in of10_actions_print()
1381 ND_PRINT(", nw_addr %s", GET_IPADDR_STRING(cp)); in of10_actions_print()
1386 ND_PRINT(", nw_tos 0x%02x", GET_U_1(cp)); in of10_actions_print()
1395 ND_PRINT(", tp_port %u", GET_BE_U_2(cp)); in of10_actions_print()
1404 tok2str(ofpp_str, "%u", GET_BE_U_2(cp))); in of10_actions_print()
1410 tok2str(ofpq_str, "%u", GET_BE_U_4(cp))); in of10_actions_print()
1414 of10_vendor_action_print(ndo, cp, alen - 4); in of10_actions_print()
1428 ND_TCHECK_LEN(cp, len); in of10_actions_print()
1434 const u_char *cp, u_int len) in of10_features_reply_print() argument
1437 ND_PRINT("\n\t dpid 0x%016" PRIx64, GET_BE_U_8(cp)); in of10_features_reply_print()
1440 ND_PRINT(", n_buffers %u", GET_BE_U_4(cp)); in of10_features_reply_print()
1443 ND_PRINT(", n_tables %u", GET_U_1(cp)); in of10_features_reply_print()
1448 ND_PRINT("\n\t capabilities 0x%08x", GET_BE_U_4(cp)); in of10_features_reply_print()
1449 of_bitmap_print(ndo, ofp_capabilities_bm, GET_BE_U_4(cp), OFPCAP_U); in of10_features_reply_print()
1452 ND_PRINT("\n\t actions 0x%08x", GET_BE_U_4(cp)); in of10_features_reply_print()
1453 of_bitmap_print(ndo, ofpat_bm, GET_BE_U_4(cp), OFPAT_U); in of10_features_reply_print()
1458 of10_phy_port_print(ndo, cp); in of10_features_reply_print()
1465 ND_TCHECK_LEN(cp, len); in of10_features_reply_print()
1471 const u_char *cp, u_int len _U_) in of10_switch_config_msg_print() argument
1475 tok2str(ofp_config_str, "invalid (0x%04x)", GET_BE_U_2(cp))); in of10_switch_config_msg_print()
1476 cp += 2; in of10_switch_config_msg_print()
1478 ND_PRINT(", miss_send_len %u", GET_BE_U_2(cp)); in of10_switch_config_msg_print()
1484 const u_char *cp, u_int len) in of10_flow_mod_print() argument
1489 of10_match_print(ndo, "\n\t ", cp); in of10_flow_mod_print()
1492 ND_PRINT("\n\t cookie 0x%016" PRIx64, GET_BE_U_8(cp)); in of10_flow_mod_print()
1495 command = GET_BE_U_2(cp); in of10_flow_mod_print()
1499 if (GET_BE_U_2(cp)) in of10_flow_mod_print()
1500 ND_PRINT(", idle_timeout %u", GET_BE_U_2(cp)); in of10_flow_mod_print()
1503 if (GET_BE_U_2(cp)) in of10_flow_mod_print()
1504 ND_PRINT(", hard_timeout %u", GET_BE_U_2(cp)); in of10_flow_mod_print()
1507 if (GET_BE_U_2(cp)) in of10_flow_mod_print()
1508 ND_PRINT(", priority %u", GET_BE_U_2(cp)); in of10_flow_mod_print()
1514 tok2str(bufferid_str, "0x%08x", GET_BE_U_4(cp))); in of10_flow_mod_print()
1519 tok2str(ofpp_str, "%u", GET_BE_U_2(cp))); in of10_flow_mod_print()
1522 ND_PRINT(", flags 0x%04x", GET_BE_U_2(cp)); in of10_flow_mod_print()
1523 of_bitmap_print(ndo, ofpff_bm, GET_BE_U_2(cp), OFPFF_U); in of10_flow_mod_print()
1526 of10_actions_print(ndo, "\n\t ", cp, len); in of10_flow_mod_print()
1532 const u_char *cp, u_int len _U_) in of10_port_mod_print() argument
1535 ND_PRINT("\n\t port_no %s", tok2str(ofpp_str, "%u", GET_BE_U_2(cp))); in of10_port_mod_print()
1536 cp += 2; in of10_port_mod_print()
1538 ND_PRINT(", hw_addr %s", GET_ETHERADDR_STRING(cp)); in of10_port_mod_print()
1539 cp += MAC_ADDR_LEN; in of10_port_mod_print()
1541 ND_PRINT("\n\t config 0x%08x", GET_BE_U_4(cp)); in of10_port_mod_print()
1542 of_bitmap_print(ndo, ofppc_bm, GET_BE_U_4(cp), OFPPC_U); in of10_port_mod_print()
1543 cp += 4; in of10_port_mod_print()
1545 ND_PRINT("\n\t mask 0x%08x", GET_BE_U_4(cp)); in of10_port_mod_print()
1546 of_bitmap_print(ndo, ofppc_bm, GET_BE_U_4(cp), OFPPC_U); in of10_port_mod_print()
1547 cp += 4; in of10_port_mod_print()
1549 ND_PRINT("\n\t advertise 0x%08x", GET_BE_U_4(cp)); in of10_port_mod_print()
1550 of_bitmap_print(ndo, ofppf_bm, GET_BE_U_4(cp), OFPPF_U); in of10_port_mod_print()
1551 cp += 4; in of10_port_mod_print()
1554 ND_TCHECK_4(cp); in of10_port_mod_print()
1560 const u_char *cp, u_int len _U_) in of10_queue_get_config_request_print() argument
1563 ND_PRINT("\n\t port %s", tok2str(ofpp_str, "%u", GET_BE_U_2(cp))); in of10_queue_get_config_request_print()
1564 cp += 2; in of10_queue_get_config_request_print()
1567 ND_TCHECK_2(cp); in of10_queue_get_config_request_print()
1573 const u_char *cp, u_int len) in of10_queue_get_config_reply_print() argument
1576 ND_PRINT("\n\t port %s", tok2str(ofpp_str, "%u", GET_BE_U_2(cp))); in of10_queue_get_config_reply_print()
1582 of10_queues_print(ndo, cp, len); in of10_queue_get_config_reply_print()
1588 const u_char *cp, u_int len) in of10_stats_request_print() argument
1593 type = GET_BE_U_2(cp); in of10_stats_request_print()
1597 ND_PRINT(", flags 0x%04x", GET_BE_U_2(cp)); in of10_stats_request_print()
1598 if (GET_BE_U_2(cp)) in of10_stats_request_print()
1611 of10_match_print(ndo, "\n\t ", cp); in of10_stats_request_print()
1615 tok2str(tableid_str, "%u", GET_U_1(cp))); in of10_stats_request_print()
1621 tok2str(ofpp_str, "%u", GET_BE_U_2(cp))); in of10_stats_request_print()
1627 tok2str(ofpp_str, "%u", GET_BE_U_2(cp))); in of10_stats_request_print()
1637 tok2str(ofpp_str, "%u", GET_BE_U_2(cp))); in of10_stats_request_print()
1643 tok2str(ofpq_str, "%u", GET_BE_U_4(cp))); in of10_stats_request_print()
1646 of10_vendor_data_print(ndo, cp, len); in of10_stats_request_print()
1653 ND_TCHECK_LEN(cp, len); in of10_stats_request_print()
1659 const u_char *cp, u_int len) in of10_desc_stats_reply_print() argument
1665 nd_printjnp(ndo, cp, DESC_STR_LEN); in of10_desc_stats_reply_print()
1670 nd_printjnp(ndo, cp, DESC_STR_LEN); in of10_desc_stats_reply_print()
1675 nd_printjnp(ndo, cp, DESC_STR_LEN); in of10_desc_stats_reply_print()
1680 nd_printjnp(ndo, cp, SERIAL_NUM_LEN); in of10_desc_stats_reply_print()
1685 nd_printjnp(ndo, cp, DESC_STR_LEN); in of10_desc_stats_reply_print()
1691 ND_TCHECK_LEN(cp, len); in of10_desc_stats_reply_print()
1697 const u_char *cp, u_int len) in of10_flow_stats_reply_print() argument
1705 entry_len = GET_BE_U_2(cp); in of10_flow_stats_reply_print()
1712 tok2str(tableid_str, "%u", GET_U_1(cp))); in of10_flow_stats_reply_print()
1717 of10_match_print(ndo, "\n\t ", cp); in of10_flow_stats_reply_print()
1720 ND_PRINT("\n\t duration_sec %u", GET_BE_U_4(cp)); in of10_flow_stats_reply_print()
1723 ND_PRINT(", duration_nsec %u", GET_BE_U_4(cp)); in of10_flow_stats_reply_print()
1726 ND_PRINT(", priority %u", GET_BE_U_2(cp)); in of10_flow_stats_reply_print()
1729 ND_PRINT(", idle_timeout %u", GET_BE_U_2(cp)); in of10_flow_stats_reply_print()
1732 ND_PRINT(", hard_timeout %u", GET_BE_U_2(cp)); in of10_flow_stats_reply_print()
1737 ND_PRINT(", cookie 0x%016" PRIx64, GET_BE_U_8(cp)); in of10_flow_stats_reply_print()
1740 ND_PRINT(", packet_count %" PRIu64, GET_BE_U_8(cp)); in of10_flow_stats_reply_print()
1743 ND_PRINT(", byte_count %" PRIu64, GET_BE_U_8(cp)); in of10_flow_stats_reply_print()
1746 of10_actions_print(ndo, "\n\t ", cp, entry_len - OF_FLOW_STATS_REPLY_MINLEN); in of10_flow_stats_reply_print()
1753 ND_TCHECK_LEN(cp, len); in of10_flow_stats_reply_print()
1759 const u_char *cp, u_int len) in of10_aggregate_stats_reply_print() argument
1764 ND_PRINT(" packet_count %" PRIu64, GET_BE_U_8(cp)); in of10_aggregate_stats_reply_print()
1767 ND_PRINT(", byte_count %" PRIu64, GET_BE_U_8(cp)); in of10_aggregate_stats_reply_print()
1770 ND_PRINT(", flow_count %u", GET_BE_U_4(cp)); in of10_aggregate_stats_reply_print()
1774 ND_TCHECK_4(cp); in of10_aggregate_stats_reply_print()
1779 ND_TCHECK_LEN(cp, len); in of10_aggregate_stats_reply_print()
1785 const u_char *cp, u_int len) in of10_table_stats_reply_print() argument
1792 tok2str(tableid_str, "%u", GET_U_1(cp))); in of10_table_stats_reply_print()
1798 nd_printjnp(ndo, cp, OFP_MAX_TABLE_NAME_LEN); in of10_table_stats_reply_print()
1802 ND_PRINT("\n\t wildcards 0x%08x", GET_BE_U_4(cp)); in of10_table_stats_reply_print()
1803 of_bitmap_print(ndo, ofpfw_bm, GET_BE_U_4(cp), OFPFW_U); in of10_table_stats_reply_print()
1806 ND_PRINT("\n\t max_entries %u", GET_BE_U_4(cp)); in of10_table_stats_reply_print()
1809 ND_PRINT(", active_count %u", GET_BE_U_4(cp)); in of10_table_stats_reply_print()
1812 ND_PRINT(", lookup_count %" PRIu64, GET_BE_U_8(cp)); in of10_table_stats_reply_print()
1815 ND_PRINT(", matched_count %" PRIu64, GET_BE_U_8(cp)); in of10_table_stats_reply_print()
1822 ND_TCHECK_LEN(cp, len); in of10_table_stats_reply_print()
1828 const u_char *cp, u_int len) in of10_port_stats_reply_print() argument
1835 tok2str(ofpp_str, "%u", GET_BE_U_2(cp))); in of10_port_stats_reply_print()
1844 ND_PRINT(", rx_packets %" PRIu64, GET_BE_U_8(cp)); in of10_port_stats_reply_print()
1847 ND_PRINT(", tx_packets %" PRIu64, GET_BE_U_8(cp)); in of10_port_stats_reply_print()
1850 ND_PRINT(", rx_bytes %" PRIu64, GET_BE_U_8(cp)); in of10_port_stats_reply_print()
1853 ND_PRINT(", tx_bytes %" PRIu64, GET_BE_U_8(cp)); in of10_port_stats_reply_print()
1856 ND_PRINT(", rx_dropped %" PRIu64, GET_BE_U_8(cp)); in of10_port_stats_reply_print()
1859 ND_PRINT(", tx_dropped %" PRIu64, GET_BE_U_8(cp)); in of10_port_stats_reply_print()
1862 ND_PRINT(", rx_errors %" PRIu64, GET_BE_U_8(cp)); in of10_port_stats_reply_print()
1865 ND_PRINT(", tx_errors %" PRIu64, GET_BE_U_8(cp)); in of10_port_stats_reply_print()
1868 ND_PRINT(", rx_frame_err %" PRIu64, GET_BE_U_8(cp)); in of10_port_stats_reply_print()
1871 ND_PRINT(", rx_over_err %" PRIu64, GET_BE_U_8(cp)); in of10_port_stats_reply_print()
1874 ND_PRINT(", rx_crc_err %" PRIu64, GET_BE_U_8(cp)); in of10_port_stats_reply_print()
1877 ND_PRINT(", collisions %" PRIu64, GET_BE_U_8(cp)); in of10_port_stats_reply_print()
1884 ND_TCHECK_LEN(cp, len); in of10_port_stats_reply_print()
1890 const u_char *cp, u_int len) in of10_queue_stats_reply_print() argument
1897 tok2str(ofpp_str, "%u", GET_BE_U_2(cp))); in of10_queue_stats_reply_print()
1902 ND_PRINT(", queue_id %u", GET_BE_U_4(cp)); in of10_queue_stats_reply_print()
1905 ND_PRINT(", tx_bytes %" PRIu64, GET_BE_U_8(cp)); in of10_queue_stats_reply_print()
1908 ND_PRINT(", tx_packets %" PRIu64, GET_BE_U_8(cp)); in of10_queue_stats_reply_print()
1911 ND_PRINT(", tx_errors %" PRIu64, GET_BE_U_8(cp)); in of10_queue_stats_reply_print()
1918 ND_TCHECK_LEN(cp, len); in of10_queue_stats_reply_print()
1924 const u_char *cp, u_int len) in of10_stats_reply_print() argument
1929 type = GET_BE_U_2(cp); in of10_stats_reply_print()
1933 ND_PRINT(", flags 0x%04x", GET_BE_U_2(cp)); in of10_stats_reply_print()
1934 of_bitmap_print(ndo, ofpsf_reply_bm, GET_BE_U_2(cp), OFPSF_REPLY_U); in of10_stats_reply_print()
1948 decoder(ndo, cp, len); in of10_stats_reply_print()
1952 ND_TCHECK_LEN(cp, len); in of10_stats_reply_print()
1958 const u_char *cp, u_int len) in of10_packet_out_print() argument
1963 ND_PRINT("\n\t buffer_id 0x%08x", GET_BE_U_4(cp)); in of10_packet_out_print()
1966 ND_PRINT(", in_port %s", tok2str(ofpp_str, "%u", GET_BE_U_2(cp))); in of10_packet_out_print()
1969 actions_len = GET_BE_U_2(cp); in of10_packet_out_print()
1974 of10_actions_print(ndo, "\n\t ", cp, actions_len); in of10_packet_out_print()
1977 of10_packet_data_print(ndo, cp, len); in of10_packet_out_print()
1982 ND_TCHECK_LEN(cp, len); in of10_packet_out_print()
1988 const u_char *cp, u_int len) in of10_packet_in_print() argument
1992 tok2str(bufferid_str, "0x%08x", GET_BE_U_4(cp))); in of10_packet_in_print()
1995 ND_PRINT(", total_len %u", GET_BE_U_2(cp)); in of10_packet_in_print()
1998 ND_PRINT(", in_port %s", tok2str(ofpp_str, "%u", GET_BE_U_2(cp))); in of10_packet_in_print()
2002 tok2str(ofpr_str, "invalid (0x%02x)", GET_U_1(cp))); in of10_packet_in_print()
2008 of10_packet_data_print(ndo, cp, len); in of10_packet_in_print()
2014 const u_char *cp, u_int len _U_) in of10_flow_removed_print() argument
2017 of10_match_print(ndo, "\n\t ", cp); in of10_flow_removed_print()
2018 cp += OF_MATCH_FIXLEN; in of10_flow_removed_print()
2020 ND_PRINT("\n\t cookie 0x%016" PRIx64, GET_BE_U_8(cp)); in of10_flow_removed_print()
2021 cp += 8; in of10_flow_removed_print()
2023 if (GET_BE_U_2(cp)) in of10_flow_removed_print()
2024 ND_PRINT(", priority %u", GET_BE_U_2(cp)); in of10_flow_removed_print()
2025 cp += 2; in of10_flow_removed_print()
2028 tok2str(ofprr_str, "unknown (0x%02x)", GET_U_1(cp))); in of10_flow_removed_print()
2029 cp += 1; in of10_flow_removed_print()
2031 cp += 1; in of10_flow_removed_print()
2033 ND_PRINT(", duration_sec %u", GET_BE_U_4(cp)); in of10_flow_removed_print()
2034 cp += 4; in of10_flow_removed_print()
2036 ND_PRINT(", duration_nsec %u", GET_BE_U_4(cp)); in of10_flow_removed_print()
2037 cp += 4; in of10_flow_removed_print()
2039 if (GET_BE_U_2(cp)) in of10_flow_removed_print()
2040 ND_PRINT(", idle_timeout %u", GET_BE_U_2(cp)); in of10_flow_removed_print()
2041 cp += 2; in of10_flow_removed_print()
2043 cp += 2; in of10_flow_removed_print()
2045 ND_PRINT(", packet_count %" PRIu64, GET_BE_U_8(cp)); in of10_flow_removed_print()
2046 cp += 8; in of10_flow_removed_print()
2048 ND_PRINT(", byte_count %" PRIu64, GET_BE_U_8(cp)); in of10_flow_removed_print()
2054 const u_char *cp, u_int len _U_) in of10_port_status_print() argument
2058 tok2str(ofppr_str, "invalid (0x%02x)", GET_U_1(cp))); in of10_port_status_print()
2059 cp += 1; in of10_port_status_print()
2062 cp += 7; in of10_port_status_print()
2064 of10_phy_port_print(ndo, cp); in of10_port_status_print()
2070 const u_char *cp, u_int len) in of10_error_print() argument
2076 type = GET_BE_U_2(cp); in of10_error_print()
2080 code = GET_BE_U_2(cp); in of10_error_print()
2089 of_data_print(ndo, cp, len); in of10_error_print()