Lines Matching full:ai
64 mtk_print_addr_info(struct seq_file *m, struct mtk_flow_addr_info *ai) in mtk_print_addr_info() argument
66 mtk_print_addr(m, ai->src, ai->ipv6); in mtk_print_addr_info()
67 if (ai->src_port) in mtk_print_addr_info()
68 seq_printf(m, ":%d", *ai->src_port); in mtk_print_addr_info()
70 mtk_print_addr(m, ai->dest, ai->ipv6); in mtk_print_addr_info()
71 if (ai->dest_port) in mtk_print_addr_info()
72 seq_printf(m, ":%d", *ai->dest_port); in mtk_print_addr_info()
84 struct mtk_flow_addr_info ai = {}; in mtk_ppe_debugfs_foe_show() local
109 ai.src_port = &entry->ipv4.orig.src_port; in mtk_ppe_debugfs_foe_show()
110 ai.dest_port = &entry->ipv4.orig.dest_port; in mtk_ppe_debugfs_foe_show()
113 ai.src = &entry->ipv4.orig.src_ip; in mtk_ppe_debugfs_foe_show()
114 ai.dest = &entry->ipv4.orig.dest_ip; in mtk_ppe_debugfs_foe_show()
117 ai.src_port = &entry->ipv6.src_port; in mtk_ppe_debugfs_foe_show()
118 ai.dest_port = &entry->ipv6.dest_port; in mtk_ppe_debugfs_foe_show()
122 ai.src = &entry->ipv6.src_ip; in mtk_ppe_debugfs_foe_show()
123 ai.dest = &entry->ipv6.dest_ip; in mtk_ppe_debugfs_foe_show()
124 ai.ipv6 = true; in mtk_ppe_debugfs_foe_show()
129 mtk_print_addr_info(m, &ai); in mtk_ppe_debugfs_foe_show()
134 ai.src_port = &entry->ipv4.new.src_port; in mtk_ppe_debugfs_foe_show()
135 ai.dest_port = &entry->ipv4.new.dest_port; in mtk_ppe_debugfs_foe_show()
138 ai.src = &entry->ipv4.new.src_ip; in mtk_ppe_debugfs_foe_show()
139 ai.dest = &entry->ipv4.new.dest_ip; in mtk_ppe_debugfs_foe_show()
141 mtk_print_addr_info(m, &ai); in mtk_ppe_debugfs_foe_show()