Lines Matching refs:ai

65 mtk_print_addr_info(struct seq_file *m, struct mtk_flow_addr_info *ai)  in mtk_print_addr_info()  argument
67 mtk_print_addr(m, ai->src, ai->ipv6); in mtk_print_addr_info()
68 if (ai->src_port) in mtk_print_addr_info()
69 seq_printf(m, ":%d", *ai->src_port); in mtk_print_addr_info()
71 mtk_print_addr(m, ai->dest, ai->ipv6); in mtk_print_addr_info()
72 if (ai->dest_port) in mtk_print_addr_info()
73 seq_printf(m, ":%d", *ai->dest_port); in mtk_print_addr_info()
85 struct mtk_flow_addr_info ai = {}; in mtk_ppe_debugfs_foe_show() local
107 ai.src_port = &entry->ipv4.orig.src_port; in mtk_ppe_debugfs_foe_show()
108 ai.dest_port = &entry->ipv4.orig.dest_port; in mtk_ppe_debugfs_foe_show()
111 ai.src = &entry->ipv4.orig.src_ip; in mtk_ppe_debugfs_foe_show()
112 ai.dest = &entry->ipv4.orig.dest_ip; in mtk_ppe_debugfs_foe_show()
115 ai.src_port = &entry->ipv6.src_port; in mtk_ppe_debugfs_foe_show()
116 ai.dest_port = &entry->ipv6.dest_port; in mtk_ppe_debugfs_foe_show()
120 ai.src = &entry->ipv6.src_ip; in mtk_ppe_debugfs_foe_show()
121 ai.dest = &entry->ipv6.dest_ip; in mtk_ppe_debugfs_foe_show()
122 ai.ipv6 = true; in mtk_ppe_debugfs_foe_show()
127 mtk_print_addr_info(m, &ai); in mtk_ppe_debugfs_foe_show()
132 ai.src_port = &entry->ipv4.new.src_port; in mtk_ppe_debugfs_foe_show()
133 ai.dest_port = &entry->ipv4.new.dest_port; in mtk_ppe_debugfs_foe_show()
136 ai.src = &entry->ipv4.new.src_ip; in mtk_ppe_debugfs_foe_show()
137 ai.dest = &entry->ipv4.new.dest_ip; in mtk_ppe_debugfs_foe_show()
139 mtk_print_addr_info(m, &ai); in mtk_ppe_debugfs_foe_show()