Lines Matching full: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
110 ai.src_port = &entry->ipv4.orig.src_port; in mtk_ppe_debugfs_foe_show()
111 ai.dest_port = &entry->ipv4.orig.dest_port; in mtk_ppe_debugfs_foe_show()
114 ai.src = &entry->ipv4.orig.src_ip; in mtk_ppe_debugfs_foe_show()
115 ai.dest = &entry->ipv4.orig.dest_ip; in mtk_ppe_debugfs_foe_show()
118 ai.src_port = &entry->ipv6.src_port; in mtk_ppe_debugfs_foe_show()
119 ai.dest_port = &entry->ipv6.dest_port; in mtk_ppe_debugfs_foe_show()
123 ai.src = &entry->ipv6.src_ip; in mtk_ppe_debugfs_foe_show()
124 ai.dest = &entry->ipv6.dest_ip; in mtk_ppe_debugfs_foe_show()
125 ai.ipv6 = true; in mtk_ppe_debugfs_foe_show()
130 mtk_print_addr_info(m, &ai); in mtk_ppe_debugfs_foe_show()
135 ai.src_port = &entry->ipv4.new.src_port; in mtk_ppe_debugfs_foe_show()
136 ai.dest_port = &entry->ipv4.new.dest_port; in mtk_ppe_debugfs_foe_show()
139 ai.src = &entry->ipv4.new.src_ip; in mtk_ppe_debugfs_foe_show()
140 ai.dest = &entry->ipv4.new.dest_ip; in mtk_ppe_debugfs_foe_show()
142 mtk_print_addr_info(m, &ai); in mtk_ppe_debugfs_foe_show()